Guides

How is a starting calorie and macro target calculated?

By OnMacros editorialUpdated November 17, 20265 min read
How is a starting calorie and macro target calculated? title card

A starting target comes from four steps: estimate resting energy with the Mifflin St Jeor equation, multiply by an activity factor, split the calories into protein, carbs and fat, and round each macro to the nearest 5 g. It is a place to begin, which you then adjust from real days.

Step 1: resting energy

The equation was published in 1990 by Mifflin, St Jeor and colleagues in the American Journal of Clinical Nutrition. They measured resting energy expenditure by indirect calorimetry in 498 healthy people, 247 women and 251 men aged 19 to 78, including normal weight and obese individuals. Multiple regression on weight, height and age gave an equation that explained about 71 percent of the variation (R squared of 0.71).

The simplified version in the paper is:

  • Men: 10 times weight in kg, plus 6.25 times height in cm, minus 5 times age in years, plus 5
  • Women: 10 times weight in kg, plus 6.25 times height in cm, minus 5 times age in years, minus 161

OnMacros uses these constants. When a person does not give a sex, it uses the midpoint of the two constants, which is minus 78, so the estimate is not systematically high or low for either.

Example, a man of 30 who is 180 cm tall and weighs 80 kg: 800 plus 1,125 minus 150 plus 5 is 1,780 kcal. The engine returns 1,780.

Example, a woman of 30 who is 165 cm tall and weighs 62 kg: 620 plus 1,031.25 minus 150 minus 161 is about 1,340 kcal, which the engine also returns.

Step 2: activity

Resting energy is what the body uses lying still. A day with movement uses more. The usual practice is to multiply by an activity factor, and OnMacros uses five:

  • Sedentary: 1.2
  • Light: 1.375
  • Moderate: 1.55
  • Very active: 1.725
  • Extra active: 1.9

These multipliers are a common convention. The Mifflin paper does not supply them. They are a place where the estimate can be wrong for a given person, which is why the result is a start.

For the man above at moderate activity, 1,780 times 1.55 is about 2,759 kcal. For the woman, 1,340 times 1.55 is about 2,077 kcal. Same inputs, different activity, different answer:

  • The man at sedentary (1.2): 2,136 kcal before rounding
  • The man at moderate (1.55): 2,759 kcal
  • The man at very active (1.725): 3,071 kcal

Step 3: the macro split

Calories are one number. A target needs three. For the moderate protein style used in these examples, OnMacros does this:

  • Protein: 1.8 grams per kilogram of body weight for maintenance.
  • Fat: 25 percent of the calories, converted at 9 kcal per gram, and never below 0.6 grams per kilogram of body weight.
  • Carbs: the calories left once protein and fat are placed, at 4 kcal per gram.

There are other styles, including a lower protein, higher carb style and a keto style, each with its own protein and fat rules. They change the split, not the method.

For the man: protein is 1.8 times 80, or 144 g, fat is 25 percent of 2,759 kcal divided by 9, about 77 g, and carbs are the remaining calories divided by 4, about 373 g.

Step 4: rounding, then recomputing calories

Every gram value is rounded to the nearest 5. The man's numbers become 145 g protein, 375 g carbs and 75 g fat.

Then the calories are recomputed from the rounded grams with the Atwater factors: 4 kcal for each gram of protein or carbs and 9 for each gram of fat. The FAO describes this as the Atwater general factor system. The man's rounded macros give 580 plus 1,500 plus 675, or 2,755 kcal. That recomputed number is the one the card shows, so the grams and the calories can never disagree.

The result for each example, from the engine:

  • Man, 30, 180 cm, 80 kg, moderate: 145 g protein, 375 g carbs, 75 g fat, 2,755 kcal.
  • Woman, 30, 165 cm, 62 kg, moderate: 110 g protein, 280 g carbs, 60 g fat, 2,100 kcal.

The same man on the lower protein, higher carb style gets 2,740 kcal with 95 g protein, 455 g carbs and 60 g fat. The calories barely move. The mix does.

A cap on protein

For every style, protein is limited so that its calories cannot exceed 40 percent of the target. For most people on the moderate style the limit never binds. On a small calorie target with a high protein style it can, and the engine records when it did.

What the numbers are not

They are not measurements of you. They are an estimate built from an equation fitted to a group of healthy adults, plus conventions for activity and macro shares. People differ, and the best correction for a bad starting point is data. Log your days, compare what you eat with how the numbers behave, and adjust the target.

If you already have numbers from a coach or a spreadsheet, you can skip the equation. OnMacros keeps the calories and the protein you give it and builds the carbs and fat around them, rounded the same way.

Summary

  • Resting energy from Mifflin St Jeor, with a fixed constant for each sex.
  • Multiply by an activity factor to get daily energy.
  • Split into protein, carbs and fat by a style, then round to 5 g.
  • Recompute calories from the rounded grams.
  • Treat the result as a start and correct it with real days.

Questions

Is the result exact for me?

No. It is an estimate for a typical person with your height, weight, age and sex. Real days vary with sleep, training and appetite, and a given body can sit above or below the estimate.

Why round every macro to the nearest 5 g?

Because the planner works within a 5 g window, a target quoted to the gram would suggest precision the inputs do not have. Multiples of 5 are easier to read and to remember.

Can I overwrite the starting target?

Yes. If you or a coach already have calorie and protein numbers, you can set them directly and OnMacros builds the carbs and fat split around them instead of running the equation.

Sources

More guides