Health · calculator

Macro Calculator — IIFYM Calories & Macros Free

Calculate your daily calories, protein, carbs, and fat macros using the Mifflin-St Jeor formula. Set your goal — lose fat, maintain, or build muscle — free and accurate.

Macro Calculator

How to cite this page

APA
SolviqLab. (2026). Macro Calculator — Protein / Carbs / Fat Targets by Goal. Retrieved from https://solviqlab.com/en/calculators/macro-calculator
MLA
"Macro Calculator — Protein / Carbs / Fat Targets by Goal." SolviqLab, 2026, https://solviqlab.com/en/calculators/macro-calculator. Accessed 2026-11-04.
BibTeX
@misc{solviqlab_macro_calculator_2026,
  author       = {SolviqLab},
  title        = {Macro Calculator — Protein / Carbs / Fat Targets by Goal},
  year         = {2026},
  url          = {https://solviqlab.com/en/calculators/macro-calculator},
  note         = {Accessed: 2026-11-04}
}

Reviewed under our Editorial Policy.

How this compares to related metrics

MetricMeasuresBest forLimitation
Macros
you are here
protein / carb / fat targets in gramsbody-composition or performance goalsratios depend on training style and preference
Calorie Target
→
daily calories for a specific goalweight loss / maintenance / gain planningassumes activity level is reported honestly
TDEE
→
total daily calorie burn including activitydaily calorie budget for weight goalsactivity multipliers are self-reported estimates
BMR
→
calories burned at restbaseline daily calorie needexcludes activity — not a full daily target
Body Fat %
→
proportion of body mass that is fatbody composition beyond weight aloneestimation formulas vary by ± 3–5 %
</>
Embed this calculator on your site
Free to embed on any website. No registration required. The calculator stays updated automatically.

What is the Macro Calculator?

This macro calculator computes your personalized daily targets for protein, carbohydrates, and fat — the three macronutrients that provide all dietary energy. It uses the Mifflin-St Jeor equation (Mifflin MD et al., Am J Clin Nutr 1990;51(2):241-247, PMID 2305711) to calculate your Basal Metabolic Rate (BMR), then multiplies by an activity factor to estimate your Total Daily Energy Expenditure (TDEE). From there, the macro calculator applies a calorie adjustment based on your goal — fat loss, maintenance, or muscle gain — and distributes calories across macros using evidence-based protein targets from Phillips SM & Van Loon LJC (J Sports Sci 2011;29 Suppl 1:S29-38, PMID 22150425).

Read the full explanation

The approach is the foundation of IIFYM (If It Fits Your Macros) — a flexible, evidence-based nutrition framework used by competitive athletes, bodybuilders, and recreational gym-goers alike. Unlike restrictive diet plans, IIFYM focuses on meeting specific nutrient targets within your calorie budget rather than eliminating food categories. Multiple controlled feeding studies — Helms ER et al. J Int Soc Sports Nutr 2014;11:20 (PMID 24864135) and Longland TM et al. Am J Clin Nutr 2016;103(3):738-746 (PMID 26817506) — show that IIFYM-style tracking with elevated protein produces equivalent or superior body composition outcomes compared with fixed meal plans, with better long-term adherence and lower drop-out rates.

The calculator outputs your BMR (calories burned at rest), TDEE (total maintenance calories), goal-adjusted calorie target, and gram targets for protein, carbs, and fat — along with percentage breakdowns to visualize your macro split. All numbers are starting-point estimates: real adherence data over 2-3 weeks is the only reliable signal for whether to adjust up or down by 100-200 kcal, because Mifflin-St Jeor itself carries a ±10% SEE and non-exercise activity thermogenesis (NEAT) varies by ~1500 kcal between individuals of the same weight (Levine JA, Nat Rev Endocrinol 2007;3(1):9-10, PMID 17180018).

Use this macro calculator as your anchor; recalculate every 4-6 weeks or whenever your bodyweight moves by 3-5 kg, because BMR scales with weight and a static target drifts out of alignment as composition changes. Pair it with the TDEE calculator for a maintenance-only view, with the BMR calculator for the rested baseline, or with the body-fat calculator for a lean-mass check that sharpens the protein-per-kg target.

Macro Calculator Formula

Mifflin-St Jeor BMR (Source: Mifflin MD et al., Am J Clin Nutr 1990; PMID 2305711): Men: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age + 5 Women: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age − 161

TDEE = BMR × Activity Multiplier (Source: WHO Human Energy Requirements, FAO 2001): Sedentary: × 1.200 Light: × 1.375 Moderate: × 1.550 Active: × 1.725 Very Active: × 1.900

Goal Adjustment (Source: Hall KD, Int J Obes 2008;32(3):573-576, PMID 17848942): Lose Fat: TDEE × 0.80 (−20% deficit) Maintain: TDEE × 1.00 Build Muscle: TDEE × 1.10 (+10% surplus)

Macro Split (Source: Phillips SM & Van Loon LJC, J Sports Sci 2011; PMID 22150425): Protein: Lose Fat = 2.0 g/kg · Maintain = 1.6 g/kg · Build = 2.2 g/kg Fat: Lose Fat = 30% kcal · Maintain = 30% · Build = 25% Carbs: Remaining calories ÷ 4

The macro calculator rounds grams to the nearest integer and clamps carbs to zero when the deficit is severe enough that protein and fat already saturate the kcal budget — this is rare but can occur in very-low-calorie female fat-loss plans at high protein-per-kg.

Macro Calculator Example

Example 1 — Fat Loss: 30-year-old woman, 65 kg, 165 cm, moderately active (×1.55), goal: lose fat. BMR = 10×65 + 6.25×165 − 5×30 − 161 = 650 + 1031 − 150 − 161 = 1370 kcal TDEE = 1370 × 1.55 = 2124 kcal Target = 2124 × 0.80 = 1699 kcal Protein = 65 × 2.0 = 130g (520 kcal) Fat = 1699 × 0.30 / 9 = 57g (511 kcal) Carbs = (1699 − 520 − 511) / 4 = 167g

Example 2 — Muscle Building: 25-year-old man, 80 kg, 180 cm, very active (×1.725), goal: build muscle. BMR = 10×80 + 6.25×180 − 5×25 + 5 = 800 + 1125 − 125 + 5 = 1805 kcal TDEE = 1805 × 1.725 = 3114 kcal Target = 3114 × 1.10 = 3425 kcal Protein = 80 × 2.2 = 176g (704 kcal) Fat = 3425 × 0.25 / 9 = 95g (855 kcal) Carbs = (3425 − 704 − 855) / 4 = 467g

How to Use the Macro Calculator

  1. 1

    Enter your weight, height, age, and sex using either metric or imperial units — the toggle re-validates each field as you switch. These four inputs feed the Mifflin-St Jeor formula to calculate your Basal Metabolic Rate (BMR), the calories your body burns at complete rest to maintain core organ function, breathing, and cell repair.

  2. 2

    Select your activity level from the five-tier WHO/FAO scale. Your TDEE is your BMR multiplied by an activity factor ranging from 1.2 (sedentary desk work with no exercise) to 1.9 (very active — physical labour or two training sessions per day). This is the actual calories you burn in a full 24-hour day including workouts, NEAT movement, and digestion.

  3. 3

    Choose your goal: lose fat, maintain weight, or build muscle. The macro calculator adjusts your calories by −20% for fat loss, 0% for maintenance, or +10% for muscle building, then distributes across protein (per-kg scaling by goal), fat (25-30% of kcal), and carbs (remainder) using evidence-based targets from sports nutrition research. Your gram targets, BMR, TDEE, and percentage split appear instantly.

Why Macro Calculator Matters

Tracking macronutrients — not just calories — is the most effective strategy for changing body composition. Total calorie balance determines whether you gain or lose weight, but the protein-to-calorie ratio determines how much of that weight change is fat versus muscle. Research consistently shows that higher protein intakes (1.6–2.2 g/kg) during both deficits and surpluses significantly shift body composition toward lean mass compared to lower protein intake at the same total caloric intake. A dose-response meta-analysis by Morton RW et al. (Br J Sports Med 2018;52(6):376-384, PMID:28698222) found that resistance-training hypertrophy benefits plateau near 1.62 g/kg/day with a 95% CI upper bound of ~2.2 g/kg/day — the exact band this macro calculator uses for cutting and bulking phases.

Read the full explanation

Carbohydrates and fat serve different physiological roles. Carbohydrates are the primary fuel for high-intensity exercise and glycogen replenishment; dietary fat is essential for hormonal function, fat-soluble vitamin absorption (A, D, E, K), and cell membrane integrity. Neither should be eliminated. The optimal split depends on your goal, training style, and individual preference — but hitting protein targets is non-negotiable for body composition outcomes.

For athletes and active individuals, precision nutrition produces measurable performance gains. A controlled trial by Longland TM et al. (Am J Clin Nutr 2016;103(3):738-746, PMID 26817506) placed resistance-trained men in a 40% energy deficit and showed that the high-protein arm (2.4 g/kg) gained 1.2 kg of lean mass and lost 4.8 kg of fat, while the lower-protein arm (1.2 g/kg) only maintained lean mass — a composition difference the calorie total alone cannot explain. For non-athletes, macro tracking prevents the common mistake of eating in a calorie deficit but consuming too little protein — causing weight loss that is 40–50% muscle rather than fat.

The protein targets used in this macro calculator align with the International Society of Sports Nutrition position stand on protein and exercise, which recommends 1.4–2.0 g/kg/day for most exercising individuals and up to 2.3–3.1 g/kg/day during caloric restriction to preserve lean mass (Jäger R et al., J Int Soc Sports Nutr 2017;14:20, PMID 28642676). Pair this macro calculator with the TDEE calculator or body-fat calculator to anchor protein per kilogram of lean mass — the most defensible scaling choice when body composition is well above or below average.

Limitations & Accuracy

All macro calculators produce estimates, not prescriptions, and this macro calculator is no exception. The Mifflin-St Jeor equation (Mifflin MD et al., Am J Clin Nutr 1990;51(2):241-247, PMID 2305711) has a reported ±10% standard error at the individual level, meaning your actual resting metabolic rate may be 150–300 kcal higher or lower than the number this page gives you. Independent validation by Frankenfield D et al. (J Am Diet Assoc 2005;105(5):775-789, PMID 15883556) ranked Mifflin as the most accurate of the five most-used BMR equations in non-obese adults, but still found that only ~82% of individuals fell within 10% of their measured BMR — the remainder sit outside the band for reasons genetics, thyroid function, and body composition only partly explain.

Read the full explanation

Activity multipliers compound that error. The 1.2-to-1.9 scale this macro calculator uses applies the same factor to every person at a given activity tier, yet non-exercise activity thermogenesis (NEAT) varies by up to 2,000 kcal/day between individuals of the same body size (Levine JA, Nat Rev Endocrinol 2007;3(1):9-10, PMID 17180018). Two people eating the same TDEE-matched target can see opposite scale trends simply because one fidgets, walks between meetings, and climbs stairs while the other sits for 90% of their waking hours. The calculator cannot see that difference — your 3-week weight trend can.

Metabolic adaptation is the third limitation. Prolonged energy deficits reduce TDEE by 5–15% beyond what weight loss alone predicts (Rosenbaum M & Leibel RL, Int J Obes 2010;34 Suppl 1:S47-55, PMID 20935667), driven by downregulated thyroid output, lower sympathetic tone, and improved mechanical efficiency during movement. After 8–16 weeks of dieting, the same macro split that was producing 0.5 kg/week fat loss can stall completely. The remedy is a planned diet break of 1–2 weeks at maintenance calories, then a recalculation at the new bodyweight — not a deeper cut, which accelerates lean mass loss and compounds adaptation.

Finally, this macro calculator does not model clinical conditions. Pregnancy, lactation, thyroid disease, insulin-resistant states, prescribed GLP-1 agonists, and ongoing eating-disorder recovery all shift energy requirements in ways no population equation captures — in those cases the output is a loose benchmark, not a plan. Treat the numbers as a 4–6 week prescription for healthy adults, re-measure, recompute, and iterate with your clinician or dietitian in the loop when any medical condition is present.

Practical Tips

  • ✓

    Hit protein every day before worrying about perfect carb/fat splits. Protein is the hardest macro to hit consistently and the most critical for body composition. If you are 20g short on carbs, it is irrelevant. If you are 30g short on protein, you are losing the benefit of your workouts.

  • ✓

    Weigh food raw or cooked consistently — but never mix the two. A chicken breast weighs differently raw vs. cooked (shrinks ~25%). Pick one convention and stick to it. Raw is generally more accurate for tracking since cooked weight depends on cooking method and water retention.

  • ✓

    Aim to hit macros within ±5g for protein and ±10g for carbs and fat. Perfect precision is not necessary and adds stress. What matters is hitting your targets most days (5–6 out of 7) over weeks and months — not exact daily compliance.

  • ✓

    Use a food scale for at least 4–6 weeks. Eyeballing portions underestimates calories by 20–40% for most people, according to multiple studies. After tracking accurately for several months, most people develop portion size intuition and can reduce their reliance on the scale.

  • ✓

    Recalculate your macros every time your weight changes by 3–5 kg. As you lose or gain mass, your BMR shifts — what was a 20% deficit becomes a 15% deficit over time. Consistent recalculation maintains your desired rate of progress.

Frequently Asked Questions

How accurate is this macro calculator?
This calculator uses the Mifflin-St Jeor equation (1990), which is the most validated BMR formula for the general adult population. It predicts resting metabolic rate within 10% for approximately 82% of people — more accurate than the older Harris-Benedict formula. However, all formulas are estimates. Metabolic rate varies by genetics, hormonal status, gut microbiome, and body composition. Treat your result as a starting point and adjust by 100–200 kcal after 2 weeks based on actual weight trends.
Why is protein so high for fat loss?
During a calorie deficit, your body can break down muscle tissue for energy in addition to burning fat. High protein intake (2.0 g/kg for fat loss) significantly reduces this muscle loss — a process called muscle protein sparing. It also has a higher thermic effect (20–35% of protein calories are burned in digestion vs. 5–10% for carbs and fat) and produces greater satiety, helping control hunger. Multiple meta-analyses confirm that 1.8–2.2 g/kg is the optimal range for muscle preservation during fat loss.
Can I eat carbs and still lose fat?
Fat loss depends on a total caloric deficit, not on eliminating carbohydrates. Carbohydrates are your body's preferred fuel source for exercise, especially high-intensity training. Reducing carbs can help create a calorie deficit, but there is no metabolic advantage to low-carb diets beyond the calorie reduction they create. For most people, a balanced macro split that hits protein targets and maintains a calorie deficit will produce sustainable fat loss without the side effects of severe carb restriction.
What activity level should I choose if I go to the gym 3 times a week?
Pick the tier that matches your real week, then recalibrate from your scale trend. 1. Default to 'Moderately active (3–5 days/week)' — multiplier 1.55 — if gym is your only structured exercise. 2. Bump to 'Very active' (1.725) if you also have a physical job or stay on your feet most of the day. 3. Hold the chosen tier for three weeks, then compare weekly-average weight to your goal: if trend is slower than expected your true TDEE is likely 100–300 kcal below the estimate, and if faster it is above. Adjust targets, not the activity tier, going forward.
How do I know if my macros are working?
Measure signal, not noise. 1. Weigh yourself daily at the same time (post-wake, post-toilet, pre-food) and average the seven readings into one weekly figure. 2. Compare the weekly average to the previous week — expect 0.3–1 kg loss for fat-loss goals or 0.25–0.5 kg gain for muscle building at a beginner-to-intermediate level. 3. If the trend is flat after three weeks, adjust calories by 150–200 kcal in the appropriate direction and hold again. 4. Track performance, sleep, and energy alongside weight — a stalling scale with better gym numbers often means lean mass is replacing fat.
Should I eat more on workout days vs. rest days?
Calorie and carb cycling is a real strategy, but it adds complexity. For most people, hitting consistent daily macro targets produces equivalent results with less cognitive overhead. If you train intensely 4+ days per week and want to optimize, a common approach is +10–15% carbs on training days and −10–15% on rest days while keeping weekly total equal. Protein should remain consistent every day.
What if I am a woman — are the targets different?
The Mifflin-St Jeor formula uses sex as an input — women have a lower intercept (−161 vs. +5 for men) because women naturally have lower muscle mass and higher fat mass relative to body weight, both of which reduce metabolic rate. The protein targets in this calculator are per kg of bodyweight and apply equally to men and women. Women may find that actual calorie needs are 200–400 kcal lower than calculated, especially if shorter or older. Adjust based on 2–3 week weight trends.

Continue Your Journey

Weight Loss Journey

Trusted Sources & Methodology

↗World Health Organization (WHO) — Global health standards and BMI classifications
↗Centers for Disease Control (CDC) — US health guidelines and population data
↗National Institutes of Health (NIH) — Medical research and clinical guidelines
↗Mayo Clinic — Trusted clinical information and health advice

API Access

Coming Soon
https://api.solviqlab.com/v1/macro-calculator

REST API for developers. Integrate this tool into your app.