What is Flexible dieting (IIFYM)?
Flexible dieting is a way of eating that judges a diet by its numbers, not by which foods are on a good or bad list. You set a daily calorie target and split it into three macronutrients, protein, carbohydrate, and fat, then eat whatever combination of foods lets you land on those targets. The name IIFYM, If It Fits Your Macros, captures the whole rule: if a food fits inside your remaining protein, carb, and fat budget for the day, you can eat it.
A serving of rice, a scoop of whey, an apple, and a square of chocolate are all just packages of macros, and any of them can earn a place in your day. This stands in direct contrast to rigid dieting, which works from fixed menus, forbidden foods, and all-or-nothing rules where one off-plan bite means the day is blown.
Flexible dieting removes the moral weight from food. Nothing is cheating, because the only question is whether the numbers still add up. In practice most people who eat this way still build the bulk of their intake from nutrient-dense whole foods for fibre, micronutrients, and fullness, then spend a smaller slice of their calories on foods they simply enjoy. That practical split is why the method is popular with physique athletes, recreational lifters, and anyone who has burned out on restrictive plans, because it lets you diet for fat loss, muscle gain, or maintenance without giving up social meals, favourite foods, or your sanity.
How it works
Flexible dieting works because body weight is governed by energy balance, and body composition is shaped mostly by total calories and protein, not by the specific foods those calories come from. You start by estimating your total daily energy expenditure, then set calories above it to gain, below it to lose, or at it to maintain.
A common deficit for fat loss is roughly 15 to 25 percent below maintenance, near 300 to 700 calories a day for most people, which yields about 0.5 to 1 percent of bodyweight lost per week. Next you assign macros. Protein is set first because it protects muscle in a deficit and drives fullness; evidence-based ranges sit around 1.6 to 2.2 grams per kilogram of bodyweight per day for trainees, pushed toward the top end when dieting hard.
Fat is set next, usually near 0.5 to 1 gram per kilogram to support hormones and satiety, and carbohydrate fills the remaining calories to fuel training. Each gram of protein and carbohydrate carries about 4 calories and each gram of fat about 9, so the three targets always reconcile back to your calorie number. From there you track intake with a food scale and an app, checking foods off against your remaining budget through the day. The mechanism that makes it sustainable is behavioural, not metabolic: because no food is off limits, you avoid the restrict-then-binge cycle that sinks rigid diets, and adherence over months is what actually changes your body.
The formula
Calories = (protein g x 4) + (carbohydrate g x 4) + (fat g x 9)
Set protein first (1.6 to 2.2 g/kg), then fat (0.5 to 1 g/kg), then fill the rest of your calorie target with carbohydrate. The three macros must always add back up to your daily calories.
How to apply it
- Set your calorie target: Estimate maintenance from your total daily energy expenditure, then adjust. For fat loss subtract roughly 15 to 25 percent, near a 300 to 700 calorie deficit; to gain, add about 5 to 15 percent. This number anchors everything else.
- Fix protein first: Protein is the priority macro. Set it around 1.6 to 2.2 grams per kilogram of bodyweight per day, higher in a deficit to protect muscle. This is the single most important target to hit, so build meals around a protein source each time.
- Set fat, then fill carbs: Assign fat near 0.5 to 1 gram per kilogram for hormones and satiety, then let carbohydrate take the remaining calories. Lifters chasing performance skew carbs higher; those who feel better on fat can shift the balance, as long as protein and calories hold.
- Track with a scale and app: Weigh foods in grams and log them against your daily budget in an app. Accurate tracking is what separates flexible dieting from guessing. Most people tighten up for a few weeks, then loosen once they can eyeball common portions reliably.
- Apply the 80/20 rule: Build roughly 80 percent of your calories from whole, minimally processed foods for fibre and micronutrients, and leave about 20 percent for foods you simply enjoy. This keeps the diet nutritious without making any single food forbidden.
- Adjust from real data: Weigh yourself several mornings a week and track the weekly average, not daily noise. If the trend stalls against your goal for two to three weeks, change calories by about 5 to 10 percent rather than slashing food or adding endless cardio.
Worked example
Take an 80 kg lifter who wants to lose fat while keeping muscle. Maintenance is estimated at about 2,600 calories, so a 20 percent deficit sets the target near 2,100 calories. Protein is anchored high to protect muscle, fat is set for hormones and fullness, and carbohydrate fills the rest.
| Macro | Target | Rule used | Calories |
|---|---|---|---|
| Protein | 176 g | 2.2 g/kg bodyweight | 704 |
| Fat | 64 g | 0.8 g/kg bodyweight | 576 |
| Carbohydrate | 205 g | Fills remaining calories | 820 |
| Total | - | - | ~2,100 |
Any foods that add up to these numbers work. A day might mix chicken, rice, oats, fruit, Greek yoghurt, and a couple of squares of chocolate. Hit the protein target and the calorie total most days of the week and this lifter loses roughly 0.5 to 0.8 kg per week while holding strength.
Flexible dieting vs clean eating
| Flexible dieting (IIFYM) | Clean eating | |
|---|---|---|
| Core rule | Hit macro and calorie targets | Only eat approved whole foods |
| Food list | No banned foods | Foods labelled clean or dirty |
| What decides intake | The numbers | The food's category |
| Main risk | Poor food quality if numbers are abused | Restriction, guilt, binge cycles |
| Best for | Precise body-composition goals | Simplicity without tracking |
The two are not enemies. Most successful flexible dieters eat mostly clean-eating style whole foods for fibre and micronutrients, then use the flexible framework to fit in treats without guilt. Flexible dieting sets the targets; food quality decides how good you feel hitting them.
By goal
- Fat loss: Run a moderate deficit near 15 to 25 percent below maintenance and push protein toward 2.2 grams per kilogram to protect muscle and stay full. Prioritise high-volume, high-fibre foods so a smaller calorie budget still feels like enough food.
- Muscle gain: Set a small surplus of roughly 5 to 15 percent over maintenance, keep protein around 1.6 to 2.2 grams per kilogram, and let carbohydrate run high to fuel hard training. The flexibility makes eating enough easier when appetite lags a lean bulk.
- Maintenance and long term: Eat at maintenance calories and loosen tracking once portions are second nature. Many people move to tracking protein only, or checking macros a few days a week, using the framework as a mental model rather than a daily spreadsheet.
Common misconceptions
- "IIFYM means you can eat only junk food and get lean." You can technically hit macros on poor-quality food, but you will feel hungry, under-fuelled, and short on fibre and micronutrients. In practice flexible dieters build most intake from whole foods and use the flexible margin, often around 20 percent, for discretionary choices.
- "Food quality does not matter, only macros." Macros and calories drive weight and body composition, but food quality drives health, digestion, satiety, and training performance. Fibre, micronutrients, and protein source all matter. IIFYM prioritises the numbers, it does not claim quality is irrelevant.
- "Flexible dieting is just an excuse to eat treats." The framework demands accurate tracking and a real calorie and protein target every day, which is more disciplined than most eating patterns. The treats fit only because the numbers are controlled, not because rules are ignored.
- "You must weigh and log food forever." Strict tracking is a skill-building phase, not a life sentence. Once you can estimate portions and know the macros of your staple meals, most people track less often, monitor protein and weight trends, and reserve full logging for when a goal changes.
Related terms
Flexible dieting (IIFYM) FAQ
What is flexible dieting in simple terms?
Flexible dieting means setting daily targets for protein, carbohydrate, and fat, then eating any foods that add up to those numbers. Nothing is banned. Also called IIFYM, it lets you control calories and body composition while still fitting in foods you enjoy each day.
What does IIFYM stand for?
IIFYM stands for If It Fits Your Macros. The phrase is the whole rule: if a food fits inside your remaining daily protein, carb, and fat budget, you can eat it. It is the most common nickname for flexible dieting and macro counting.
Can you really eat anything on IIFYM and still lose fat?
Yes, because fat loss depends on eating fewer calories than you burn, not on which foods supply them. As long as your food choices keep you inside your calorie and protein targets, you lose fat. Whole foods just make staying inside those targets far easier.
What is the 80/20 rule in flexible dieting?
The 80/20 rule means building roughly 80 percent of your calories from whole, nutrient-dense foods and leaving about 20 percent for foods you simply enjoy. It keeps the diet high in fibre and micronutrients while making sure no favourite food is off limits or guilt-inducing.
How do I calculate my macros for IIFYM?
First set calories from your total daily energy expenditure, adding or subtracting for your goal. Then set protein at 1.6 to 2.2 grams per kilogram of bodyweight, fat at 0.5 to 1 gram per kilogram, and let carbohydrate fill the rest of your calories.
How much protein should I eat on flexible dieting?
Most trainees do well on 1.6 to 2.2 grams of protein per kilogram of bodyweight per day, pushed toward the higher end when dieting for fat loss to protect muscle. Protein is the priority macro, so set and hit it before worrying about carbs and fat.
Is flexible dieting better than clean eating?
Neither is strictly better; they answer different questions. Flexible dieting controls calories and macros precisely, which suits body-composition goals. Clean eating is simpler and needs no tracking. Most people combine them: mostly whole foods, fitted inside flexible targets, which captures the strengths of both.
Do I have to weigh all my food forever?
No. Weighing and logging is a learning phase that teaches you portion sizes and the macros of your usual meals. After a few weeks or months most people track less often, monitor protein and weight trends, and only log fully when a goal changes.
Is flexible dieting safe or does it cause eating disorders?
Research links rigid, all-or-nothing dieting to disordered eating and mood problems, while flexible dieting shows weaker or no such links. For most people the no-banned-foods approach reduces guilt and bingeing. Anyone with a history of disordered eating should work with a professional before tracking macros.
Does meal timing matter on IIFYM?
For fat loss and general body composition, total daily calories and protein matter far more than timing. Spreading protein across three to five meals of at least 0.4 grams per kilogram helps muscle growth, but when you eat carbs and fat is mostly personal preference.
References
- Aragon AA, Schoenfeld BJ, et al. International society of sports nutrition position stand: diets and body composition. J Int Soc Sports Nutr, 2017
- Stewart TM, Williamson DA, White MA. Rigid vs. flexible dieting: association with eating disorder symptoms in nonobese women. Appetite, 2002. PubMed 12160567
- Linardon J, Mitchell S. Rigid dietary control, flexible dietary control, and intuitive eating: Evidence for their differential relationship to disordered eating and body image concerns. Eating Behaviors, 2017. PubMed 28131005
- Helms ER, Aragon AA, Fitschen PJ. Evidence-based recommendations for natural bodybuilding contest preparation: nutrition and supplementation. J Int Soc Sports Nutr, 2014
- Westenhoefer J, Stunkard AJ, Pudel V. Validation of the flexible and rigid control dimensions of dietary restraint. Int J Eat Disord, 1999. PubMed 10336790
- Jager R, Kerksick CM, Campbell BI, et al. International Society of Sports Nutrition Position Stand: protein and exercise. J Int Soc Sports Nutr, 2017
Stop guessing. Start tracking.
Nishaana logs the numbers behind Flexible dieting (IIFYM) automatically — free in your browser.
Start free