About Macro Calculator
7 min read
Macro Calculator: Get Your Daily Protein, Carbs, and Fat Targets by Goal
TL;DR: Macros (macronutrients) are the three energy-providing nutrients your body uses daily: protein (4 kcal/g), carbohydrates (4 kcal/g), and fat (9 kcal/g). This calculator finds your TDEE using the Mifflin-St Jeor formula, applies a goal-based calorie adjustment, then splits that total into gram targets for each macronutrient based on validated distribution ranges for fat loss, maintenance, or muscle gain.
Table of Contents
- Calories Tell You How Much. Macros Tell You What.
- Eight Situations Where Macro Targets Outperform Calorie Counting Alone
- The Formula Behind the Numbers: TDEE, Atwater Factors, and Goal Splits
- How to Use the Calculator and Read Your Results
- Two Complete Macro Calculations, Start to Finish
- Six Macro Tracking Mistakes That Quietly Wreck Results
- FAQ
- Assumptions and Notes
- Once You Have Your Macros
- Further Reading
Calories Tell You How Much. Macros Tell You What.
You have finished setting your calorie target. Now the harder question: what should those calories actually be made of?
Macronutrients are the three nutrients that supply energy: protein, carbohydrates, and fat. Each gram of protein and carbohydrate delivers 4 kcal; each gram of fat delivers 9 kcal. The ratio in which you consume them shapes outcomes that total calorie intake cannot explain alone. Two people eating identical calories but different macro splits will see different rates of muscle retention during a deficit, different training energy, and different rates of satiety.
Protein is the most consequential variable. It provides the amino acids required for muscle protein synthesis, and at intakes above roughly 1.6 g per kg of body weight, it actively protects lean mass during a calorie deficit, a property neither carbohydrates nor fat share. Fat is required for hormone production and fat-soluble vitamin absorption. Carbohydrates are the primary fuel for high-intensity exercise and the main driver of muscle glycogen, which directly affects training performance and recovery.
A macro calculator takes your personal data, calculates your TDEE, adjusts it for your goal, and returns three gram targets. Plug in your numbers above and the results appear immediately.
Eight Situations Where Macro Targets Outperform Calorie Counting Alone
-
You are cutting calories but losing strength, not just fat. If protein intake is not specifically targeted, a standard calorie deficit often produces muscle loss alongside fat loss. Research shows that protein intakes of 1.6–2.4 g per kg of body weight preserve lean mass during a deficit. Without gram-level protein targets, most people eating "at a deficit" consume 0.8–1.0 g per kg, leaving 40–60% more muscle loss than necessary.
-
You are eating at maintenance but your body composition is slowly shifting unfavourably. Weight can stay completely stable for months while body fat is increasing and lean mass is decreasing. This happens when protein is too low (below 1.2 g per kg) and training stimulus is absent or declining. A macro target flags this imbalance immediately; a calorie target alone does not.
-
You have just increased training volume significantly and your recovery is poor. Athletes who increase weekly training volume by 30% or more often find performance drops within 2–3 weeks. Carbohydrate targets are frequently the cause: higher training volume requires more muscle glycogen, which requires more carbohydrates. A macro calculator sized to the new activity level recalibrates the carbohydrate target accordingly.
-
You are following a high-protein diet and want to confirm you are not inadvertently under-eating fat. Fat intake below approximately 20% of total calories suppresses testosterone and oestrogen production, impairing body composition and recovery. Many people eating high-protein, low-carb diets hit protein and calorie targets without realising fat has fallen to 15% or below. A macro target prevents this.
-
You are bulking and want to minimise fat gain alongside muscle gain. A clean lean bulk typically requires a surplus of 250–300 kcal above TDEE with high protein (2.0–2.4 g per kg of body weight) and moderate carbohydrates. Without specific macro targets, most people in a bulk overeat carbohydrates and fat while under-eating protein, producing a less favourable muscle-to-fat gain ratio.
-
You are preparing for an endurance event and need to ensure adequate carbohydrate fuelling. Endurance athletes burning 600–900 kcal per hour of exercise require carbohydrate intakes of 5–8 g per kg of body weight per day to sustain training quality. Simply eating "enough calories" at a low-carb ratio produces chronic under-fuelling of training sessions within 7–10 days.
-
You are switching from a very low-carb or ketogenic diet back to a standard split. Reintroducing carbohydrates without a specific gram target typically overshoots carbohydrates while protein falls below the maintenance threshold of 1.2 g per kg. A macro calculator for the transition period prevents both overshoot and the accompanying muscle loss signal.
-
You want to track whether a specific diet (IIFYM, Zone, Mediterranean) is actually meeting evidence-based macro ranges. Named diets prescribe food patterns, not always specific gram targets. Running your intake through a macro calculator confirms whether a given food pattern is actually delivering adequate protein (at least 1.2 g per kg for most adults) and staying within healthy fat ranges (20–35% of calories).
The Formula Behind the Numbers: TDEE, Atwater Factors, and Goal Splits
Your macro targets are built in three steps: calculate TDEE, apply a goal adjustment, then divide the resulting calorie total into gram targets.
Step 1: Mifflin-St Jeor BMR
Male: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age + 5
Female: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age − 161
Step 2: TDEE
TDEE = BMR × activity_multiplier
(Sedentary 1.200 / Lightly Active 1.375 / Moderately Active 1.550 /
Very Active 1.725 / Extra Active 1.900)
Step 3: Goal-adjusted calorie target
Fat loss: TDEE − 300 to 500 kcal
Maintenance: TDEE
Muscle gain: TDEE + 250 to 300 kcal
Step 4: Macro gram targets (Atwater energy factors)
Protein = 4 kcal/g
Carbs = 4 kcal/g
Fat = 9 kcal/g
Evidence-Based Macro Split Ranges by Goal
| Goal | Protein | Carbohydrates | Fat |
|---|---|---|---|
| Fat loss | 30–40% of calories | 30–40% of calories | 20–30% of calories |
| Maintenance | 20–30% of calories | 45–55% of calories | 25–35% of calories |
| Muscle gain | 25–35% of calories | 45–55% of calories | 20–30% of calories |
| Endurance performance | 15–25% of calories | 55–65% of calories | 20–30% of calories |
Protein Target by Body Weight (Independent Reference)
| Goal | Protein per kg body weight | Equivalent for 75 kg person |
|---|---|---|
| Minimum (sedentary adult) | 0.8 g/kg | 60 g/day |
| General fitness maintenance | 1.2–1.6 g/kg | 90–120 g/day |
| Fat loss, preserving lean mass | 1.6–2.2 g/kg | 120–165 g/day |
| Muscle gain with resistance training | 1.8–2.4 g/kg | 135–180 g/day |
| Very lean athletes in calorie deficit | 2.2–3.1 g/kg | 165–233 g/day |
Individual variation affects macro response. People with higher insulin sensitivity tend to partition carbohydrates more efficiently into muscle glycogen, while those with lower insulin sensitivity may see better body composition outcomes from a slightly lower carbohydrate and higher fat distribution. Genetic variants in fat oxidation rates mean that two people at identical calorie deficits and identical macro splits can have meaningfully different rates of fat loss. The ranges above are evidence-based population targets; fine-tuning over 4–6 weeks of tracking is often needed to find the individual optimum.
The main limitation of percentage-based macro targets is that they scale automatically with total calories, which can produce inadequate gram totals at very low calorie intakes. At 1,200 kcal, 30% protein is only 90 g, which may be below the 1.6 g/kg threshold for a 70 kg person. Always cross-reference the percentage output against the gram-per-kg protein table above.
How to Use the Calculator and Read Your Results
-
Enter your current weight, height, and age. Use morning measurements for weight; height barefoot. The formula needs your current body stats, not your target. The goal adjustment happens in the next step.
-
Select your activity level honestly. The multiplier is the single variable most likely to be overstated. Most people who go to the gym 3 days per week are "Lightly Active" to "Moderately Active," not "Very Active." When unsure, select one level lower.
-
Choose your goal: fat loss, maintenance, or muscle gain. The calculator applies a standardised calorie adjustment. For fat loss, the default deficit is 400–500 kcal. For muscle gain, the default surplus is 250–300 kcal (a lean bulk rather than an aggressive surplus).
-
Read your total calorie target first. Before looking at macro grams, confirm the calorie total is within a safe and realistic range (above 1,200 kcal for women, above 1,500 kcal for men, and not more than 500 kcal below or above your TDEE without specific reason).
-
Record your three macro gram targets. Protein in grams is the most important figure. Cross-reference it against the protein-per-kg table: if it falls below 1.2 g/kg for fat loss or 1.6 g/kg for muscle gain, increase the protein percentage manually and reduce carbohydrates to compensate.
-
Set a tracking method before the first day. Macro tracking requires weighing food rather than estimating portions. The difference between 30 g of peanut butter measured and 30 g poured from the jar is 50–80 kcal. Choose a food-tracking app that shows macro grams, not just calories.
-
Schedule a recalculation in 4–6 weeks. As body weight changes, all three macro gram targets change with it. A 4 kg fat loss reduces the protein target by approximately 6–10 g and the total calorie target by 40–80 kcal. Neither adjustment is large, but compounded over months they matter.
Non-obvious insight: Hitting calorie targets within 5% daily is more important than hitting individual macro targets exactly. If protein is 5 g below target on a given day, that is not a problem. If protein is consistently 20–30 g below target every day for two weeks, that is 280–420 g of cumulative protein missed, enough to meaningfully slow muscle retention during a deficit.
Two Complete Macro Calculations, Start to Finish
Example 1: Parent with Limited Training Time, Female, Age 42
Sandra trains 3 days per week with 45-minute strength sessions around her children's school schedule. She is 168 cm, weighs 72 kg, and wants to lose approximately 5 kg of fat over the next 12–16 weeks.
BMR (Mifflin-St Jeor, female):
= 10 × 72 + 6.25 × 168 − 5 × 42 − 161
= 720 + 1050 − 210 − 161
= 1,399 kcal
TDEE (Lightly Active, 1.375):
= 1,399 × 1.375 = 1,923 kcal
Fat loss target (−450 kcal deficit):
= 1,923 − 450 = 1,473 kcal
Macro split (fat loss: 35% protein / 35% carbs / 30% fat):
Protein: 1,473 × 0.35 / 4 = 129 g
Carbs: 1,473 × 0.35 / 4 = 129 g
Fat: 1,473 × 0.30 / 9 = 49 g
| Macro | Calories | Grams/Day |
|---|---|---|
| Protein | 516 kcal | 129 g |
| Carbohydrates | 516 kcal | 129 g |
| Fat | 441 kcal | 49 g |
| Total | 1,473 kcal |
Sandra's protein target of 129 g equals 1.79 g per kg of body weight, well above the 1.6 g/kg minimum for lean-mass preservation during a deficit. Her actionable plan: prioritise hitting 129 g protein daily, treat the carbohydrate and fat targets as secondary guides, and track for 3 weeks before assessing progress. Expected fat loss rate: approximately 0.4 kg per week.
Example 2: Experienced Male Lifter in a Lean Bulk, Age 31
James has trained consistently for 4 years and wants to gain lean muscle with minimal fat accumulation over a 16-week off-season block. He is 180 cm, weighs 82 kg, and trains 5 days per week at high intensity.
BMR (Mifflin-St Jeor, male):
= 10 × 82 + 6.25 × 180 − 5 × 31 + 5
= 820 + 1125 − 155 + 5
= 1,795 kcal
TDEE (Very Active, 1.725):
= 1,795 × 1.725 = 3,096 kcal
Lean bulk target (+275 kcal surplus):
= 3,096 + 275 = 3,371 kcal
Macro split (muscle gain: 30% protein / 50% carbs / 20% fat):
Protein: 3,371 × 0.30 / 4 = 253 g
Carbs: 3,371 × 0.50 / 4 = 421 g
Fat: 3,371 × 0.20 / 9 = 75 g
| Macro | Calories | Grams/Day |
|---|---|---|
| Protein | 1,012 kcal | 253 g |
| Carbohydrates | 1,686 kcal | 421 g |
| Fat | 674 kcal | 75 g |
| Total | 3,372 kcal |
James's protein target of 253 g equals 3.09 g per kg — above the standard recommendation. For an experienced lifter in a surplus, some researchers suggest the upper end of benefit is around 2.4 g/kg, meaning his protein could be reduced to 197 g and the remaining 224 kcal redistributed to carbohydrates (56 g more) without any loss of anabolic benefit. His actionable priority: hit the carbohydrate target consistently to support training performance, as glycogen availability at his volume is the limiting factor, not protein.
Six Macro Tracking Mistakes That Quietly Wreck Results
Treating protein as a percentage target rather than a gram-per-kg floor. Percentage-based protein targets drop as calories drop. At a 1,300 kcal fat loss target, 30% protein is 97 g, which is below the 1.6 g/kg minimum for a 70 kg person trying to retain muscle. Always verify the gram output against your body weight: 1.6–2.2 g of protein per kilogram is the functional target for anyone in a deficit, regardless of what the percentage produces.
Using eyeballed portion sizes for high-calorie-density foods. A self-poured tablespoon of olive oil typically contains 20–25 ml (180–225 kcal) rather than the standard 15 ml (135 kcal). Over a week, two daily tablespoons of oil measured by eye versus by scale accumulates a 630–1,260 kcal surplus. For foods above 200 kcal per 100 g (oils, nuts, butter, nut butter, cheese) a digital kitchen scale eliminates this error entirely.
Recalculating macros at a goal weight before reaching it. Some apps and calculators let users input their target weight, which produces a TDEE based on a body that does not yet exist. A 90 kg person calculating macros at their 75 kg target weight underestimates their TDEE by approximately 150–200 kcal, which converts to a deficit 150–200 kcal larger than intended and can push intake below safe minimums. Use current weight for all calculations until the goal weight is reached.
Skipping the fat minimum because protein is high. Fat intakes below 20% of total calories suppress sex hormone production after approximately 3–4 weeks. In practice, this appears as reduced training energy, slower recovery, and for men, measurably lower testosterone. At a 1,500 kcal target, 20% fat is 33 g per day, a figure that is easy to accidentally fall below if protein targets dominate meal planning. Set a fat floor of 0.5–0.7 g per kg of body weight as a gram-based minimum.
Logging macros after eating rather than planning them before. Retrospective logging catches errors but does not prevent them. Logging in arrears after a day of inconsistent eating creates a record but does not produce the behaviour change needed to consistently hit targets. Pre-logging the next day's meals the evening before takes 5–10 minutes and improves daily adherence by 20–30% in most structured studies on food tracking compliance.
Carrying the same macro targets through the entire diet without adjusting for weight change. Every 5 kg of body weight lost reduces the protein gram target by approximately 8–12 g, the carbohydrate target by 15–25 g, and the fat target by 5–10 g at standard split ratios. After a 10 kg fat loss, the unadjusted original targets overshoot the new maintenance by 40–80 kcal per day and produce a calorie balance closer to maintenance than the intended deficit. Recalculate at every 4–5 kg of weight change.
Assumptions and Notes
- Margin of error: The Mifflin-St Jeor formula predicts TDEE within 10% for approximately 80% of healthy adults. Individual metabolic variation of up to 15% above or below the formula output is possible due to thyroid function, mitochondrial efficiency, and genetic differences in metabolic rate. If tracked intake at the calculated macro targets produces no expected change after 4 weeks of accurate logging, adjust the calorie total by 100–150 kcal and recalculate macros proportionally.
- Professional disclaimer: The macro targets produced by this calculator are estimates based on validated population equations and evidence-based distribution ranges. They are for planning and informational purposes only and do not constitute nutritional or medical advice. People with eating disorder history, renal conditions (where high protein intake requires monitoring), diabetes, or medically supervised dietary requirements should work with a registered dietitian before applying any macro target.
Once You Have Your Macros
Sandra's 129 g protein target gave her a specific floor to build meals around. James's 421 g carbohydrate target confirmed that his training volume genuinely requires high carbohydrate intake, a figure many experienced lifters underestimate.
The gram targets are the output. What happens next is the 4–6 weeks of consistent tracking that confirms whether the formula matches your individual metabolism. The calculation takes a minute. The honest tracking is the hard part.
Run the calculator above and record your three gram targets now.