What are macros?
Macronutrients — or macros — are the three main energy-providing nutrients in food: protein, carbohydrates, and fat. Each supplies a specific number of calories per gram: protein and carbs each deliver 4 kcal/g, while fat delivers 9 kcal/g. Hitting your daily calorie target is the single biggest lever for changing body weight; how you split those calories between protein, carbs, and fat determines your body composition — how much of any weight change is muscle versus fat.
What is IIFYM (If It Fits Your Macros)?
IIFYM stands for If It Fits Your Macros. Rather than following a rigid meal plan with specific "allowed" foods, IIFYM gives you a daily target for each macronutrient and lets you choose any foods that add up to those numbers. The approach blends the precision of counting with the flexibility to include any food you enjoy, which makes it easier to stick to long-term than restrictive diets.
The flexibility does not mean anything goes — you still need to hit your calorie target and ideally prioritise micronutrient-dense whole foods. But within those constraints, a Friday-night takeaway that fits your macros is perfectly compatible with your goals.
How the macro split is calculated
This calculator first computes your TDEE (Total Daily Energy Expenditure) using the Mifflin-St Jeor equation — or the Katch-McArdle formula if you supply a body-fat percentage — then multiplies it by a two-axis activity factor (daily occupation + structured exercise). See the TDEE calculator for a deeper breakdown of that step.
Your selected goal then applies a calorie adjustment to the TDEE to produce your daily target (with a 1,200 kcal floor for safety):
- Lose weight — −500 kcal deficit (≈ 0.5 kg / 1 lb per week)
- Maintain — no adjustment
- Gain muscle — +300 kcal surplus (lean bulk, minimises fat gain)
That calorie total is then divided between protein, carbs, and fat according to the chosen diet preset:
- Balanced — 30% protein / 40% carbs / 30% fat — the evidence-backed starting point for most people
- High-Protein — 40% / 30% / 30% — ideal when building or preserving muscle, or on a deficit
- Low-Carb — 40% / 20% / 40% — reduces carbohydrate and raises fat; suits those sensitive to carbs
- High-Carb — 25% / 55% / 20% — maximises glycogen for endurance athletes and heavy training days
Grams are calculated by dividing the allocated calories by the caloric density of each nutrient: (target kcal × ratio) ÷ 4 for protein or carbs, ÷ 9 for fat.
Which diet preset should I choose?
Balanced is the right default for most people. High-Protein is the best choice when you are on a calorie deficit and want to preserve muscle — protein is satiating and muscle-sparing. Low-Carb suits anyone who finds carbs trigger cravings or blood-sugar spikes. High-Carb is designed for endurance athletes or people doing heavy daily training who need full glycogen stores. You can also use the calorie deficit calculator to model the deficit side independently, or the protein intake calculator to fine-tune your protein target.
Turning your macros into real meals
Swoodie auto-calculates your macro targets from your profile and then tracks every meal against them in real time. Scan a plate or barcode and the app logs the protein, carbs, and fat instantly — no manual entry needed. It can also generate recipes and a weekly meal plan that hit your remaining macro budget for the day. If your primary aim is fat loss, see the full weight-loss guide.
This tool provides general estimates for healthy adults and is not medical advice. For personalised dietary guidance or if you have a medical condition, consult a registered dietitian or doctor.
Frequently asked questions
What is IIFYM?
IIFYM stands for 'If It Fits Your Macros'. It is a flexible dieting approach where you set daily targets for protein, carbohydrates, and fat and eat any foods that add up to those numbers — rather than following a rigid meal plan of specific allowed foods. The result is precision without restriction.
How many grams of protein, carbs, and fat should I eat?
It depends on your calorie target and diet preset. For a 2,000 kcal balanced split (30 / 40 / 30) you need about 150 g protein, 200 g carbs, and 67 g fat. A high-protein 40/30/30 split at 2,000 kcal gives about 200 g protein, 150 g carbs, and 67 g fat. Use this calculator with your own stats for a personalised result.
Which macro split is best for weight loss?
A high-protein split (40% protein / 30% carbs / 30% fat) combined with a calorie deficit is most effective for fat loss. High protein is satiating, preserves muscle while you are in a deficit, and has a higher thermic effect than carbs or fat. A balanced 30/40/30 split also works well for most people.
Can I change my macro split at any time?
Yes. Your macro split is a tool, not a contract. If you find that high-carb leaves you hungry, try high-protein. If low-carb makes training feel flat, switch to balanced or high-carb for a few weeks and see how your performance and hunger respond. The daily calorie target matters more than the exact split.
How accurate is this macro calculator?
Formula-based calorie estimates are typically within 5–15% of your true expenditure. Use the result as a starting point, track your weight for 2–3 weeks, and adjust your calorie target up or down by 100–200 kcal based on the actual trend. The macro ratios stay the same; only the total calories shift.