Iifym Calculator - Flexible Dieting Macro Split
Use this iifym calculator to set daily protein, carb, and fat grams from body weight, body fat, activity, and calorie goal with a balance check.
Iifym Calculator
Results
What Is Iifym Calculator?
An iifym calculator is a flexible-dieting planning tool that converts body weight, body fat, and activity into daily protein, carb, and fat gram targets using a simple energy balance model. The IIFYM approach (If It Fits Your Macros) lets you choose what to eat as long as the macro targets are met, so this calculator is useful for lifters, endurance athletes, recreational dieters, and coaches preparing a starting macro plan.
- • Fat loss plan: 20 percent deficit with a higher protein g/kg target.
- • Lean bulk plan: 10 percent surplus with a 2.2 g/kg protein target.
- • Maintenance re-feed: Hold calories at TDEE and balance macros around training days.
- • Recomposition start: Pick a moderate protein preset and a moderate fat percent.
IIFYM is a tracking method, not a weight-loss diet. The macro targets are a daily envelope, and the food choices can be whole foods, lean protein, complex carbs, healthy fats, and the occasional treat.
These are starting targets, not a medical prescription. People with diabetes, kidney disease, eating disorders, or pregnancy should review the plan with a registered dietitian first.
The flex-dieting approach overlaps with a general macro split, so the Macro Calculator is a useful cross-check when the IIFYM plan needs to be translated into a daily food log.
How Iifym Calculator Works
The iifym calculator runs three short steps: it estimates BMR with the Mifflin-St Jeor or Katch-McArdle equation, multiplies BMR by an activity factor to get TDEE, then splits the calorie goal into protein, fat, and carbohydrate grams using the 4-4-9 energy model.
- Sex, age, height, weight: Drive the Mifflin-St Jeor BMR. Adding body fat switches to the Katch-McArdle BMR.
- Activity factor: 1.2 sedentary to 1.9 very active. Multiplies BMR to get TDEE.
- Calorie goal: Lose applies a 20 percent deficit, maintain keeps TDEE, gain adds a 10 percent surplus. A 1,500/1,200 kcal floor is enforced.
- Protein preset: Maintenance 1.6, fat loss 2.0, muscle gain 2.2 g/kg, or a custom g/kg value.
- Fat percentage of total calories: Default 25 percent. Fat grams are converted from total calories using 9 kcal per gram.
- Carbohydrate target: The remaining calories after protein and fat are converted into carb grams using 4 kcal per gram.
The Mifflin-St Jeor equation is the most accurate BMR predictor for healthy adults in the original validation study and is the default when body fat is left blank.
The 4-4-9 energy model is the standard Atwater conversion used in nutrition labeling. The macro grams are multiplied by their energy densities, summed, and compared with the target calories.
Worked example
30-year-old male, 175 cm, 80 kg, moderate activity, fat loss, 2.0 g/kg protein, 25 percent fat.
BMR = 1,749, TDEE = 2,711, Target = 2,169 kcal. Protein = 160 g, Fat = 60 g, Carbs = 247 g.
Calorie math: 2,168 kcal, within 1 kcal of the target.
A 20 percent deficit, 2.0 g/kg protein, and a flexible carb envelope for training days.
According to Mifflin-St Jeor BMR validation (Mifflin MD, St Jeor ST, Hill LA, et al.), the Mifflin-St Jeor equation is the most accurate BMR predictor for healthy non-obese and obese adults and is computed as 10 x weight_kg + 6.25 x height_cm - 5 x age + 5 for men or -161 for women.
The calorie basis for the IIFYM plan is total daily energy expenditure, and the TDEE Calculator is the dedicated place to confirm the activity multiplier and BMR before the macro split is applied.
Key Concepts Explained
Four ideas hold the iifym macro plan together. They are the same ideas registered dietitians use when they build a flexible-dieting plan.
BMR and TDEE
BMR is the resting calorie burn. TDEE adds movement, exercise, and the thermic effect of food.
Calorie goal direction
A 20 percent deficit supports fat loss, maintenance keeps weight stable, and a 10 percent surplus supports lean muscle gain.
Protein grams per kilogram
The 2017 ISSN position stand recommends 1.4 to 2.0 g/kg for healthy adults, with up to 3.1 g/kg during hypocaloric periods.
4-4-9 energy model
Protein and carbohydrates each provide 4 kcal per gram, fat provides 9 kcal per gram. The macro grams must sum back to the target calories.
A typical protein preset is enough for most users. Pick fat loss (2.0 g/kg) when below TDEE, muscle gain (2.2 g/kg) when above, and maintenance (1.6 g/kg) at TDEE.
Protein is the macro that protects muscle in a deficit and supports hypertrophy in a surplus, so the Protein Intake Calculator is a useful companion when the IIFYM plan needs a deeper review of the g/kg choice.
How to Use This Calculator
The calculator walks through a few short steps. Use real measurements and adjust the calorie goal when weekly progress stalls.
- 1 Enter your basics: Pick sex, age, height, body weight, and optional body fat.
- 2 Pick an activity factor: Match the factor to your weekly training load.
- 3 Set the calorie goal: Use lose, maintain, or gain to set the direction.
- 4 Choose a protein preset: Pick the preset that matches the goal.
- 5 Set the fat percentage: Default 25 percent; lower for high-carb, raise for low-carb.
- 6 Read the macro targets: The result shows calories, macros, BMR, TDEE, and a balance note.
A 30-year-old male, 175 cm, 80 kg, moderate activity, fat loss goal, 2.0 g/kg protein, 25 percent fat returns 2,169 kcal, 160 g protein, 247 g carbs, 60 g fat, BMR 1,749, TDEE 2,711.
Carbs are the remaining calories after protein and fat, and the Carbohydrate Calculator is the right companion when the IIFYM plan needs a separate review of carb timing around training.
Benefits of Using This Calculator
The result is a flexible macro plan you can build a day around. The numbers update as the inputs change.
- • Two BMR methods: Switches between Mifflin-St Jeor and Katch-McArdle so the calorie basis is right for general users and lean or muscular athletes.
- • Evidence-based protein presets: Maintenance 1.6, fat loss 2.0, and muscle gain 2.2 g/kg come from the 2017 ISSN position stand.
- • Safe calorie floor: Clamps the calorie target to 1,500 kcal for men and 1,200 kcal for women, with a clear note when applied.
- • Calorie balance check: Compares the macro grams back to the target calories and surfaces any rounding difference.
- • Flexible fat percent: Default 25 percent balances essential fatty acids and carb flexibility.
Use the calculator to set a starting macro plan, then revisit it every 4 to 6 weeks as body weight, training load, or goal changes.
Track protein, carbs, and fat grams for a few days, then rely on rough portions once the pattern is in place.
The macro grams are anchored to a daily calorie target, and the Calorie Calculator is the right place to confirm the underlying calorie basis when the IIFYM plan needs to be reconciled with a different calorie-driven goal.
Factors That Affect Your Results
Several inputs and assumptions change the macro plan. These factors explain when to revisit the calculator.
Body fat percentage accuracy
An accurate body fat percentage lets the calculator use the Katch-McArdle BMR. A DEXA scan is more reliable than a tape estimate, and a rough guess can shift BMR by 100 to 200 kcal.
Activity factor calibration
The activity factor is the largest source of variance. Most people overestimate their activity level; picking one factor below the description often matches real-world TDEE.
Calorie goal direction
Larger deficits and surpluses produce faster changes but also larger rebound risk. A 20 percent deficit and a 10 percent surplus are conservative starting points.
Protein preset selection
Higher protein presets (2.0 to 2.2 g/kg) are well tolerated by healthy adults with normal kidney function. Review with a registered dietitian if you have chronic kidney disease.
- • The calculator is a starting plan, not a medical prescription. People with diabetes, kidney disease, pregnancy, eating disorders, or who are underweight should review with a registered dietitian first.
- • The 4-4-9 energy model rounds grams to whole numbers, so the macro sum can land within a few kilocalories of the target.
- • The Mifflin-St Jeor and Katch-McArdle equations estimate BMR for healthy adults and do not adjust for unusual metabolisms. Revisit the plan every 4 to 6 weeks.
Safe calorie floors are the most important guardrail. A 20 percent deficit on a 1,300 kcal TDEE would push the target below 1,200 kcal, so the calculator clamps to 1,200 kcal for women or 1,500 kcal for men.
Re-evaluate the plan after the first 4 to 6 weeks. If body weight has dropped by 1 to 2 pounds per week, keep the plan. If stalled, drop the calorie goal by 100 to 200 kcal or add one more training session.
According to International Society of Sports Nutrition (Jager R, Kerksick CM, Campbell BI, et al.), daily protein intakes of 1.4 to 2.0 g/kg are sufficient for most exercising adults, 2.3 to 3.1 g/kg may be needed to maximize lean body mass retention during hypocaloric periods, and the 4-4-9 kcal-per-gram model is the accepted energy conversion for protein, carbohydrate, and fat.
According to Centers for Disease Control and Prevention, a gradual, steady pace of about 1 to 2 pounds per week is more likely to be kept off than quick weight loss, and people considering very low calorie intake should talk with a health care provider before starting.
The 20 percent deficit and safe calorie floor are the most important guardrails in the IIFYM plan, and the Calorie Deficit Calculator is the right place to revisit the size and safety of the deficit when body weight or training changes.
Frequently Asked Questions
Q: What does an iifym calculator do?
A: An iifym calculator estimates BMR from body weight, height, age, and sex, multiplies by an activity factor for TDEE, then splits the calorie goal into protein, carb, and fat grams using the 4-4-9 energy model.
Q: How many grams of protein per kilogram of body weight should I eat?
A: The 2017 ISSN position stand recommends 1.4 to 2.0 g/kg for most exercising adults, with 2.3 to 3.1 g/kg during hypocaloric periods to maximize lean mass retention.
Q: How are carbs and fat calculated after protein is set?
A: After protein is set, the chosen fat percent of total calories is converted into fat grams at 9 kcal per gram. The remaining calories become carbohydrate grams at 4 kcal per gram.
Q: What calorie deficit should I use for fat loss?
A: A 20 percent deficit from TDEE is a conservative starting point and supports gradual weight loss of about 1 to 2 pounds per week, with a 1,500 kcal floor for men and 1,200 kcal for women.
Q: Can I eat any food on iifym and still lose weight?
A: Yes, as long as the daily protein, carb, and fat grams are met and total calories stay on target. Flexible dieting works because the macro envelope is met, not because specific foods are banned.
Q: How often should I update my iifym macro targets?
A: Re-evaluate the plan every 4 to 6 weeks or whenever body weight, training load, or goal changes. Adjust the calorie goal by 100 to 200 kcal when weekly progress stalls before changing the protein preset.