← Articles

What Is IIFYM?

Explainer · 10 min read

You've tried the clean eating thing. The no-carbs thing. The "only eat food your great-grandmother would recognize" thing. And at some point, probably while staring at a sad plate of plain chicken and steamed broccoli, you wondered: is there a way to get results without hating every meal?

That's the question IIFYM was built to answer.

What is IIFYM?

IIFYM, or "If It Fits Your Macros," is a flexible approach to dieting that tracks your intake of three macronutrients (protein, carbohydrates, and fat) rather than restricting specific foods or food groups. If you hit your macronutrient goals, it doesn't matter how you got there.

The core idea is simple. According to Healthline, IIFYM is a type of flexible dieting that helps people lose weight without feeling overly restricted. All foods can be enjoyed as long as they fit into your macros for the day.

That means pizza isn't banned. Neither is ice cream, bread, or anything else that lands on a typical "do not eat" list. If you can fit it into your daily protein, carb, and fat targets, it counts.

This is what makes IIFYM different from most diets. It doesn't moralize food. There's no "good" or "bad" list. There's just a set of numbers to hit.

Where IIFYM came from

IIFYM didn't start in a lab or a doctor's office. The IIFYM diet was originally designed by fitness enthusiast Anthony Collova after he became frustrated with traditional dieting recommendations. Ultrahuman's guide adds that the approach was first popularized by Collova and gained traction on social media and in fitness circles, especially among people frustrated with rigid dieting rules.

The phrase itself started as a reply on bodybuilding forums. Someone would ask "Can I eat [insert food here] on my diet?" and the answer became a catchphrase: "If it fits your macros." Over time, that forum shorthand turned into a full dieting framework.

How IIFYM actually works

IIFYM boils down to four steps. None of them are complicated, but each one matters.

Step 1: Calculate your total daily energy expenditure (TDEE)

Your TDEE is the number of calories your body burns in a full day, including exercise and daily movement. The process starts by calculating your basal metabolic rate (BMR), which is how much energy your body uses at rest based on your age, sex, height, and weight. Then you multiply your BMR by an activity factor to get your TDEE.

If you want to lose weight, the standard recommendation is to reduce your calorie intake by 15 to 25% below your TDEE. If weight gain is the goal, increase calories by 5 to 15%.

For a deeper walkthrough of this math, including the actual equations, check out our guide on how to calculate your macros.

Step 2: Set your macro split

Once you have a calorie target, you divide it across protein, carbs, and fat. IIFYM recommends protein intake between 0.7 and 1.0 grams per pound of body weight, fat intake between 0.25 and 0.4 grams per pound of body weight, and the remaining calories go to carbs.

As our macro counting guide explains, each macro provides a specific number of calories per gram: protein has 4 calories per gram, carbohydrates have 4 calories per gram, and fat has 9 calories per gram. So when you track macros, you're automatically tracking calories, but you're getting more useful information about what you're eating.

If you're not sure where to start, a common split for fat loss is roughly 30% protein, 35% carbs, and 35% fat. But the protein number matters more than the exact percentages.

Step 3: Track your food

This is where IIFYM lives or dies. You need to log what you eat and check it against your daily targets.

Any tracking app can do the job: MyFitnessPal, Cronometer, Lose It!, MacroFactor, or Maccy. If you're weighing the database-style trackers against each other, we've compared MyFitnessPal vs. Cronometer, Lose It! vs. MyFitnessPal, and Cronometer vs. MacroFactor. The most important thing is to find a method that works for you and be consistent, at least as long as it serves your goals.

The good news: you don't need to be perfect. As long as you don't go over each macronutrient by more than 5 grams, or under by more than 10 grams, you should still see results.

Step 4: Adjust as you go

Your starting numbers are estimates. After two weeks, check whether your weight, energy, and performance are trending the right direction. If not, adjust your calories by 100 to 200 and reassess. IIFYM is a system you dial in over time, not a one-time calculation.

IIFYM vs. calorie counting: is IIFYM better?

This is one of the most common questions people ask, and the answer depends on what you care about.

Calorie counting tracks one number: total energy in. It works for weight loss because a calorie deficit is a calorie deficit, regardless of what you eat.

IIFYM tracks three numbers: protein, carbs, and fat. As Maccy's macro counting guide puts it, calories tell you how much you ate, while macros tell you what you ate and how your body will use it. Two meals can both hit 600 calories while looking completely different. One might be 40 grams of protein with balanced carbs and fat, while the other is mostly refined carbs with almost no protein.

That distinction matters for body composition. Some evidence suggests that diets higher in protein, like IIFYM, can increase metabolism and help maintain weight loss longer. The emphasis on adequate protein helps preserve lean muscle mass while losing body fat.

So is IIFYM "better" than calorie counting? If your only goal is losing weight on the scale, pure calorie counting can work. But if you care about what kind of weight you lose (fat vs. muscle), how full you feel, and how your body looks and performs, tracking macros gives you more control.

Who IIFYM works best for

IIFYM isn't for everyone, but it's a strong fit for certain people.

People who've burned out on restrictive diets. If you've tried keto, paleo, Whole30, or any plan that bans entire food groups, IIFYM can feel like a relief. Allowing all foods can remove some of the pressure and guilt associated with other more restrictive dieting methods.

People who want flexibility. IIFYM works for all sorts of people, including those following special diets like vegan, vegetarian, paleo, or gluten-free. Since there are no special restrictions, all types of cuisines and cooking styles fit into the IIFYM plan.

People who want to understand food better. Since IIFYM focuses on macronutrients rather than calories, it's a great educational tool for people who are unfamiliar with the macronutrient composition of foods. If you're new to what macros actually are, IIFYM teaches you by doing.

Who should be careful

IIFYM isn't appropriate for everyone. People with diabetes need to monitor their carbohydrate intake carefully, and those with kidney disease must watch their sodium, phosphorus, and protein consumption. The standard IIFYM framework doesn't account for these needs.

Tracking macros obsessively may trigger disordered eating in some individuals, particularly among people with a history of eating disorders. If tracking food creates anxiety rather than clarity, IIFYM might not be the right approach for you. Working with a dietitian or other nutrition professional is a safer path in these situations.

Common IIFYM mistakes

Ignoring micronutrients

This is the biggest pitfall. With so much focus on macronutrients, the importance of micronutrients like vitamins and minerals is somewhat ignored. No tracking is actually done to ensure people are getting enough vitamins and minerals.

The fix: aim to get 80% of your calories from whole foods and include 4 to 6 servings of fruits and vegetables every day. That leaves room for treats while covering your micronutrient bases.

"Dirty IIFYM" (eating all junk)

Technically, you can fill your macros with Pop-Tarts and protein shakes. But Ultrahuman points out that while IIFYM allows flexibility, even permitting occasional treats like chocolate or fast food, it works best when you choose whole foods that keep you full and support overall health.

A diet of 80% whole foods and 20% whatever you want is sustainable. A diet of 100% processed food that technically hits your macros is going to leave you hungry, low on energy, and short on vitamins. The numbers might add up on paper, but your body will notice.

Setting targets too aggressively

Cutting calories by 1,000 a day or aiming for 200 grams of protein when you currently eat 60 is a recipe for quitting. Start with modest adjustments. You can always tighten things up after a few weeks.

Not tracking fat from cooking

As Maccy's fat guide explains, fat contains 9 calories per gram, compared to 4 for both protein and carbohydrates. A tablespoon of olive oil adds roughly 14 grams of fat and 120 calories. Drizzles, dressings, and cooking oils are the most commonly missed items when tracking. For more on how dietary fat actually works in your body, check out Does Eating Fat Make You Fat?. Spoiler alert: it does not.

How to get started with IIFYM

Here's the practical version, stripped down to what actually matters.

Get your numbers. Calculate your TDEE and set your macro targets. Our guide on how to calculate your macros walks through the math step by step. If you'd rather skip the equations, most macro calculators can estimate your targets in under a minute.

Pick a tracking method you'll stick with. This matters more than the numbers themselves. As Maccy's macro counting guide explains, most people who try counting macros don't quit because the math is hard. They quit because logging every meal is tedious. Traditional tracking (searching databases, scanning barcodes, adjusting serving sizes) can eat up 15 to 20 minutes a day. Some newer apps, like Maccy, let you describe meals in plain language instead. You type something like "2 scrambled eggs, toast with peanut butter, and a banana" and the app figures out the rest. Whatever tool you use, the one that's fastest is the one you'll actually keep using.

Start with protein. If tracking all three macros feels like too much at first, just focus on hitting your protein target. Protein is the macro most people undershoot, and it's the one that makes the biggest difference for body composition. Once you're consistently hitting protein, add carbs and fat tracking.

Give it two weeks before changing anything. Your TDEE calculation is an estimate. So is every macro target you set. Two weeks of consistent tracking gives you enough data to see whether things are working or need adjustment.

Build a rotation of go-to meals. Once you find 10 to 15 meals you enjoy that fit your macros, daily tracking gets dramatically easier. You're not starting from scratch every day.

Don't aim for perfection. Hit your targets within 5 to 10 grams and move on. IIFYM is a framework for eating well over weeks and months. One day over on carbs or under on fat won't matter if your weekly average is on track.

The bottom line

IIFYM is flexible dieting with guardrails. You set targets for protein, carbs, and fat. You eat whatever you want within those targets. No food is banned. No guilt required.

It works because it removes the psychological weight of restriction. You can eat at a restaurant, have dessert at a party, or grab takeout on a busy night without "breaking" your diet. You just account for it in your numbers.

The tricky part is building a tracking habit that doesn't feel like a second job. Find a method that takes seconds instead of minutes, keep 80% of your food nutrient-dense, and adjust your targets based on real results.

That's it! Just numbers, consistency, and the freedom to eat like a normal person while still making progress.

Read more

Type what you ate

Step away from the database. Track your nutrition with plain language. 7-day free trial, then $9/month.

Try web free

Today

···
2110of 2700 kcal
Protein
132/150g
Carbs
207/323g
Fat
83/90g
What did you eat?

Chobani Black Cherry

black cherry Chobani Greek yogurt

123 kcal

11g protein · 19g carbs · 0g fat

Lobster Ravioli

lobster ravioli

432 kcal

20g protein · 53g carbs · 13g fat

Fritos Corn Chips

Fritos original corn chips

172 kcal

2g protein · 18g carbs · 11g fat

Beef Brisket Sandwich

smoked beef brisket · large sandwich bun

883 kcal

68g protein · 47g carbs · 46g fat

Doubleshot Latte

espresso · Fairlife 2% milk

111 kcal

11g protein · 0g carbs · 4g fat