IIFYM — If It Fits Your Macros — is the practice of meeting your daily protein, fat and carbohydrate targets with whatever foods you choose, instead of following a fixed list of allowed foods. If a meal's grams fit inside the day's remaining targets, it fits. The phrase started as a forum reply and became the shorthand for tracking totals rather than rules.
This article explains the idea, the things it deliberately does not say, where fibre and food quality sit, and how the same targets behave when they are run over a week rather than a day. It is a description of a counting method, not a diet recommendation.
The idea
A macro target is three numbers — say 144 g protein, 60 g fat, 210 g carbohydrate — that together imply a calorie total (144 × 4 + 60 × 9 + 210 × 4 = 1,956 kcal). IIFYM says: any set of foods that lands on those numbers is a valid day. There are no forbidden foods and no required ones.
The appeal is mechanical. A fixed meal plan breaks the moment one meal is unavailable; a target does not. Eating out, a birthday, a different supermarket — the totals are still the totals, and the rest of the day adjusts around whatever was eaten.
| Approach | What is fixed | What is flexible | What breaks it |
|---|---|---|---|
| Meal plan | the foods and portions | nothing | any unplanned meal |
| Calorie counting | the calorie total | foods and macro split | a day of low protein still "fits" |
| IIFYM / macro tracking | protein, fat and carb totals | the foods | nothing, if the totals are met |
In plain terms: IIFYM moves the rule from "eat this" to "reach these three numbers".
What it does not say
IIFYM is often read as "anything goes". It is narrower than that.
It does not say the targets can be anything. The three numbers still come from the usual formula — energy from expenditure and goal, protein by body weight, fat with a floor, carbohydrate as the remainder. IIFYM is about how you reach the numbers, not where they come from.
It does not say all foods that fit are equal. Two days can hit identical macros with very different fibre, micronutrients, volume and satiety. The method is silent on those; it counts three things and only three.
It does not say tracking is optional. The method only works if the totals are actually measured, which in practice means weighing food for the first weeks until portions are familiar.
Where fibre and food quality fit
Because IIFYM counts three numbers, the common fix for its blind spots is to count a fourth: fibre, set by the 14 g per 1,000 kcal rate (28 g at 2,000 kcal). A fibre target pulls the day toward whole grains, legumes, fruit and vegetables without banning anything, which is the point — the flexibility stays, the blind spot narrows. How much fibre per day has the reference values.
Beyond fibre, most people who track this way settle on a working rule of thumb: build the bulk of the day from foods that are easy to log accurately and easy to hit protein with, and let the remaining grams go wherever they like. That is a habit, not part of the method, and it is what keeps the totals honest.
IIFYM with a weekly budget
Targets are usually daily. Nothing in the arithmetic requires that. A weekly budget is 7 × the daily numbers, and days can differ as long as the week sums:
| Daily target | Weekly budget | Example week | |
|---|---|---|---|
| Calories | 2,000 kcal | 14,000 kcal | two days at 2,300, five at 1,880 |
| Protein | 144 g | 1,008 g | held near 144 g every day |
| Fat + carbs | the remainder | the remainder | moved between days |
Two things are worth keeping fixed even on a weekly view. Protein is the number most people hold steady every day, because the reason for it (body weight) does not change with the day of the week. And the calorie floor still applies to every individual day — a weekly budget is not permission to run one day far below it to pay for another. The style share between fat and carbohydrate is the part that moves comfortably.
In plain terms: the week is the budget, protein is daily, and the floors still hold on every day.
The short version
IIFYM means reaching daily protein, fat and carbohydrate totals with foods of your choosing. It fixes the numbers, not the menu; it says nothing about fibre or food quality, so a fibre target is the usual addition. The targets come from the same energy → protein → fat → carbs formula as everything else on this site, and they can be run over a week (7 × daily) with protein held daily and the floors intact. The macro calculator gives you the three numbers to start from.
Educational overview only — not medical advice. Zyra is a training and nutrition tracking tool; the numbers here are the algorithm's rules and published reference values, not an individual prescription.