Quick Answer: To calculate your macros, first find your TDEE (Total Daily Energy Expenditure), then adjust calories for your goal (deficit for fat loss, surplus for muscle gain), and split those calories into protein (0.8–1 g/lb bodyweight), fat (20–35% of calories), and carbs (the remaining calories). Use the macro calculator below for instant numbers tailored to your weight, activity level, and goal.
Macro Calculator
[Insert your interactive Macro Calculator widget here — accepts age, gender, height, weight, activity level, and goal, then returns daily calories plus protein, carb, and fat targets in grams.]
What Are Macros?
“Macros” is short for macronutrients — the three nutrients that supply calories in your diet:
- Protein — 4 calories per gram. Builds muscle, repairs tissue, controls hunger.
- Carbohydrates — 4 calories per gram. Primary energy source, fuels training.
- Fat — 9 calories per gram. Hormone production, vitamin absorption, satiety.
Calculating macros (often called “IIFYM” — If It Fits Your Macros) lets you eat in a way that matches your specific body composition goal instead of just guessing portions.
How to Calculate Macros — Step by Step
Step 1: Calculate Your BMR (Basal Metabolic Rate)
BMR is the number of calories your body burns at complete rest. Use the Mifflin-St Jeor formula, which is the most accurate for the general population:
- Men: BMR = (10 × weight in kg) + (6.25 × height in cm) − (5 × age) + 5
- Women: BMR = (10 × weight in kg) + (6.25 × height in cm) − (5 × age) − 161
Convert: 1 kg = 2.205 lb, 1 inch = 2.54 cm.
Step 2: Calculate Your TDEE (Total Daily Energy Expenditure)
Multiply your BMR by an activity factor that matches your weekly movement:
| Activity Level | Description | Multiplier |
|---|---|---|
| Sedentary | Desk job, little or no exercise | 1.2 |
| Lightly Active | Light exercise 1–3 days/week | 1.375 |
| Moderately Active | Exercise 3–5 days/week | 1.55 |
| Very Active | Hard exercise 6–7 days/week | 1.725 |
| Athlete | Twice-a-day training, physical job | 1.9 |
TDEE = BMR × Activity Multiplier. This is the number of calories you burn in a typical day.
Step 3: Adjust Calories for Your Goal
| Goal | Calorie Adjustment | Expected Result |
|---|---|---|
| Aggressive fat loss | TDEE − 25% | 1.5–2 lb/week loss |
| Moderate fat loss | TDEE − 15–20% | 1 lb/week loss |
| Slow fat loss / recomp | TDEE − 10% | 0.5 lb/week loss, muscle preserved |
| Maintenance | TDEE | Weight stable |
| Lean bulk | TDEE + 10–15% | 0.5 lb/week muscle gain |
| Aggressive bulk | TDEE + 20% | 1 lb/week gain (more fat) |
Step 4: Set Your Protein Target
Protein is the most important macro to dial in first because it preserves muscle, controls appetite, and has the highest thermic effect.
- Fat loss: 1.0 g per lb of bodyweight (2.2 g/kg)
- Maintenance: 0.8 g per lb (1.6 g/kg)
- Muscle gain: 0.8–1.0 g per lb (1.6–2.2 g/kg)
- Obese (BMI 30+): Calculate from goal weight, not current weight
Protein calories = grams × 4.
Step 5: Set Your Fat Target
Fat should make up 20–35% of total calories. Going below 20% can disrupt hormones (especially testosterone), while above 35% may leave too little room for performance carbs.
- Standard recommendation: 25–30% of total calories from fat
- Minimum: 0.3 g per lb of bodyweight (essential fatty acids)
Fat grams = (calories × 0.25 to 0.30) ÷ 9
Step 6: Fill the Rest with Carbs
Carbs make up the remaining calories after protein and fat are set. Carbs fuel performance, refill muscle glycogen, and support thyroid hormone production.
Carb grams = (Total Calories − Protein Calories − Fat Calories) ÷ 4
Worked Example — How to Calculate Macros for a 180-lb Male Cutting
Let’s run the math for a 30-year-old, 180-lb, 5’10” male who lifts 4× per week and wants to lose fat at a moderate rate.
- BMR: (10 × 81.6) + (6.25 × 177.8) − (5 × 30) + 5 = 1,782 cal
- TDEE: 1,782 × 1.55 (moderately active) = 2,762 cal
- Cut calories: 2,762 − 20% = 2,210 cal
- Protein: 180 g × 4 = 720 cal
- Fat: 25% of 2,210 = 553 cal ÷ 9 = 61 g
- Carbs: 2,210 − 720 − 553 = 937 cal ÷ 4 = 234 g
Final macros: 2,210 calories / 180P / 234C / 61F
Macro Ratios for Common Diets
| Diet | Protein | Carbs | Fat | Best For |
|---|---|---|---|---|
| Balanced | 30% | 40% | 30% | General health, recomposition |
| High-Protein | 40% | 35% | 25% | Fat loss, muscle preservation |
| Low-Carb | 30% | 20% | 50% | Insulin resistance, sedentary fat loss |
| Keto | 20% | 5% | 75% | Therapeutic, neurological conditions |
| High-Carb (Athlete) | 20% | 60% | 20% | Endurance sports, high-volume training |
| Bodybuilding Cut | 40% | 40% | 20% | Lean muscle retention while dieting |
How to Calculate Macros for Weight Loss
For fat loss, the priority order is: protein first → fat minimum → carbs fill the rest.
- Take TDEE and subtract 15–25%.
- Set protein at 1 g per lb bodyweight (this is the muscle-saving step).
- Set fat at 0.35 g per lb bodyweight.
- Remaining calories go to carbs — usually 100–250 g depending on activity.
How to Calculate Macros for Muscle Gain (Bulking)
- Take TDEE and add 10–15%.
- Set protein at 0.8–1 g per lb (no need to go higher when in a surplus).
- Set fat at 25% of total calories.
- Push remaining calories into carbs — carbs drive training performance and muscle growth via insulin and glycogen.
How to Calculate Macros for Body Recomposition
Body recomp (lose fat while gaining muscle) uses maintenance calories with a high protein intake:
- Calories = TDEE
- Protein = 1 g per lb of goal bodyweight
- Fat = 0.4 g per lb of bodyweight
- Carbs = remainder
Recomp works best for beginners, returning lifters, and people with a body fat percentage above 18% (men) or 25% (women).
How to Track Your Macros
- Use a food-tracking app — MyFitnessPal, Cronometer, MacroFactor, or Lose It! Scan barcodes or search foods.
- Weigh foods raw when possible — cooked weights vary by water content.
- Track everything for the first 2 weeks — including oils, sauces, and “BLTs” (bites, licks, tastes).
- Hit protein daily, then carbs/fat within ±10 g — protein is the only macro you should never miss.
- Re-measure every 4 weeks — TDEE drops as you lose weight (metabolic adaptation), so recalculate.
Common Macro Calculation Mistakes
Eyeballing portions instead of weighing
Most people underestimate calories by 25–40% when not weighing. Get a $15 kitchen scale before doing anything else.
Setting protein too low
Anything under 0.7 g per lb leads to muscle loss during a cut. Hit at least 0.8 g/lb non-negotiably.
Cutting fat too aggressively
Sub-20% fat intake for weeks lowers testosterone, hurts mood, and slows recovery. Always keep fat at 0.3 g/lb minimum.
Using “lightly active” multiplier while sitting all day
If you exercise 4 hours a week but sit at a desk the other 164, you’re sedentary + a workout, not “lightly active.” Overestimating activity is the #1 reason people don’t lose weight on their macros.
Not recalculating as weight changes
Lose 15 lb? Your TDEE dropped by roughly 100–150 calories. Recalculate every 4–6 weeks.
Frequently Asked Questions
How do I calculate macros for free?
Use the calculator on this page or apps like MacroFactor (free trial), Cronometer (free tier), and MyFitnessPal (free tier). All apply the same Mifflin-St Jeor formula plus activity multipliers.
What is the best macro ratio for weight loss?
A 40% protein / 35% carbs / 25% fat split works for most people in a 15–20% calorie deficit. High protein preserves muscle and controls hunger — the two biggest predictors of cutting success.
How many grams of protein, carbs, and fat should I eat?
A simple starting point: 1 g protein per lb bodyweight, 0.35 g fat per lb, and the rest from carbs after accounting for your daily calorie target.
Should I count macros or just calories?
Counting calories alone works for fat loss, but counting macros is better for body composition — losing fat while keeping (or gaining) muscle. If you train hard, count macros.
How do I calculate macros for keto?
Set carbs at 20–30 g per day (about 5% of calories), protein at 0.8 g per lb of bodyweight (around 20%), and fill the rest of calories with fat (around 75%).
Do macros need to be exact every day?
No. Hit your weekly average within ±5%. Protein should hit the daily target consistently; carbs and fat can shift around training days.
How long does it take to see results from tracking macros?
Energy and hunger improve within 1–2 weeks. Weight changes show by week 2–3. Visible body composition changes appear in 6–8 weeks of consistent tracking.
Do I need to count fiber and sugar in macros?
They are sub-categories of carbs, not separate macros. Aim for 25–38 g fiber per day and keep added sugar under 25–50 g, but you do not need to add them to your macro totals.
Conclusion
Calculating macros is just three numbers: find your TDEE, set protein based on bodyweight, fix fat between 0.3–0.4 g per lb, and let carbs fill what’s left. The math takes five minutes the first time, gets faster with practice, and pays off in better body composition results than any guess-based diet. Use the calculator above to skip the math entirely, then track for at least 2–4 weeks before adjusting. If you stop losing weight or feel run down, drop calories by another 100 and recalculate — your body is constantly adapting, and your macros should too.