HomeCalculatorsHealthIIFYM Calculator

IIFYM Calculator

Health

Calculate your IIFYM macro targets — protein set by bodyweight, fat as a percentage of calories, and carbs filling the rest — based on your TDEE and goal.

1580
30200
100250

Daily Calories

2,250
Protein (g/day)
154
Fat (g/day)
63
Carbs (g/day)
267
TDEE — Maintenance Calories
2,250

This calculator computes your Daily Calories, Protein (g/day), Fat (g/day), Carbs (g/day), TDEE — Maintenance Calories from the values you enter.

Inputs
GenderAgeWeightHeightActivity LevelGoal
Outputs
Daily CaloriesProtein (g/day)Fat (g/day)Carbs (g/day)TDEE — Maintenance Calories

What is a IIFYM?

An IIFYM Calculator determines your daily macronutrient targets — protein, fat, and carbohydrates — using the "If It Fits Your Macros" method popularized in flexible dieting and bodybuilding communities. Unlike calculators that split calories into fixed percentages for all three macros, the IIFYM method sets protein first based on body weight (since protein needs scale with lean mass, not total calorie intake), sets fat as a percentage of the calorie budget, and lets carbohydrates fill whatever calories remain.

This calculator starts by estimating your Total Daily Energy Expenditure (TDEE) using the Mifflin-St Jeor equation, adjusted for your goal — a calorie deficit for cutting, maintenance calories for holding steady, or a surplus for bulking. From there, it applies the bodyweight-first protein allocation that distinguishes IIFYM from simpler tools like the Macro Calculator, which uses fixed macro percentages regardless of body weight. If your priority is total macro flexibility rather than a rigid meal plan, the IIFYM approach is designed specifically for that.

How to use this IIFYM calculator

  1. Select your Gender — Male or Female.
  2. Enter your Age, Weight in kilograms, and Height in centimetres.
  3. Choose your Activity Level from the dropdown, matching your typical weekly exercise pattern.
  4. Select your Goal — Cut, Maintain, or Bulk.
  5. Review the Daily Calories result and your Protein, Fat, and Carbs targets in grams.
  6. Compare the TDEE figure to your goal-adjusted calorie target to see the size of your deficit or surplus.

Formula & Methodology

BMR (Mifflin-St Jeor equation):

Male: BMR = 10 × Weight(kg) + 6.25 × Height(cm) − 5 × Age + 5

Female: BMR = 10 × Weight(kg) + 6.25 × Height(cm) − 5 × Age − 161

TDEE:

TDEE = BMR × Activity Multiplier (1.2 to 1.9)

Goal-adjusted daily calories:

Cut: TDEE × 0.80 (≈20% deficit) · Maintain: TDEE · Bulk: TDEE × 1.10–1.15 (≈10–15% surplus)

IIFYM macro allocation (bodyweight-first):

Protein(g) = Weight(kg) × 2.2

Fat(g) = (DailyCalories × 0.275) ÷ 9

Carbs(g) = (DailyCalories − Protein×4 − Fat×9) ÷ 4

Worked example: A 70 kg, 30-year-old male, 175 cm tall, moderately active, aiming to Cut: BMR ≈ 1,674 kcal, TDEE ≈ 1,674 × 1.55 ≈ 2,595 kcal, Daily Calories ≈ 2,595 × 0.80 ≈ 2,076 kcal. Protein = 70 × 2.2 = 154g (616 kcal). Fat = (2,076 × 0.275) ÷ 9 ≈ 63g (571 kcal). Remaining calories for carbs = 2,076 − 616 − 571 ≈ 889 kcal → Carbs ≈ 222g.

For a fuller definition, see our glossary entry on IIFYM.

Frequently Asked Questions

IIFYM stands for 'If It Fits Your Macros' — a flexible dieting approach that focuses on hitting daily targets for protein, fat, and carbohydrates rather than restricting specific foods. As long as a meal fits within your macro targets for the day, the source of those calories (whether from chicken and rice or a slice of pizza) is considered flexible. It grew popular in bodybuilding and fitness communities as an alternative to rigid meal plans.
This calculator uses the IIFYM-specific allocation method: protein is set first based on your body weight (roughly 2.2g per kg), fat is set as a fixed percentage of total calories (around 25–30%), and carbohydrates fill whatever calories remain. Many generic macro calculators instead split all three macros as fixed percentages of total calories, which can under-allocate protein for lighter individuals or over-allocate it for heavier ones. The bodyweight-first method is closer to how flexible dieting coaches actually prescribe macros.
This calculator allocates protein at approximately 2.2 grams per kilogram of body weight, a level well-supported by sports nutrition research for supporting muscle retention and growth during both calorie deficits and surpluses. For a 70 kg person, that works out to roughly 154g of protein per day. This is set before fat and carbs are calculated, since protein needs are driven by body weight rather than total calorie intake.
The IIFYM Calculator allocates fat as approximately 25–30% of total daily calories, which is within the range recommended by most dietary guidelines for supporting hormone production and nutrient absorption. Fat is calculated after protein because protein needs are fixed by body weight, and fat is calculated as a percentage of the remaining calorie budget after accounting for the goal-adjusted calorie target.
No — in the IIFYM approach, carbohydrates simply fill the remaining calories after protein and fat targets are met, and they are treated as an important energy source rather than something to minimize. Athletes and people with high activity levels often benefit from higher carb intake to fuel training and recovery. This calculator's carb allocation will typically be the largest of the three macros for most activity levels and goals.
IIFYM prioritizes hitting protein, fat, and carb targets with flexibility in food choice, and generally allows moderate-to-high carbohydrate intake depending on the remaining calorie budget. The [Keto Calculator](/keto-calculator/), by contrast, deliberately restricts carbohydrates to 5–10% of calories to induce ketosis, with fat making up the vast majority of intake. They are different macro strategies suited to different goals and preferences.
Enter your gender, age, weight in kilograms, and height in centimetres. Select your activity level from the dropdown, being honest about your typical weekly exercise. Then choose your goal — Cut, Maintain, or Bulk — and the calculator will show your daily calorie target along with protein, fat, and carb targets in grams.
This calculator uses evidence-based defaults (2.2g/kg protein, ~25–30% fat) that work well for most people pursuing flexible dieting, so manual adjustment isn't built into the tool. If you have specific needs — for example, a physician-recommended higher protein intake — you can use the [Protein Calculator](/protein-calculator/) to explore alternative protein targets by activity level and goal.
Switching your goal changes your total daily calorie target — a Cut applies a calorie deficit below TDEE while a Bulk applies a surplus — which directly changes how many carbs you're allocated, since carbs fill the remaining calories after protein and fat. Your protein target stays roughly the same (since it is based on body weight, not calorie level), while your fat and carb grams shift up or down with the new calorie total.
Yes, IIFYM works well for weight loss because it uses a calorie deficit combined with adequate protein intake, which research consistently shows helps preserve lean muscle mass during fat loss. The flexibility of choosing your own foods within the macro targets also tends to improve long-term diet adherence compared to highly restrictive meal plans, which is often the deciding factor in whether a diet succeeds.
TDEE (Total Daily Energy Expenditure) is your estimated maintenance calorie level — the number of calories that would keep your weight stable given your current activity level. The IIFYM Calculator shows your TDEE alongside your goal-adjusted daily calories so you can see exactly how much of a deficit or surplus your chosen goal creates. For a deeper breakdown of TDEE alone, see the [TDEE Calculator](/tdee-calculator/).
Also known as
IIFYMif it fits your macros calculatorflexible dieting calculatormacro calculator bodyweight proteinIIFYM macros