IIFYM Calculator (If It Fits Your Macros)

Calculate your daily calorie needs and macronutrient targets based on your body stats, activity level, and goals. Get personalized protein, carbohydrate, and fat recommendations using the Mifflin-St Jeor equation.

DAILY CALORIE TARGET
--
Calories
--
Protein
--
Carbs
--
Fat
--
BMR
--
TDEE
--

What is IIFYM?

IIFYM, which stands for "If It Fits Your Macros," is a flexible dieting approach that focuses on meeting daily macronutrient targets rather than restricting specific food groups. The core principle is simple: as long as you consume the right amounts of protein, carbohydrates, and fat each day, you have flexibility in choosing which foods you eat to meet those targets. This approach contrasts with traditional dieting methods that typically categorize foods as "good" or "bad" and impose strict food lists.

The IIFYM philosophy emerged from the bodybuilding and fitness community in the early 2010s as a reaction against overly restrictive "clean eating" protocols. Proponents argue that the body responds to macronutrients and total caloric intake rather than specific food sources, at least in terms of body composition changes. While this is largely supported by research on body weight management, nutritional science also recognizes the importance of micronutrients, fiber, and food quality for overall health beyond just body composition.

The foundation of IIFYM is calculating your Total Daily Energy Expenditure (TDEE) and then distributing those calories among the three macronutrients according to your goals. This calculator uses the Mifflin-St Jeor equation, considered the most accurate predictive equation for estimating Basal Metabolic Rate (BMR) in both normal-weight and overweight individuals.

Macronutrient Basics

The three macronutrients are the calorie-providing nutrients that your body needs in large quantities:

MacronutrientCalories per GramPrimary Functions
Protein4 kcal/gMuscle repair and growth, enzyme production, immune function, satiety
Carbohydrates4 kcal/gPrimary energy source, brain fuel, glycogen storage, fiber (digestive health)
Fat9 kcal/gHormone production, cell membrane structure, vitamin absorption, energy storage

Protein is often considered the most important macronutrient for body composition goals. It has the highest thermic effect of food (TEF), meaning your body burns more calories digesting protein than it does digesting carbs or fat. Protein also promotes satiety, helping you feel full longer, and is essential for preserving lean muscle mass during a caloric deficit. Good sources include lean meats, fish, eggs, dairy, legumes, and tofu.

Carbohydrates are your body's preferred energy source, especially for high-intensity exercise. They are stored as glycogen in muscles and the liver and are the primary fuel for your brain. Complex carbohydrates (whole grains, vegetables, legumes) provide sustained energy along with fiber and micronutrients, while simple carbohydrates (sugar, white bread) provide quick energy but less nutritional density.

Fat is essential for hormone production (including testosterone and estrogen), absorption of fat-soluble vitamins (A, D, E, K), and maintaining cell membrane integrity. Healthy fat sources include avocados, nuts, seeds, olive oil, and fatty fish. Despite being calorie-dense at 9 calories per gram, dietary fat is crucial and should not be eliminated from your diet.

Mifflin-St Jeor Formula

The Mifflin-St Jeor equation, published in 1990 by Dr. Mark Mifflin and Dr. Sachiko St Jeor, is considered the most reliable equation for estimating Basal Metabolic Rate (BMR) in the general population. A 2005 review by the American Dietetic Association confirmed its superiority over other predictive equations including Harris-Benedict.

Male BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age − 5

Female BMR = 10 × weight(kg) + 6.25 × height(cm) − 5 × age − 161

BMR represents the number of calories your body burns at complete rest to maintain basic life-sustaining functions such as breathing, circulation, cell production, and temperature regulation. It typically accounts for 60–75% of total daily calorie expenditure.

Activity Level Multipliers

To estimate Total Daily Energy Expenditure (TDEE), BMR is multiplied by an activity factor that accounts for daily movement and exercise:

LevelMultiplierDescription
Sedentary1.2Desk job, little or no exercise
Lightly Active1.375Light exercise or sports 1–3 days per week
Moderately Active1.55Moderate exercise or sports 3–5 days per week
Very Active1.725Hard exercise or sports 6–7 days per week
Extra Active1.9Very hard exercise, physical job, or training twice per day

Most people tend to overestimate their activity level. If you are unsure, it is better to select a lower activity level and adjust upward if needed. A common mistake is choosing "Very Active" when "Moderately Active" would be more accurate, leading to overeating based on inflated calorie targets.

Macro Splits Explained

The macro split determines what percentage of your daily calories comes from each macronutrient. Different splits serve different goals:

  • Balanced (40/30/30 — Carbs/Protein/Fat): A well-rounded split suitable for general fitness and maintenance. Provides adequate protein for muscle maintenance, sufficient carbs for energy, and enough fat for hormonal health.
  • High Protein (40/40/20 — Carbs/Protein/Fat): Ideal for those focused on building or preserving muscle mass, especially during a cut. The elevated protein helps maintain lean tissue while in a caloric deficit.
  • Low Carb (25/45/30 — Carbs/Protein/Fat): Reduces carbohydrate intake while increasing protein and maintaining moderate fat. Can be effective for individuals who respond better to lower carbohydrate diets or those with insulin sensitivity concerns.
  • Keto (5/70/25 — Carbs/Fat/Protein): A very low carbohydrate, high fat approach that shifts the body into ketosis, where fat becomes the primary fuel source. Requires careful adherence to maintain ketosis (typically under 20–50g of carbs per day).

How to Count Macros

Tracking macros effectively requires a systematic approach. Start by weighing and measuring your food using a kitchen scale (grams are more accurate than volume measurements). Use a food tracking app or database to log everything you eat and drink. Read nutrition labels carefully, paying attention to serving sizes. When eating out, estimate portions as accurately as possible using restaurant nutrition information when available.

Many people find it helpful to plan meals in advance, pre-logging food for the entire day to ensure they hit their targets. This "meal prepping" approach reduces guesswork and makes it easier to stay on track. Over time, you will develop an intuitive sense for portion sizes and macronutrient content, reducing your reliance on constant tracking.

IIFYM vs. Clean Eating

The debate between IIFYM and "clean eating" is one of the most persistent in nutrition circles. Clean eating emphasizes whole, unprocessed foods and often restricts certain food groups (refined sugar, processed foods, artificial ingredients). IIFYM focuses purely on macronutrient numbers without categorizing foods as clean or dirty.

In reality, the most effective and sustainable approach combines elements of both philosophies. Hitting your macro targets while prioritizing nutrient-dense whole foods gives you the flexibility of IIFYM with the health benefits of a whole-food diet. Aiming for roughly 80% of your intake from minimally processed, nutrient-dense foods while allowing 20% from less "optimal" sources is a practical guideline that many nutrition professionals recommend.

Macros for Weight Loss

When the goal is fat loss, creating a moderate caloric deficit (typically 500 calories below TDEE) is the primary driver. Within that deficit, protein intake becomes especially important for preserving muscle mass. Research consistently shows that higher protein intakes (1.6–2.2 g/kg of body weight) during a caloric deficit minimize muscle loss while supporting fat loss.

A 500-calorie daily deficit produces approximately 0.45 kg (1 pound) of fat loss per week, which is considered a safe and sustainable rate. Larger deficits may accelerate weight loss but increase the risk of muscle loss, metabolic adaptation, nutrient deficiencies, and decreased adherence. Patience and consistency are more effective long-term strategies than aggressive restriction.

Frequently Asked Questions

How accurate is the Mifflin-St Jeor equation?

The Mifflin-St Jeor equation is accurate to within 10% for approximately 70–80% of the population. Individual metabolism can vary due to genetics, body composition, hormonal factors, and other variables. Use the calculated values as a starting point and adjust based on real-world results over 2–4 weeks.

Do I need to hit my macros exactly every day?

No. Aim to be within 5–10 grams of each macro target. Consistency over weeks and months matters far more than perfection on any single day. Focus on weekly averages rather than obsessing over daily precision.

Should I eat back exercise calories?

The activity multiplier already accounts for exercise, so you generally should not add extra calories on workout days when using TDEE-based calculations. If you use a separate activity tracker, be cautious — most devices overestimate exercise calories by 30–50%.

Can I build muscle and lose fat at the same time?

Body recomposition (simultaneous fat loss and muscle gain) is possible but occurs more readily in beginners, those returning to training after a break, or overweight individuals. For most trained individuals, it is more efficient to focus on one goal at a time through dedicated bulking and cutting phases.

What if I'm not losing weight on these macros?

If you are not seeing expected results after 2–3 weeks of consistent tracking, reduce your daily calories by 100–200 kcal (typically from carbs or fat, keeping protein stable). Also verify your tracking accuracy — underestimating portion sizes and forgetting to log drinks, cooking oils, and condiments are common sources of hidden calories.

Is the keto split right for me?

The keto diet can be effective for weight loss and may have benefits for certain medical conditions (such as epilepsy), but it is not inherently superior to other macro splits for fat loss when calories are equated. It requires strict carbohydrate restriction and an adaptation period. Consult a healthcare provider before starting keto, especially if you have diabetes or other metabolic conditions.