Home · Health · Nutrition · IIFYM Calculator (If It Fits Your Macros)

IIFYM Calculator (If It Fits Your Macros)

Nutrition arithmetic from published reference values — every factor stated on the page.

Your figures

Example result — edit the figures to make it yours

2,740 kcal/day

Target calories

Maintenance is about 2,740 kcal/day; the maintenance target is 2,740. Protein is set at 2.0 g/kg and fat at 0.8 g/kg; carbs take the calories that remain — the IIFYM order of operations.

Protein (2.0 g/kg)160 g
Fat (0.8 g/kg)64 g
Carbs (remainder)381 g

Estimates only — this calculator uses published population formulas and is not medical advice. It does not diagnose anything and is not a substitute for a doctor or other qualified clinician.

What this calculator does

Nutrition arithmetic from published reference values — every factor stated on the page. Inputs are accepted in US or metric units — flip the unit toggle and the figures convert with the same definitions the formula uses. Estimates only — this calculator uses published population formulas and is not medical advice. It does not diagnose anything and is not a substitute for a doctor or other qualified clinician.

The formula and method

Grams = (calories × macro %) ÷ kcal per gram (protein 4, carbs 4, fat 9)

Macro arithmetic is the Atwater energy system: protein and carbohydrate yield about 4 kcal per gram, fat about 9. Any split is turned into grams by dividing each macro's calorie share by its energy density.

Reference intakes on this page are the NIH Dietary Reference Intakes for adults; fibre uses the Institute of Medicine's 14 g per 1,000 kcal basis.

Worked example

With the example inputs this page opens with (body weight 80 kg, height 178 cm, age (years) 30), the result is 2,740 kcal/day — target calories. Maintenance is about 2,740 kcal/day; the maintenance target is 2,740. Protein is set at 2.0 g/kg and fat at 0.8 g/kg; carbs take the calories that remain — the IIFYM order of operations.

Quick reference

Target calories by goal (same body and activity)
GoalCalories
Lose (−20%)2,192 kcal/day
Maintain2,740 kcal/day
Gain (+10%)3,014 kcal/day

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

What does the IIFYM Calculator (If It Fits Your Macros) actually calculate?

Nutrition arithmetic from published reference values — every factor stated on the page. With the example inputs on this page it gives 2,740 kcal/day — change any input and the result updates with the same published formula.

How accurate is the IIFYM Calculator (If It Fits Your Macros)?

It runs the standard published method exactly as written, so the arithmetic is exact; the method itself is an estimate built on population data. Individual results vary around it — the method note on this page states the known error range where one is published.

Is the IIFYM Calculator (If It Fits Your Macros) a medical diagnosis?

No. Every result here is an estimate from a published formula, provided for information and planning. It is not medical advice, does not diagnose anything, and is not a substitute for a doctor or other qualified clinician.