IIFYM Macro Calculator
If It Fits Your Macros: estimate your daily calories from TDEE, then get your protein, fat and carb targets in grams and percent of calories — with adjustable sliders and a meal split table.
⚠️ Educational estimates only — not medical or dietary advice. See the health note below.Your stats
Cut = 20% below TDEE (sustainable deficit). Bulk = 12.5% above TDEE (lean surplus).
ISSN 2017: 1.4–2.0 g/kg/day for exercising individuals (up to 2.3–3.1 g/kg when cutting).
IOM Acceptable Macronutrient Distribution Range for fat: 20–35% of calories.
Your macro targets
BMR — kcal · TDEE (maintenance) — kcal ·
Protein
Fat
Carbs
Example meal split (evenly divided)
| Meals / day | Protein (g) | Fat (g) | Carbs (g) |
|---|
Per-meal numbers are a planning convenience — total daily intake is what drives results.
How the math works
1. Basal metabolic rate — Mifflin-St Jeor (1990)
Men: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age + 5
Women: BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age − 161
2. Total daily energy expenditure
TDEE = BMR × activity factor — 1.2 sedentary, 1.375 light, 1.55 moderate, 1.725 active, 1.9 athlete.
3. Goal adjustment
Cut: target = TDEE × 0.80 (20% deficit). Maintain: target = TDEE. Bulk: target = TDEE × 1.125 (12.5% surplus).
4. Macros — protein first, fat second, carbs fill the rest
Protein: grams = protein slider (g/kg) × weight(kg), kcal = grams × 4.
Fat: kcal = target × fat slider %, grams = kcal ÷ 9.
Carbs: grams = (target − protein kcal − fat kcal) ÷ 4.
(If protein + fat ever exceed the target, carbs are clamped to 0 and you are warned.)
Worked example
Man, 30 y, 75 kg, 175 cm, moderate activity, maintain, protein 1.8 g/kg, fat 25%:
BMR = 10×75 + 6.25×175 − 5×30 + 5 = 1698.75 ≈ 1699 kcal
TDEE = 1698.75 × 1.55 = 2633.06 ≈ 2633 kcal → target 2633 kcal
Protein = 1.8 × 75 = 135 g (540 kcal, 20.5%) ·
Fat = 25% × 2633 = 658 kcal = 73.1 g (25.0%) ·
Carbs = (2633 − 540 − 658) ÷ 4 = 358.7 g (54.5%).
Try it above — you should get exactly these numbers.
Sources
- Mifflin MD et al. “A new predictive equation for resting energy expenditure in healthy individuals.” Am J Clin Nutr. 1990;51(2):241–247.
- Jäger R et al. “International Society of Sports Nutrition position stand: protein and exercise.” J Int Soc Sports Nutr. 2017;14:20 — protein 1.4–2.0 g/kg/day for exercising individuals; 2.3–3.1 g/kg/day during hypocaloric phases.
- Institute of Medicine. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat… (2005) — Acceptable Macronutrient Distribution Range for fat: 20–35% of energy.
- Protein, carbs = 4 kcal/g; fat = 9 kcal/g (Atwater factors, used universally in nutrition labeling).
Scope — what this tool does not do
- vs TDEE calculator (tdee-calculator): that tool finds your daily calorie target with four BMR formulas side-by-side. This tool starts from calories and computes IIFYM macro targets with adjustable protein/fat sliders, grams + % of calories, and a meal-split table.
- vs calorie calculator (calorie-calculator): general daily calorie needs with macro presets — this page is the dedicated IIFYM macro method.
- vs carb calculator (carb): carbohydrate-only targets — here you get the full protein–fat–carbs triplet.
- vs calorie-deficit solver (calorie-deficit): solves kg ↔ kcal/day ↔ weeks — this tool gives per-day macro grams.
- vs BMI calculator (bmi-calculator): a single BMI number — no macros here.
Related tools
Frequently asked questions
What is an IIFYM calculator?
IIFYM stands for “If It Fits Your Macros.” An IIFYM calculator estimates your daily calorie target from your basal metabolic rate (BMR) and activity level, then converts that target into daily protein, fat, and carbohydrate grams. Instead of restricting specific foods, you can eat any foods you like as long as the day’s totals fit your macro targets.
How do I calculate my macros for weight loss?
First find your maintenance calories (TDEE). Then subtract about 20% to create a sustainable deficit. Set protein around 1.4–2.0 g per kg of body weight to protect muscle, set fat at 20–30% of calories, and fill the remaining calories with carbohydrates. This calculator performs all of those steps automatically.
How many carbs should I eat on IIFYM?
There is no fixed carb target in IIFYM — carbohydrates get whatever calories remain after protein and fat are set. On a 2,500 kcal target with 150 g protein and 25% fat, that leaves about 300 g of carbs. If you prefer lower carbs, raise the fat slider and the calculator will recompute.
How much protein do I need on IIFYM?
The International Society of Sports Nutrition (2017) recommends 1.4–2.0 g of protein per kg of body weight per day for exercising individuals, and up to 2.3–3.1 g/kg during calorie-restricted phases. This calculator defaults to 1.8 g/kg and lets you adjust between 1.2 and 2.6 g/kg with the protein slider.
How much fat should I eat on IIFYM?
The Institute of Medicine’s Acceptable Macronutrient Distribution Range puts fat at 20–35% of total calories, which is enough to support hormone production and vitamin absorption. This calculator defaults to 25% and lets you adjust between 15% and 40% with the fat slider.
Is IIFYM good for weight loss?
IIFYM can support weight loss because it enforces the two things that matter most: a calorie deficit and adequate protein. Its flexibility often makes it easier to stick with than rigid meal plans. Results still depend on consistent tracking and adjusting based on your weight trend over 2–3 weeks.
What is a good macro ratio for fat loss?
A common starting point is roughly 30% protein, 20–25% fat, and 45–50% carbs by calories, but the ratio matters less than hitting your calorie target and eating enough protein. Use the sliders above to find a split you can sustain, then keep it consistent for a few weeks before judging it.
How is IIFYM different from keto or low-carb diets?
Keto and low-carb diets restrict carbohydrates specifically, while IIFYM only restricts total calories and sets minimum protein and fat targets. Carbs simply fill the remaining calories, so IIFYM can be high-carb, moderate-carb, or low-carb depending on your slider settings.
How accurate are macro calculators?
Formulas like Mifflin-St Jeor estimate resting metabolism within roughly 10% for most people, but individual metabolisms vary. Treat the results as a starting point: track your food and body weight for 2–3 weeks, then adjust calories up or down by 100–150 kcal based on your actual trend.
Is this medical or dietary advice?
No. This tool provides educational estimates based on published formulas and is not medical, dietary, or professional advice. It is not suitable for children, pregnancy, eating-disorder recovery, or managing medical conditions — consult a doctor or registered dietitian for those situations.
What does the meal split table show?
The meal split table divides your daily macro targets evenly across 3, 4, or 5 meals, so you can see roughly how much protein, fat, and carbs to aim for at each meal. It is a planning convenience — total daily intake is what drives results, not exact per-meal equality.
Why is protein calculated first?
Protein is set first because it has the strongest evidence behind it: it preserves muscle during fat loss and is the most satiating macronutrient. Fat is set second to cover essential needs, and carbohydrates take the flexible remainder, which is why IIFYM works with any eating style.
Free tool by NRTechStudio