Keto Macro Calculator
A keto meal plan often starts with percentages, while food labels show grams. Working out how those numbers fit together can make daily planning easier. This keto macro calculator converts a calorie target into grams of carbohydrate, protein, and fat. Enter a daily calorie amount you already have, adjust the carbohydrate and protein shares, and the calculator assigns the remaining calories to fat. The starting split is an example you can change. Use the results to understand the arithmetic and discuss your plan with a registered dietitian, rather than treating the numbers as a personalised diet prescription.
How to use the keto macro calculator
- Enter your daily calorie target in kcal. The calculator accepts more than zero and up to 10,000 kcal. These are software limits, not recommended intake limits.
- Enter the percentage of calories assigned to carbohydrate.
- Enter the percentage assigned to protein. Carbohydrate and protein together cannot exceed 100%.
- Read your daily grams and the remaining fat percentage. Results update when the inputs are valid. Missing or invalid inputs replace the results with an explanation.
The default is 2,000 kcal, with 5% carbohydrate, 20% protein, and 75% fat. It is a starting example, not an estimate of your energy needs. You do not need to enter body measurements or select a country because this tool uses kcal, percentages, and grams throughout.
What counts as a keto split?
There is no single macro split that guarantees ketosis. Popular keto plans often allocate around 70% to 80% of calories to fat, 5% to 10% to carbohydrate, and 10% to 20% to protein. Individual targets vary. This tool allows other percentage combinations so you can compare the arithmetic.
A note appears if carbohydrate exceeds 10% of calories, fat is below 70%, or calculated carbohydrate exceeds 50 g per day. These are broad planning markers, not a test for ketosis or a medical assessment. A low percentage can still produce a larger gram amount when the calorie target rises.
How the formula works
First, fat percentage = 100 - carbohydrate percentage - protein percentage. The calculator then allocates calories to each macro and converts that energy into grams:
- Carbohydrate grams = daily kcal x carbohydrate percentage / 100 / 4.
- Protein grams = daily kcal x protein percentage / 100 / 4.
- Fat grams = daily kcal x fat percentage / 100 / 9.
The calculation uses the general energy factors of 4 kcal per gram for carbohydrate and protein and 9 kcal per gram for fat. Calculations retain full precision. Displayed grams are rounded to one decimal, so converting rounded grams back to calories may give a small difference.
Example: 2,000 kcal with a 5/20/75 split
- Carbohydrate receives 100 kcal: 100 / 4 = 25.0 g per day.
- Protein receives 400 kcal: 400 / 4 = 100.0 g per day.
- Fat receives the remaining 1,500 kcal: 1,500 / 9 = 166.7 g per day after rounding.
The energy shares total 2,000 kcal before rounding. At the same calorie target, changing carbohydrate to 10% and protein to 25% leaves 65% for fat. That gives 50.0 g carbohydrate, 125.0 g protein, and 144.4 g fat. The calculator flags that split because fat is below its broad keto planning marker.
Carbohydrate targets and food labels
This is a simplified energy-allocation calculator. It does not calculate net carbs, analyse food, or subtract fibre or sugar alcohols. Food-label conventions vary across the US, UK, and Canada, so the carbohydrate result should not be treated as a universal net-carb allowance. The general 4 kcal/g conversion also does not reproduce every food-label energy calculation. Follow a consistent counting method agreed with your dietitian when translating a target into meals.
When to seek individual advice
This educational tool is intended for generally healthy adults. It does not design a therapeutic ketogenic diet, assess food quality, or predict weight change. It is not intended for children, pregnancy, breastfeeding, or medical nutrition treatment.
Speak with a qualified clinician or registered dietitian before starting keto, especially if you have diabetes or kidney disease or take glucose-lowering medicines. Carbohydrate restriction can affect medication needs. SGLT2 inhibitors raise particular concerns about ketoacidosis with restricted-carbohydrate diets. Do not change prescribed medication based on these results.
Plan with context
Use a calorie target that is appropriate for your circumstances, then compare how different percentages change daily grams. Keep the distinction between energy shares and food weight in mind. A registered dietitian can help turn those numbers into a practical eating plan that also considers fibre, food variety, and your health needs.
