IIFYM — If It Fits Your Macros — is a flexible dieting approach that has replaced rigid meal plans for millions of people. The premise is simple: as long as your daily protein, carbohydrates, fat, and calories hit your targets, what you eat is up to you.

No forbidden foods. No cheat meals. No guilt over pizza — as long as it fits.

This guide explains IIFYM from scratch: what it is, how to calculate your targets, how to track it daily, and whether it actually works.


What Is IIFYM?

Traditional dieting assigns specific foods and meals. "Eat chicken and broccoli. No alcohol. No sugar." IIFYM inverts this: instead of restricting which foods you eat, you set macro targets and eat whatever you want within those numbers.

A person doing IIFYM with a 150g protein / 200g carbs / 55g fat target might eat:

The burger is fine. It just means dinner is adjusted to stay within the daily totals.

IIFYM works because:


Does IIFYM Actually Work for Weight Loss?

Yes — the evidence is clear that flexible dieting approaches produce better long-term outcomes than rigid ones.

A 2002 study in the journal Eating Behaviors found that dietary restraint (rigid restriction) was associated with higher rates of overeating and worse dietary adherence compared to flexible dieting approaches.

Multiple subsequent studies have confirmed: the people who can occasionally eat pizza and still hit their goals are the people who maintain their diet longest.

IIFYM works for:

IIFYM's limitation: It makes no distinction between whole foods and ultra-processed foods at equal macros. Someone eating 150g protein from processed meat products vs. lean chicken, fish, and legumes will have different satiety, micronutrient, and long-term health outcomes — even if the macros match. Most IIFYM practitioners address this by applying an informal "80/20 rule" — 80% whole foods, 20% flexible.


How to Calculate Your IIFYM Macros

Step 1: Find Your Calorie Target

Calculate your TDEE (Total Daily Energy Expenditure) based on age, weight, height, and activity level. Then adjust based on your goal:

Step 2: Set Your Protein Target

Protein is the most critical macro in IIFYM. Set it based on your bodyweight:

Step 3: Set Your Fat Target

Fat is essential for hormonal health. Set a minimum:

Step 4: Fill the Rest with Carbohydrates

Once protein and fat calories are assigned, carbohydrates fill the remaining calories.

Example calculation — 80kg male, fat loss goal:


How to Track IIFYM Daily

Tracking is non-negotiable in IIFYM. Without it, you have no idea if "it fits your macros."

Use a macro tracking app:

NutriBalance is the best free option for Android. It lets you set fully custom macro targets in grams, tracks protein, carbs, fat, and fibre separately, and shows your running daily totals.

Logging tips for IIFYM:

Pre-logging: Many IIFYM practitioners log their entire day in the morning. This way you know exactly what to eat before you eat it, rather than trying to fit a late-night snack into an already-full macro budget.


IIFYM Food Examples

The point of IIFYM is flexibility, but these high-protein, high-volume foods are staples because they're efficient:

High-protein efficiency foods:

High-volume, low-calorie foods (fill you up without busting macros):

The "fits your macros" foods (use sparingly to hit targets):


Common IIFYM Mistakes

Mistake 1: Ignoring fibre Pure IIFYM tracks only protein, carbs, and fat. Adding fibre as a target (25–35g/day) improves satiety and digestive health without compromising flexibility.

Mistake 2: Eating 100% processed food because it "fits" Technically valid, but you'll be deficient in micronutrients, feel worse, and likely have poor satiety. Apply an 80% whole foods baseline before flexing.

Mistake 3: Not weighing calorie-dense foods A tablespoon of peanut butter by volume can range from 70 to 130 calories depending on how packed it is. Weigh everything with a scale until you develop accurate portion intuition.

Mistake 4: Abandoning tracking when it's inconvenient Restaurant meals and social situations feel hard to track — but they're exactly when accurate logging matters most. Use the AI food scanner or make a best estimate in the app. An imperfect log is better than no log.


Frequently Asked Questions

Is IIFYM the same as flexible dieting? Yes. IIFYM and flexible dieting refer to the same approach — meeting macro targets without restricting specific foods. IIFYM is the more colloquial term popularised in fitness communities.

Can you eat junk food on IIFYM? Technically yes — if it fits your macro targets. Practically, very calorie-dense foods make it difficult to hit your macros without going over calories. Most IIFYM practitioners eat mostly whole foods with strategic flexibility for social eating or enjoyment.

What app should I use for IIFYM? NutriBalance is the best free IIFYM app for Android. It allows fully custom macro targets, tracks all three macros separately, and has a barcode and AI label scanner for fast logging.

How long does IIFYM take per day? With a good app and barcode scanner, 5–15 minutes. Pre-logging your day in the morning reduces this to about 5 minutes.

Is IIFYM good for beginners? Yes — the flexibility makes it sustainable for beginners who might otherwise fail on rigid meal plans. Start with approximate targets and get more precise as you build the tracking habit.


Track your calories, macros, and streaks for free with NutriBalance — the gamified calorie tracker for Android.