Nutrition
How to Calculate Macros: Step-by-Step Guide and Example
Calculating macros takes four steps: estimate your BMR, apply your activity level, adjust for your goal, then split calories into protein, fat and carbs.
Key takeaways
- To calculate macros, set your calories first (BMR x activity x goal), then convert them into grams of protein, fat and carbs.
- Protein is 2.0 g/kg in a deficit and 1.8 g/kg at maintenance or in a surplus; fat is about 0.9 g/kg.
- Carbs are whatever calories remain after protein and fat, divided by 4.
- Your first calculation is a starting point: adjust it after 2 to 3 weeks using your real weight trend.
To calculate your macros, first work out how many calories you need per day for your goal, then convert those calories into grams of protein, fat and carbohydrate. It takes four steps and about five minutes. The hard part is not the maths, it is adjusting the result with real data afterwards.
This guide uses the same method as the EgoGym macro calculator, so you can follow the numbers by hand and check them.
What macros are and why they matter
Macronutrients are protein, carbohydrate and fat. Each provides a different amount of energy:
- Protein: 4 kcal per gram.
- Carbohydrate: 4 kcal per gram.
- Fat: 9 kcal per gram.
Total calories decide whether you lose, maintain or gain weight. Macros decide what that weight is made of. Enough protein plus strength training protects or builds muscle, while enough carbs and fat support training quality, hormones and fullness.
Step 1: estimate your BMR
Your basal metabolic rate (BMR) is the energy your body uses at rest. The Mifflin-St Jeor equation is one of the best validated for adults:
- Men: 10 x weight (kg) + 6.25 x height (cm) − 5 x age + 5
- Women: 10 x weight (kg) + 6.25 x height (cm) − 5 x age − 161
It is an estimate, not a measurement. It can be off by around 10 % either way for any individual, which is why the final step (adjusting with data) is not optional.
Step 2: multiply by your activity level
Total daily energy expenditure (TDEE) is your BMR times an activity factor:
| Activity level | Factor |
|---|---|
| Sedentary (little or no exercise) | 1.2 |
| Light (1 to 3 days per week) | 1.375 |
| Moderate (3 to 5 days per week) | 1.55 |
| High (6 to 7 days per week) | 1.725 |
| Very high (physical job plus training) | 1.9 |
The usual mistake is picking a level that is too high. If you hesitate between two, choose the lower one.
Step 3: adjust calories for your goal
Apply a percentage to your TDEE:
- Fat loss: −20 %.
- Maintenance: 0 %.
- Muscle gain: +10 %.
A 20 % deficit is large enough to show progress and small enough to keep training well without constant hunger. Our guide to the calorie deficit explains how to choose its size.
Step 4: split calories into protein, fat and carbs
Order matters. Set protein and fat first, then calculate carbs from what is left.
- Protein: 2.0 g per kg in a deficit; 1.8 g per kg at maintenance or in a surplus.
- Fat: 0.9 g per kg. Try not to go below about 0.6 g per kg.
- Carbs: (target calories − protein kcal − fat kcal) ÷ 4.
For the reasoning behind the protein number, see how much protein per day you actually need.
Worked example: how to calculate macros for weight loss
Man, 80 kg (176 lb), 178 cm, 30 years old, moderate activity, goal of fat loss.
| Step | Calculation | Result |
|---|---|---|
| BMR | 10 x 80 + 6.25 x 178 − 5 x 30 + 5 = 800 + 1,112.5 − 150 + 5 | 1,767.5 ≈ 1,768 kcal |
| TDEE | 1,767.5 x 1.55 | 2,739.6 ≈ 2,740 kcal |
| Target calories | 2,739.6 x 0.80 | 2,191.7 ≈ 2,192 kcal |
| Protein | 2.0 x 80 = 160 g x 4 | 640 kcal |
| Fat | 0.9 x 80 = 72 g x 9 | 648 kcal |
| Carbs | (2,192 − 640 − 648) ÷ 4 = 904 ÷ 4 | 226 g |
Daily result: about 2,192 kcal with 160 g protein, 72 g fat and 226 g carbs. Check: 640 + 648 + 904 = 2,192 kcal.
The same person, calculating macros for muscle gain
Take 2,739.6 x 1.10 ≈ 3,014 kcal. Protein at 1.8 g/kg is 144 g (576 kcal), fat is 72 g (648 kcal), and carbs come from (3,014 − 576 − 648) ÷ 4 = 1,790 ÷ 4 ≈ 448 g. The carb difference between the two goals is huge, and that energy is what fuels harder training. If you are undecided between the two paths, read bulk or cut.
How to split macros across meals
There is no magic distribution. What helps is a solid dose of protein in every meal, with carbs concentrated around training if that suits you.
With 4 meals, the example above looks roughly like this:
| Per meal (4 per day) | Approximate amount |
|---|---|
| Protein | 40 g |
| Fat | 18 g |
| Carbs | 56 g |
| Calories | 548 kcal |
With 3 or 5 meals, divide the daily totals by that number. Choose a frequency you can sustain: the daily total matters more than the exact split.
Practical tip: weigh your food raw for two weeks. It is not forever, but it calibrates your eye and removes the small ‘about right’ errors that add up.
How to adjust your macros after 2 to 3 weeks
Your calculation is a starting point, not the final answer. To adjust it:
- Weigh yourself every morning under the same conditions and take the weekly average.
- Compare the week 3 average with week 1.
- If you lose much faster than planned (over 1 % of body weight per week), add about 100 to 200 kcal, mostly from carbs.
- If nothing changes and you have tracked accurately, cut 100 to 200 kcal or add daily steps.
- When gaining, if you gain more than planned, trim; if nothing moves, add.
Before changing anything, check adherence. The most common cause of a stall is eating more than you think. An honest food log answers more questions than any formula.
Common mistakes when calculating macros
Most errors come from small decisions that look harmless:
- Choosing too high an activity level. Training four days a week does not make you ‘very high’ if you sit for the rest of the day. When in doubt, take the lower level.
- Cutting fat too low. Below about 0.6 g per kg you start compromising hormones and fullness with nothing to show for it.
- Changing the numbers every week. Body weight swings with water and salt. Wait 2 to 3 weeks before touching anything.
- Forgetting what you cannot see. Cooking oil, sauces, drinks and nibbles add up to more than you think.
- Mixing raw and cooked weights. Always weigh the same way: 100 g of raw rice and 100 g of cooked rice are very different things.
- Chasing laboratory precision. The equation has a margin of error of around 10 %. You do not need the exact gram, you need consistency.
If you are still deciding which direction to go, the guide to bulk or cut helps you pick a goal before you calculate.
When it helps to have support
Turning numbers into real plates is where many people get stuck. With EgoGym’s online nutrition coaching you get a personalised strategy with calories and macros per meal calculated to the gram, step-by-step recipes, a shopping list that adds itself up, and a carbohydrate equivalence engine to swap rice, pasta, potato or sweet potato while keeping the same carbs. Each week you complete a check-in and your coach adjusts the plan. Your progress is not guessed, it is measured.
Minors, pregnant people, anyone with a medical condition and anyone with a history of eating disorders should work with a healthcare professional before counting calories or macros.
To run the numbers right now, use the macro calculator. If you would rather have someone adjust them with you, see online nutrition coaching.
References
- Mifflin MD, St Jeor ST, Hill LA, et al. (1990). A new predictive equation for resting energy expenditure in healthy individuals. American Journal of Clinical Nutrition.
- Morton RW, Murphy KT, McKellar SR, et al. (2018). A systematic review, meta-analysis and meta-regression of the effect of protein supplementation on resistance training-induced gains in muscle mass and strength in healthy adults. British Journal of Sports Medicine.
- Helms ER, Aragon AA, Fitschen PJ (2014). Evidence-based recommendations for natural bodybuilding contest preparation: nutrition and supplementation. Journal of the International Society of Sports Nutrition.
This content is educational and does not replace advice from a healthcare professional. If you have an injury or a medical condition, talk to your doctor first.
FAQ
Frequently asked questions
How do I calculate macros for weight loss?
Estimate your daily energy expenditure, subtract 20 % to set your calories, then assign 2.0 g of protein and 0.9 g of fat per kg of body weight. Fill the remaining calories with carbs at 4 kcal per gram. Track your weight for 2 to 3 weeks and adjust.
How do I calculate macros for muscle gain?
Add about 10 % to your maintenance calories, set protein at 1.8 g per kg and fat at 0.9 g per kg, and put the remaining calories into carbs. A moderate surplus supports training performance while limiting how much fat you gain along the way.
Do I have to track macros forever?
No. Tracking is a tool for learning what your portions really look like. Many people track for a few months, internalise their usual meals and only go back to measuring when their goal changes, they start a different phase, or progress stalls for no clear reason.
How often should I recalculate my macros?
Review your weekly average body weight every 2 to 3 weeks. If it is not moving as planned, adjust by roughly 100 to 200 kcal. Recalculate from scratch when your weight changes by 3 to 5 kg or your activity level changes noticeably.
Nutrition