IIFYM in one paragraph
IIFYM — "If It Fits Your Macros" — is a nutrition approach where you hit daily targets for protein, carbohydrates and fat, and no food is off-limits as long as your overall intake fits those numbers. Instead of following a fixed meal plan or banning food groups, you set a calorie target, split it into the three macros, and choose the foods you enjoy. Want pizza for dinner? You can work it into your macros by adjusting the other meals. The idea is that no single food makes or breaks your diet — what matters is the overall balance of the day.
The concept started in online bodybuilding forums in the mid-2000s (new members kept asking whether specific foods were "allowed," and the standard answer was: if it fits your macros, go ahead), and it grew into what coaches now call flexible dieting. It is not a brand or a commercial program — it is a way of counting.
Flexible dieting vs rigid dieting
| Feature | Flexible dieting (IIFYM) | Rigid dieting (meal plans) |
|---|---|---|
| Food choices | Any food that fits the macros | Pre-set foods at pre-set times |
| Foods banned | None — nothing is "clean" or "dirty" | Often bans food groups or treats |
| Social life | Restaurants and events fit in | Hard to fit in without breaking the plan |
| Skill learned | The real calorie and macro content of foods | Following a list |
| Risk | Can drift toward low food quality without guardrails | Can feel deprived; higher dropout when life happens |
A 2021 randomized trial found no significant difference in fat loss between flexible and rigid approaches when calories and protein were matched — but adherence was higher in the flexible group. That is the real argument for IIFYM: it does not beat the laws of energy balance, it just makes them easier to live with.
-
Find your TDEE and set a calorie target
Estimate your TDEE (total daily energy expenditure) from age, weight, height and activity, then set a target for your goal — typically TDEE minus 300–500 kcal for fat loss. Try the Calorie Deficit Calculator →
-
Split it into protein, fat and carbs — in that order
Anchor protein to body weight first (about 0.7–1 g per pound, roughly 1.6–2.2 g/kg), then set fat to a floor (at least about 0.35 g per pound, or 20–35% of calories), then give the remaining calories to carbs. Percentage-only splits often set protein too low in a deficit, so this order protects muscle.
-
Eat any foods that fit — with the 80/20 guardrail
No food is banned. But IIFYM controls quantities, not food quality — and quality still matters for health, fullness and micronutrients. The workable version most coaches use: build about 80–85% of the day around nutrient-dense whole foods, and let roughly 10–15% come from treats. It is not an excuse to eat junk all day.
-
Track, then adjust every 2–4 weeks
Track intake with any food-tracking app and weigh yourself regularly. Adjust targets based on the actual weight trend — not one day's number. Calorie estimates sit within roughly 10% of measured expenditure for most people, and logged intake is often under-reported, so the trend is your real calculator.
Worked example
An 80 kg person, TDEE 2,400 kcal, cutting at 2,000 kcal/day:
- Protein: 2.0 g × 80 kg = 160 g (640 kcal)
- Fat: 25% of 2,000 kcal = about 56 g (504 kcal)
- Carbs: remaining 856 kcal = 214 g
Check: 640 + 504 + 856 = 2,000 kcal. Any combination of foods hitting roughly these grams is a valid IIFYM day.
A sample IIFYM day (~1,800 kcal)
| Meal | Protein | Carbs | Fat |
|---|---|---|---|
| Breakfast: eggs, toast, fruit | 30 g | 40 g | 12 g |
| Lunch: chicken rice bowl | 40 g | 55 g | 14 g |
| Dinner: pasta with beef sauce | 35 g | 65 g | 16 g |
| Snack: yogurt + chocolate bar | 35 g | 30 g | 11 g |
| Day total | 140 g | 190 g | 53 g |
That is 140×4 + 190×4 + 53×9 ≈ 1,797 kcal — ordinary food, including chocolate, fitting the numbers. That is the whole philosophy.
Three things most explainers skip
Fiber is not a macro, so track it separately. Macro splits say nothing about fiber, and it is easy to lose when carbs are cut. Aim for about 10–15 g of fiber per 1,000 calories (so 20–30 g on a 2,000 kcal day) to stay full and avoid gaps.
Alcohol is the fourth macro. Protein and carbs give 4 kcal per gram, fat gives 9 — and alcohol gives 7 kcal per gram. Drinks count toward the calorie target even though they do not count as protein, carbs or fat.
Reverse IIFYM math: work a meal backward. Say a restaurant burger is 620 kcal with 32 g protein and 28 g fat. Protein is 128 kcal (32×4), fat is 252 kcal (28×9), so the remaining 240 kcal must be carbs: 60 g. Once you can do this, any menu becomes trackable.
Related calculators
Macro Calculator — daily calories, protein, carbs and fat from your body, activity and goal.
Protein Calculator — how much protein you need per day, from body weight and activity.
TDEE Calculator — your total daily energy expenditure from BMR and activity level.
BMR Calculator — your basal metabolic rate, the calories burned at complete rest.
Lean Body Mass Calculator — your lean body mass in kg plus an estimated body fat percentage.
Body Fat Calculator — estimate your body fat percentage from simple body measurements.
Pace Calculator — running pace, race time and distance from any two of the three, in km or miles.
Calorie Deficit Calculator — your daily calorie target for fat loss, from BMR, TDEE and your chosen deficit.
Diet Macro Presets — keto, low-carb, high-protein and balanced macro ratios turned into daily grams.
Best Macro Ratio for Weight Loss — guide to protein, ratios and adjusting your split in a deficit.
Macros 101 — beginner guide to protein, carbs and fat and how to start tracking.
How to Calculate Your Macros — step-by-step guide: BMR, TDEE, goal calories, protein, fat and carbs, with a worked example.
Frequently Asked Questions
What does IIFYM stand for? "If It Fits Your Macros" — a flexible dieting approach where you hit daily protein, carb and fat targets, and any foods are allowed as long as they fit.
How does IIFYM work? Find your TDEE, set a calorie target (e.g. TDEE minus 300–500 kcal for fat loss), split it into protein (about 0.7–1 g per pound), fat (at least about 0.35 g per pound) and carbs from the rest. Then eat any foods that fit.
Does IIFYM actually work for weight loss? The mechanism is a calorie deficit, like any diet. A 2021 trial found no fat-loss difference between flexible and rigid dieting with matched calories and protein — but higher adherence in the flexible group.
Is IIFYM the same as flexible dieting? Essentially yes. IIFYM is the fitness community's name for it. Many coaches add a guardrail: roughly 80–85% whole foods, 10–15% treats.
Do I need to track fiber on IIFYM? Yes, separately — macros do not track fiber. Aim for about 10–15 g per 1,000 calories.
What is the biggest misconception about IIFYM? That it means eating junk all day. IIFYM controls quantities, not food quality — and food quality still matters for health, fullness and micronutrients.
Is this medical advice? No. This is general information only. Talk to a doctor or registered dietitian before changing your diet, especially if you are pregnant, have diabetes, kidney disease, or any health condition.