Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Macro Calculator

Turn estimated maintenance calories into daily grams of protein, fat and carbohydrate from your age, sex, height, weight, activity and chosen percentages.

Macro Calculator

Mifflin-St Jeor equation sex
years
cm
kg
%
%
Estimated maintenance calories
2,720.25
Estimated daily energy needed to keep your weight steady, in kilocalories per day: Mifflin-St Jeor resting energy times the activity factor.
Protein target
204.0188g/day
Fat target
90.675g/day
Carbohydrate remainder
272.025g/day

Background.

Counting macros means tracking where your calories come from, not just how many there are: grams of protein, fat and carbohydrate each day. A target takes two steps, and both happen on this page. First you need an estimate of the energy you burn in a day; then that total is shared out among the three macronutrients in proportions you pick.

The energy estimate starts with the Mifflin-St Jeor equation, published in 1990, which predicts resting energy expenditure from weight, height, age and sex. Multiplying it by an activity factor gives maintenance calories, roughly what you would eat to hold your weight steady. The factor is 1.2 for a mostly seated day, and 1.55 is the figure conventionally used for moderate exercise three to five days a week.

Sharing out is where units start to matter. Protein and carbohydrate supply about 4 kcal per gram and fat about 9, so the same 30% of calories buys fewer than half as many grams of fat as of protein. You set the protein and fat percentages; carbohydrate takes whatever is left.

Because percentages scale with total calories, they can hide big numbers. A 30% protein share sounds moderate, yet for a moderately active 80 kg man it comes to about 204 g a day, 2.55 g for every kilogram of body weight and more than three times the 0.8 g/kg recommended dietary allowance for adults. If you think about protein per kilogram, check the gram figure, not the percentage.

The targets are for maintenance. No deficit for weight loss or surplus for gaining is applied, alcohol is not counted, and fibre is treated like any other carbohydrate even though it yields less energy. Conditions such as kidney disease or diabetes change what a sensible split looks like, and that is a conversation for a doctor or dietitian.

What is macro calculator?

Macronutrients are the three nutrients that supply most of the energy in food: protein, fat and carbohydrate. A macro target expresses a daily calorie budget as grams of each, using the standard energy values of 4 kcal per gram for protein and carbohydrate and 9 kcal per gram for fat. Here the budget is maintenance energy, the Mifflin-St Jeor resting estimate multiplied by an activity factor, and the carbohydrate target is whatever is left once the protein and fat shares are taken out.

How to use this calculator.

  1. Choose the male or female constant, then enter your age (18 to 100), height in centimetres and weight in kilograms. The sex setting changes only one constant in the resting-energy equation: +5 for male, −161 for female.
  2. Enter an activity factor: 1.2 if you mostly sit, 1.375 for light exercise one to three days a week, 1.55 for moderate exercise three to five days, 1.725 for hard exercise six or seven days. If in doubt, take the lower value, because the factor multiplies everything else.
  3. Enter the share of calories you want from protein and from fat. Together they cannot exceed 100%; carbohydrate receives the remainder automatically.
  4. Read maintenance calories and the three gram targets. Divide the protein grams by your weight to see what the percentage means per kilogram, and adjust the split if that looks too high or too low.

The formula.

Mifflin-St Jeor maintenance calories split at 4 kcal/g protein, 9 kcal/g fat and 4 kcal/g carbohydrate

Resting energy (kcal/day) = 10 × weight (kg) + 6.25 × height (cm) − 5 × age (years) + s, where s is +5 with the male constant and −161 with the female one. Maintenance calories = resting energy × activity factor. Protein grams = maintenance × protein% ÷ 4; fat grams = maintenance × fat% ÷ 9; carbohydrate grams = (maintenance − protein calories − fat calories) ÷ 4. Weight carries the largest coefficient: each extra kilogram adds 10 kcal of resting energy, or 15.5 kcal of maintenance at a 1.55 factor, and each extra year takes 5 away. The activity factor scales the whole answer, so moving from 1.55 to 1.725 raises maintenance by about 11%, typically a bigger shift than any likely error in height or age. The divisors 4, 9 and 4 are the Atwater energy factors.

A worked example.

Example

Take a 35-year-old man, 180 cm tall, weighing 80 kg, who exercises moderately (activity factor 1.55) and wants 30% of calories from protein and 30% from fat. Resting energy is 10 × 80 + 6.25 × 180 − 5 × 35 + 5 = 800 + 1,125 − 175 + 5 = 1,755 kcal. Maintenance is 1,755 × 1.55 = 2,720.25 kcal a day. Protein gets 30% of that, 816.075 kcal, which at 4 kcal per gram is 204.02 g. Fat gets the same 816.075 kcal, but at 9 kcal per gram that is only 90.68 g. The remaining 40%, 1,088.1 kcal, becomes 272.03 g of carbohydrate. Drop protein to 20% and the target falls to 136.01 g, about 1.7 g per kilogram, with the extra 10% moving to carbohydrate.

protein Percent30
fat Percent30
sexmale
height Cm180
activity Factor1.55
age35
weight Kg80

Frequently asked questions.

Why is my protein target so high?
Because it is a share of total calories, so it rises with your size and activity. At 30% of 2,720 kcal, an 80 kg man is given 204 g, or 2.55 g per kilogram. If you prefer to plan protein per kilogram, work out the grams you want and lower the percentage until the target matches.
How do I get macros for losing weight rather than maintaining it?
The page always splits maintenance calories. Subtract your chosen deficit from the maintenance figure yourself, then apply the same percentages to the smaller total. For example, 500 kcal below 2,720.25 leaves 2,220.25 kcal, and 30% of that as protein is about 166.5 g a day.
What split between protein, fat and carbohydrate is reasonable?
For adults, the US Dietary Reference Intakes set acceptable ranges of 10–35% of calories from protein, 20–35% from fat and 45–65% from carbohydrate. Athletes, people on low-carbohydrate diets and anyone managing a medical condition may use different splits; those are choices to make with a dietitian rather than here.
How much does choosing the female constant change the result?
It lowers resting energy by 166 kcal a day, the gap between +5 and −161, whatever your height, weight or age. After the activity factor that gap grows: at 1.55 it is 257.3 kcal of maintenance, so the same body measured with the female constant gets 2,462.95 kcal instead of 2,720.25.
How close will Mifflin-St Jeor be to my real calorie needs?
It is a population equation, so it describes an average person with your measurements. It does not know your body composition, and very muscular people or those with a lot of body fat can sit well away from it. Treat the figure as a starting point and adjust after a few weeks of tracking your weight.
Do alcohol and fibre count toward the macros?
Not separately. Alcohol supplies about 7 kcal per gram but has no slot in this split, so drinks eat into your budget without appearing in any target. Fibre is counted inside carbohydrate at 4 kcal per gram, although much of it is not fully digested and provides less energy than that.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
Mifflin-St Jeor maintenance calories split at 4 kcal/g protein, 9 kcal/g fat and 4 kcal/g carbohydrate
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon