Macro Calculator
Calculate your daily macronutrient targets step-by-step for weight loss, muscle gain, IIFYM, or keto diets.
Macronutrient Engine
Select unit system, activity level, fitness goal, and diet style.
Macronutrient Output Summary
Quick Summary
Our macro calculator for weight loss muscle gain keto tool computes your exact daily macronutrient targets in grams of protein, carbohydrates, and dietary fats tailored to your age, gender, activity level, and specific dietary style.
How It Works: IIFYM & Caloric Energy Balance
Macronutrients provide the essential energy and structural building blocks for human metabolism:
1. **Energy Values:** Protein provides $4 \text{ kcal/g}$, Carbohydrates provide $4 \text{ kcal/g}$, and Fats provide $9 \text{ kcal/g}$.
2. **Mifflin-St Jeor TDEE Scaling:** Calculates your total daily energy expenditure based on age, sex, weight, height, and activity level.
3. **Goal-Driven Caloric Targets:** Adjusts TDEE by $-20\%$ for fat loss, $0\%$ for maintenance, or $+15\%$ for muscle hypertrophy.
4. **IIFYM Macro Distribution:** Allocates total target calories across protein, carbs, and fats according to your preferred diet style (Balanced, Low Carb, High Protein, or Ketogenic).
Formula Explanation
Your macronutrient gram targets are calculated using the following equations:
Step-by-Step Worked Example
Here is a detailed 5-step breakdown for a 30-year-old male weighing $80 \text{ kg}$, height $180 \text{ cm}$, Moderately Active (1.55) targeting Weight Loss with Balanced 30/40/30 macros:
- Step 1 (Calculate BMR): $10(80) + 6.25(180) - 5(30) + 5 = 800 + 1125 - 150 + 5 = \mathbf{1,780 \text{ kcal}}$.
- Step 2 (Calculate TDEE): $1780 \times 1.55 = \mathbf{2,759 \text{ kcal/day}}$.
- Step 3 (Apply 20% Weight Loss Deficit): $2759 \times 0.80 = \mathbf{2,207 \text{ kcal/day}}$.
- Step 4 (Calculate Protein Grams 30%): $\2207 \times 0.30 / 4 = \662.1 / 4 = \mathbf{165.5 \text{ g}}$ ($662 \text{ kcal}$).
- Step 5 (Calculate Carbs 40% & Fat 30% Grams): Carbs $= \2207 \times 0.40 / 4 = \mathbf{220.7 \text{ g}}$, Fat $= \2207 \times 0.30 / 9 = \mathbf{73.6 \text{ g}}$, delivering **Target Calories = 2,207 kcal/day, Protein = 166g, Carbs = 221g, Fat = 74g**!
Calculation Examples: Real-World Scenario Comparison
Compare daily macro targets across different goals and diet styles:
| Profile & Goal | Target Calories | Protein (g) | Carbohydrates (g) | Dietary Fat (g) |
|---|---|---|---|---|
| Male 80kg (Weight Loss, Balanced) | 2,207 kcal | 166 g (30%) | 221 g (40%) | 74 g (30%) |
| Male 80kg (Muscle Gain, High-Protein) | 3,173 kcal | 317 g (40%) | 317 g (40%) | 71 g (20%) |
| Female 60kg (Weight Loss, Keto) | 1,550 kcal | 97 g (25%) | 19 g (5%) | 121 g (70%) |
| Female 60kg (Maintenance, Balanced) | 1,938 kcal | 145 g (30%) | 194 g (40%) | 65 g (30%) |
Benefits of Using the Macro Calculator
Utilizing targeted macronutrient ratios provides superior body composition results compared to simple calorie counting:
- Preserves Lean Muscle in Deficits: High protein intake prevents muscle tissue breakdown while losing body fat.
- Supports Multiple Diet Frameworks: Pre-loaded presets for IIFYM, Bodybuilding, Low Carb, and Ketogenic diets.
- Optimizes Athletic Recovery: Ensures adequate carbohydrate intake for muscle glycogen replenishment during intense training.
- Metric & Imperial Support: Works in kilograms, pounds, centimeters, and feet/inches.
Frequently Asked Questions (FAQ)
What are macronutrients (macros)?
Macronutrients are the three primary nutrients required in large amounts by the human body: Protein, Carbohydrates, and Fats.
What does IIFYM stand for?
IIFYM stands for "If It Fits Your Macros"—a flexible dieting approach where you focus on hitting specific daily targets for protein, carbs, and fat rather than restricting specific foods.
How many calories are in a gram of protein, carb, and fat?
Protein and Carbohydrates contain 4 calories per gram, while Dietary Fat contains 9 calories per gram.
How much protein should I eat for muscle building?
For muscle hypertrophy, research recommends 1.6 to 2.2 grams of protein per kilogram of body weight (0.7 to 1.0 g/lb).
What are the macro ratios for a Keto diet?
A ketogenic diet typically consists of 70-75% fat, 20-25% protein, and 5-10% net carbohydrates (usually under 20-50g of carbs per day).
Why is tracking macros better than just tracking calories?
Calorie tracking controls body weight, but macro tracking controls body composition (ratio of fat loss to muscle gain).
Should I weigh my food raw or cooked?
Consistently weigh your food raw before cooking, as cooking alters water weight significantly.
How should I adjust my macros if I hit a weight loss plateau?
If weight loss stalls for 2-3 weeks, reduce daily caloric intake by 100-150 kcal (mostly from carbohydrates or fats) or increase daily activity.
Does timing when I eat macros matter?
Total daily macro intake accounts for ~80-90% of body composition results. Nutrient timing around workouts offers incremental benefits for advanced lifters.
How often should I recalculate my macros?
Recalculate your macros every 5 to 10 lbs (2.5 to 5 kg) of body weight change, as your lower body weight reduces your baseline TDEE.