The short version
To calculate macros, start with your maintenance calories, choose a goal, set protein first, set a healthy fat range second, then let carbohydrates fill the remaining calories. The formula matters, but the system matters more: your macros should be realistic enough that you can repeat them for weeks. If you want a fast starting point, use the free Macrly macro calculator and treat the result as your first draft.
What is IIFYM?
IIFYM stands for “If It Fits Your Macros.” It is a flexible dieting approach where the focus is not on labeling foods as clean or forbidden. Instead, you aim to hit daily targets for calories, protein, carbs and fats. That means a bowl of oats, a burrito, rice and chicken, yogurt, fruit or a dessert can all fit if the total day still matches your numbers.
The benefit is flexibility. You can eat around work, family dinners, training sessions and social plans without feeling like one imperfect meal ruined everything. The tradeoff is that you need clear targets. Without targets, “flexible” can become vague. With targets, IIFYM becomes a simple decision filter: does this meal help me land close to my protein, calories and energy needs today?
Step 1: calculate BMR and TDEE
BMR: your baseline burn
BMR, or basal metabolic rate, estimates the energy your body uses at rest. It is influenced by body size, age, sex and lean mass. Most macro calculators start here because it creates a baseline before activity is added. You do not need to obsess over the exact equation. A BMR estimate is not a commandment; it is a starting point.
TDEE: your real daily target
TDEE means total daily energy expenditure. It is BMR plus movement, workouts, steps, digestion and daily activity. If BMR is what you burn at rest, TDEE is closer to your maintenance calories: the intake where body weight should stay roughly stable over time. From there, set your goal. For fat loss, many people start with a moderate deficit. For lean gaining, a small surplus is usually easier to control. For maintenance, stay near TDEE and monitor your trend.
Shortcut: enter your stats, activity and goal in Macrly’s IIFYM calculator. It estimates TDEE and converts the calorie target into protein, carbs and fats automatically.
Step 2: split calories into protein, carbs and fats
Protein first
Protein is usually the least negotiable macro for body composition. It supports muscle repair, helps with satiety and makes dieting easier to manage. A practical starting range is about 0.7–1.0 grams of protein per pound of goal body weight, or about 1.6–2.2 grams per kilogram. If you are very active, dieting aggressively or lifting weights, start toward the higher end.
Fats second
Dietary fat supports hormones, vitamin absorption, taste and satisfaction. Going extremely low-fat often makes a plan harder to follow. Many people do well with roughly 20–30% of calories from fat, then adjust based on preference. If you love fattier foods, keep fats a little higher and reduce carbs. If you perform better with more carbs, keep fats in a moderate range.
Carbs fill the rest
Carbs are the easiest lever to move after protein and fats are set. They fuel training, support high-output days and make meals more satisfying for many people. Once calories, protein and fat are assigned, the remaining calories become carbs. This is why two people can have the same calories but different macro splits: food preference and training style matter.
Concrete macro examples
Example 1: fat loss
Imagine someone maintains around 2,400 calories and wants a steady fat-loss phase. A starting target could be 2,050 calories. If protein is set at 170 g, that is 680 calories. If fats are set at 65 g, that is 585 calories. The remaining 785 calories become about 196 g of carbs. The daily target is roughly 2,050 calories, 170 g protein, 196 g carbs and 65 g fat.
Example 2: lean muscle gain
Imagine someone maintains around 2,700 calories and wants to gain slowly. A starting target could be 2,900 calories. If protein is 160 g, that is 640 calories. If fats are 80 g, that is 720 calories. The remaining 1,540 calories become about 385 g of carbs. The target is roughly 2,900 calories, 160 g protein, 385 g carbs and 80 g fat.
These are not magic numbers. They are educated starting points. The right macro plan is the one that moves your weekly trend in the right direction while still feeling possible. If you want the math done for your stats instead of examples, calculate your macros with Macrly.
Step 3: track trends and adjust
The first macro target is never perfect. Your metabolism, steps, training, sleep and tracking accuracy all affect the outcome. Instead of reacting to one weigh-in, look at a weekly average. If fat loss stalls for two to three weeks, reduce calories slightly or increase activity. If weight drops too quickly and training performance suffers, add a small amount back. If you are gaining faster than planned, reduce the surplus.
Keep adjustments boring. A change of 100–200 calories is often enough. Protein usually stays stable. Carbs and fats can move based on preference. The goal is not to win a spreadsheet; the goal is to create an eating structure that produces results while fitting your life.
Common macro mistakes
Changing targets too fast
The biggest IIFYM mistake is treating every day like a verdict. A salty dinner, a hard leg session or a late meal can move scale weight without changing body fat. Give your targets enough time to produce a trend before you cut calories again. If you adjust after every fluctuation, you never learn whether the plan worked.
Ignoring food quality
Flexible dieting does not mean micronutrients, fiber and meal timing are irrelevant. Most of your intake should still come from foods that keep you full, digest well and support training. Use flexibility for adherence, not as an excuse to build every day from snacks that leave you hungry two hours later.
Making the plan too precise
Macro targets are estimates, so you do not need perfection. Landing within a small range is usually more useful than forcing exact grams at the cost of consistency. If your protein is solid, calories are close and your weekly trend is moving correctly, the plan is doing its job. For an easier starting range, use the Macrly calculator and refine from real-world feedback.
Turn macros into meals
Calculating macros is only step one. The harder part is turning those numbers into meals you want to eat. Macrly Pro takes your macro targets and builds a personalized 7-day meal plan with a grocery list, so you can stop guessing what fits.
FAQ
What does IIFYM mean?
IIFYM means If It Fits Your Macros. Instead of banning specific foods, you set daily protein, carbohydrate, fat and calorie targets, then build meals that fit those numbers.
Should I calculate macros or just count calories?
Calories drive weight change, but macros shape how you feel, train and recover. Protein protects lean mass, fats support hormones and satiety, and carbs fuel performance.
How often should I update my macro targets?
Review your weekly weight trend, hunger and training performance every two to four weeks. Small adjustments work better than changing your plan every day.
Can Macrly calculate my macros for free?
Yes. The Macrly calculator estimates calories, protein, carbs and fats for free. Macrly Pro adds a personalized 7-day meal plan and grocery list for $7/month.