Macro calculator

Macros, short for macronutrients, are protein, carbohydrate and fat, which supply most of the calories you eat. This turns a daily calorie target and a split you choose into grams of each. It does the arithmetic; it doesn’t pick the target or the split for you.

Who this is for, and who it isn’t

For

  • Anyone with a calorie target in mind who wants it in grams
  • Comparing different splits side by side

Not for

  • Choosing a calorie target: start with the TDEE calculator
  • Medical diets, such as for diabetes or kidney disease, which need a dietitian
  • Pregnancy or breastfeeding
Energy units
Your own target, or one from the TDEE calculator.calories
Split, as % of calories
%
%
%

Grams a day

Enter your daily target to see it in grams. It updates as you type.

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:

grams of protein = target × protein % ÷ 4 grams of carbs = target × carbs % ÷ 4 grams of fat = target × fat % ÷ 9

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:

  1. Protein: 2,000 × 20% = 400 calories ÷ 4 = 100 g a day, about 33 g a meal.
  2. Carbs: 2,000 × 50% = 1,000 calories ÷ 4 = 250 g a day, about 83 g a meal.
  3. Fat: 2,000 × 30% = 600 calories ÷ 9 = 67 g a day, about 22 g a meal.

Sources

  1. National Academies. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids, 2005 (Acceptable Macronutrient Distribution Ranges).
  2. FAO. Food energy: methods of analysis and conversion factors. Food and Nutrition Paper 77, 2003.