Macronutrient calculator
The calories, protein, fat and carbs you get for your goal, with no account and no connection.
What this page works out
The calculator estimates daily expenditure with Mifflin-St Jeor and splits those calories into three blocks: protein, fat and carbs. It first works out basal expenditure from weight, height, age and sex, then multiplies by an activity factor from 1.2 to 1.9. Then it applies the goal: maintenance keeps the daily expenditure, volume adds 10% and definition removes 20% with a 500 kcal cap.
The split follows one simple rule. Protein is calculated per kilo of weight: 1.8 g on maintenance and volume, 2.2 g on definition. Fat stays at 0.8 g per kilo. Carbs take the calories that remain, because they are the most flexible block. Each gram of protein or carbs gives 4 kcal; each gram of fat gives 9.
The result is a starting point, not a menu. Two diets with the same calories and the same protein can split fat and carbs differently and work just as well. What moves the needle most is total calories and enough protein; the rest follows taste, schedule and training.
Protein and carbs together explains how to share both groups across meals and why the order matters less than the daily total.
The formula and its variables
The first step is daily expenditure. Mifflin-St Jeor uses weight in kilos, height in centimetres, age in years and sex: 10 × weight + 6.25 × height − 5 × age, plus 5 for men or minus 161 for women. For 80 kg, 180 cm and 30 years the basal rate is 1780 kcal; with moderate activity (× 1.55) daily expenditure is 2759 kcal.
The second step is the split. Protein and fat are calculated per kilo of weight and carbs take the rest: (calories − protein × 4 − fat × 9) / 4. The calculator rounds grams to the nearest whole number, so the three blocks can add up to one or two kcal off the total.
Calories = TDEE × goal · Protein = weight × 1.8–2.2 g · Fat = weight × 0.8 g · Carbs = (calories − protein × 4 − fat × 9) / 4
- weight: body weight in kilos. Protein and fat are calculated per kilo.
- height, age and sex: feed the Mifflin-St Jeor equation.
- activity: multiplies the basal rate from 1.2 (sedentary) to 1.9 (very active).
- goal: maintenance keeps the TDEE; volume multiplies it by 1.1; definition removes 20% with a 500 kcal cap.
- 1.8–2.2 g/kg: protein by goal, with 2.2 g on definition.
- 0.8 g/kg: fat guide; the remaining calories go to carbs.
- Unit check: 80 kg, 180 cm, 30 years, male, moderate activity and maintenance give 2759 kcal, 144 g of protein, 64 g of fat and 402 g of carbs.
A worked example
Take the example on the page: 80 kg, 180 cm, 30 years, male, moderate activity and maintenance. Daily expenditure is 2759 kcal. Protein is 80 × 1.8 = 144 g, fat is 80 × 0.8 = 64 g, and carbs are (2759 − 576 − 576) / 4 = 402 g.
With the same profile on definition, 20% of 2759 is 552 kcal, but the cap keeps it at 500: the goal drops to 2259 kcal. Protein rises to 2.2 g per kilo, 176 g, and fat stays at 64. Carbs fall to (2259 − 704 − 576) / 4 = 245 g.
On volume, the 10% takes calories to 3035. Protein returns to 144 g and fat to 64; carbs rise to (3035 − 576 − 576) / 4 = 471 g. One last case: 60 kg, 165 cm, 35 years, female, light activity and definition give 1781 kcal of expenditure, 1425 kcal as the goal, 132 g of protein, 48 g of fat and 116 g of carbs.
Maintenance, deficit and surplus
All three goals start from the same daily expenditure in the example, 2759 kcal. Calories and protein change; fat stays the same because it is calculated per kilo.
| Goal | Calories | Protein | When it helps | Where it fails |
|---|---|---|---|---|
| Maintenance | 2759 kcal | 144 g | When weight and performance are already where you want them. | It does not adapt: if your routine changes, the number goes stale. |
| Definition | 2259 kcal | 176 g | To lose fat slowly while keeping strength. | The 500 kcal cap can be too little at high expenditure and too much at low. |
| Volume | 3035 kcal | 144 g | To gain weight with room to train. | A 10% surplus adds up fast if real expenditure is lower. |
Frequently asked questions
Is protein calculated on total weight or lean mass?
On total weight, which is what the calculator does. For people with a lot of body fat that overestimates the protein needed; in that case calculate on a sensible goal weight. The difference is not dangerous, but it can make the diet more expensive and less comfortable.
Can I change the split if I prefer more fat or more carbs?
Yes. Keep protein and the fat minimum and move the rest. A gram of fat gives 9 kcal and a gram of carbs 4, so swapping 20 g of fat for 45 g of carbs keeps calories almost the same. The split matters less than the total and the protein.
Why does definition use more protein than volume?
Because in a deficit the body has less energy and loses muscle more easily. Evidence puts protein at 2.2 g per kilo as a reasonable margin for keeping mass. On volume, 1.8 g per kilo is usually enough and leaves more calories for carbs.
What if the carbs come out negative?
The calculator keeps them at zero. It happens when protein and fat already exceed the goal calories, which is possible on very low deficits with high body weight. In that case raise calories, lower fat to 0.6 g per kilo, or rethink the goal with professional help.
Should I add the calories I burn in training?
No. The activity level already includes the week of training. Adding each session on top counts the same work twice and usually leads to overeating. If frequency or duration changes, adjust the activity level instead.
When it does not apply
- It does not pick foods or times: it splits calories, it does not build a menu.
- Protein per kilo of total weight overestimates for people with a lot of body fat.
- It is not a substitute for medical advice in pregnancy, breastfeeding, kidney disease or eating disorders.
- Daily expenditure is a population estimate: the real number can differ by hundreds of kcal.