What this is, and isn’t
This is arithmetic. It turns a calorie target and a split into grams, so you can see what a plan looks like on a plate. It isn’t personal nutrition advice, and no single split is best for everyone. People eat well on quite different splits.
For context, the National Academies give adults these ranges, as a share of calories: protein 10 to 35%, carbohydrate 45 to 65%, and fat 20 to 35%. If your split falls outside them, the calculator mentions it, without telling you it’s wrong.
How it’s calculated
Each macro’s share of calories is divided by the calories in a gram of it, using the general Atwater factors:
A kilojoule target is converted to calories first (1 calorie = 4.184 kJ). Grams are rounded to whole grams, so the three may add back to a few calories more or less than your target. Alcohol and fiber are left out to keep it simple.
Worked example
A 2,000-calorie target, split 20% protein, 50% carbs and 30% fat, over 3 meals:
- Protein: 2,000 × 20% = 400 calories ÷ 4 = 100 g a day, about 33 g a meal.
- Carbs: 2,000 × 50% = 1,000 calories ÷ 4 = 250 g a day, about 83 g a meal.
- Fat: 2,000 × 30% = 600 calories ÷ 9 = 67 g a day, about 22 g a meal.
Sources
More on how all four calculators work, and their limits: Calculator methodology.