Skip to main content
Diet Style

IIFYM Calculator

If It Fits Your Macros — set your calories, pick a flexible-dieting split, and get daily protein, carbohydrate and fat gram targets to hit.

Calculate Your Macros

Calculate my calories first

Enter your daily calorie target. Typical ranges: 1,200–2,000 kcal (weight loss), 2,000–3,000 kcal (maintenance), 3,000–5,000+ kcal (athletic or bulking).

Range: 15–100 years. Adult macro ratios aren’t validated for under-19s — add your age and we’ll flag if these targets need a paediatrician’s sign-off.

Moderate exercise most days of the week. Recommended protein: 1.21.6 g/kg body weight (ISSN guidelines).

Total: 100%Perfect! ✓
%
%
%

*This calculator is for informational purposes only. Please consult a healthcare professional before making any health decisions. See our medical disclaimer for more information.

Calculations are powered by the Atwater General Factor System, the universally accepted standard for macronutrient caloric conversion (protein: 4 kcal/g, carbohydrate: 4 kcal/g, fat: 9 kcal/g).

Quick Answer

What Is IIFYM?

IIFYM stands for “If It Fits Your Macros”. You set a calorie total, split it into protein, carbohydrate and fat targets, and then any food is fair game as long as it fits inside those daily numbers. Enter your calories above and pick a split, and the calculator converts it into the three gram targets you track against.

What IIFYM Means

IIFYM is the shorthand for flexible dieting. Instead of ruling foods in or out, it sets three daily numbers — protein, carbohydrate and fat in grams — and treats any food as acceptable so long as the day’s total still lands inside those numbers. There is no “good” or “bad” food in the arithmetic; a food is simply something that either fits the remaining grams or does not. That is the whole idea, and it is why the practice starts with a calorie total split into macros rather than with a list of allowed meals.

Setting Your Three Numbers

A common way to build the split is to anchor protein first, set a fat floor next, and let carbohydrate fill whatever calories are left. The three still have to reconcile back to your calorie total: multiply protein grams by 4, carbohydrate grams by 4 and fat grams by 9, add them up, and the sum should return the number you started with. That check is what keeps the split honest — carbohydrate is not a free variable, it is exactly the calories left after protein and fat are set. Size protein against body weight with the Macro Calculator, and find the calorie total to divide with the TDEE Calculator.

Tracking Against the Targets

In practice, you log the foods you eat and subtract their protein, carbohydrate and fat from the daily targets, aiming to finish the day close to all three. The tool sets the targets; the logging is the day-to-day part, done in whatever app or notebook you prefer. It describes a way of counting, and makes no promises about outcomes. To decide whether the calorie total should sit above or below maintenance for your goal, run the Calorie Deficit Calculator before you split. These figures are general estimates for healthy adults, not medical advice.

Gram targets use the Atwater general factor system — protein and carbohydrate at 4 calories per gram, fat at 9 — the same standard published in the Dietary Reference Intakes for Macronutrients (National Academies of Sciences, 2005). The split is arithmetic, not a personalised prescription; individual needs vary, so check with a clinician or registered dietitian before making changes if you manage a medical condition.

Frequently Asked Questions

Get your free Weight-Loss Tracker

A printable weigh-in log, measurements chart and a cheat sheet for your calorie, protein & water numbers — plus simple weekly tips.