Macros & Protein

How to Calculate Macros: Step-by-Step Guide for Any Goal

Updated March 4, 202611 min read

By Daily Nutrition Tracker Editorial Team · Reviewed by nutrition professionals

Calculating macronutrients for personalized nutrition planning

How to calculate macros is one of the most practical nutrition questions you can ask. While counting calories tells you how much to eat, calculating macros tells you what to eat — the optimal balance of protein, carbohydrates, and fat for your specific goal. Whether you're trying to lose fat, build muscle, or maintain your physique, knowing your macro targets gives you a precise roadmap. This guide walks you through the exact steps to calculate your personalized macros, with examples for every goal.

Key Takeaways

  • Step 1: Calculate your TDEE (total daily energy expenditure)
  • Step 2: Adjust calories for your goal (deficit, surplus, or maintenance)
  • Step 3: Set protein first (0.7–1g per pound of bodyweight)
  • Step 4: Set fat (20–30% of total calories)
  • Step 5: Fill remaining calories with carbs
  • Recalculate macros every 10–15 lbs of weight change

What Are Macros and Why Calculate Them?

Macros (short for macronutrients) are the three nutrients that provide calories: protein, carbohydrates, and fat. Every food you eat contains some combination of these three, and each provides a different number of calories per gram:

MacronutrientCalories per GramPrimary Role
Protein4 calories/gramBuilds and repairs muscle, supports immune function
Carbohydrates4 calories/gramPrimary fuel for brain and high-intensity exercise
Fat9 calories/gramHormone production, vitamin absorption, cell structure

Calculating macros gives you more control than just counting calories because:

  • Protein determines body composition. High protein preserves muscle during weight loss and supports muscle growth.
  • Macros affect hunger and energy. Protein and fiber-rich carbs are more filling than fat per calorie.
  • Different goals need different ratios. Weight loss, muscle building, and maintenance each benefit from specific macro distributions.
  • Macros impact performance. Athletes need more carbs for fuel; sedentary people can eat fewer.

Step 1: Calculate Your TDEE (Maintenance Calories)

Before you can calculate macros, you need to know your Total Daily Energy Expenditure (TDEE) — the total calories you burn per day. This is your starting point for all macro calculations.

Calculate Your BMR

First, calculate your Basal Metabolic Rate (BMR) using the Mifflin-St Jeor equation:

  • 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

Multiply by Your Activity Factor

Next, multiply your BMR by your activity level to get your TDEE:

Activity LevelMultiplierDescription
Sedentary× 1.2Little or no exercise, desk job
Lightly Active× 1.375Light exercise 1–3 days/week
Moderately Active× 1.55Moderate exercise 3–5 days/week
Very Active× 1.725Hard exercise 6–7 days/week
Extremely Active× 1.9Very hard exercise daily + physical job

Example: A 30-year-old woman, 5'6" (168 cm), 150 lbs (68 kg), moderately active:

  1. BMR = (10 × 68) + (6.25 × 168) − (5 × 30) − 161 = 1,419 calories
  2. TDEE = 1,419 × 1.55 = 2,199 calories per day

Use our free BMR Calculator to calculate your TDEE automatically.

Step 2: Adjust Calories for Your Goal

Once you have your TDEE, adjust it based on your goal:

GoalCalorie AdjustmentExample (2,200 TDEE)
Weight loss (slow)TDEE − 250–300 cal1,900–1,950 cal/day
Weight loss (standard)TDEE − 500 cal1,700 cal/day
Weight loss (aggressive)TDEE − 750 cal1,450 cal/day
MaintenanceTDEE (no change)2,200 cal/day
Muscle gain (lean)TDEE + 200–300 cal2,400–2,500 cal/day
Muscle gain (faster)TDEE + 400–500 cal2,600–2,700 cal/day

💡 Start conservative

If you're unsure which deficit or surplus to choose, start with the smaller adjustment (250–300 calories). You can always increase it after 2–3 weeks if progress is slower than desired. Starting too aggressive often leads to burnout or excessive muscle loss.

For our example woman targeting weight loss: 1,700 calories per day (2,199 TDEE − 500 cal deficit).

Step 3: Calculate Your Protein Target

Protein is the most important macro to set correctly. Always calculate protein first, based on your bodyweight and goal:

GoalProtein TargetExample (150 lb person)
Weight loss0.8–1.0g per lb120–150g per day
Muscle building0.7–1.0g per lb105–150g per day
Maintenance0.6–0.8g per lb90–120g per day
Sedentary0.5–0.7g per lb75–105g per day

Example calculation for our 150 lb woman (weight loss goal):

  1. Target: 0.8–1g per pound = 120–150g protein per day
  2. We'll use 130g protein (middle of the range)
  3. Protein calories: 130g × 4 cal/g = 520 calories from protein

ℹ️ Why protein first?

Protein is the only macro your body cannot store, and it has the biggest impact on body composition. Setting protein first ensures you preserve muscle during weight loss or build muscle during a surplus. Carbs and fat are more flexible.

Step 4: Calculate Your Fat Target

Fat is essential for hormone production, vitamin absorption, and cell function. The recommended range is 20–30% of total calories, with most people doing well at 25%.

Example calculation for our 1,700-calorie target:

  1. Fat target: 25% of 1,700 calories = 425 calories from fat
  2. Convert to grams: 425 cal ÷ 9 cal/g = 47g fat per day

Alternative method: Use grams per pound of bodyweight:

  • Minimum: 0.25g per pound (37.5g for 150 lb person)
  • Optimal: 0.3–0.4g per pound (45–60g for 150 lb person)
  • Maximum: 0.5g per pound (75g for 150 lb person)

⚠️ Don't go too low on fat

Eating less than 20% of calories from fat (or <0.25g per pound) can disrupt hormone production, especially in women. This can lead to irregular menstrual cycles, low energy, and impaired recovery. Fat is not the enemy — it's essential.

Step 5: Fill Remaining Calories with Carbs

After setting protein and fat, the remaining calories go to carbohydrates. Carbs are the most flexible macro — you can adjust them based on activity level, preference, and how you feel.

Example calculation for our 1,700-calorie target:

  1. Total calories: 1,700
  2. Protein calories: 520 (130g × 4)
  3. Fat calories: 425 (47g × 9)
  4. Remaining for carbs: 1,700 − 520 − 425 = 755 calories
  5. Carbs in grams: 755 cal ÷ 4 cal/g = 189g carbs per day

Final macro breakdown:

MacroGramsCaloriesPercentage
Protein130g520 cal31%
Fat47g425 cal25%
Carbs189g755 cal44%
Total1,700 cal100%

Popular Macro Ratios by Goal

While the step-by-step method above is most accurate, many people use preset macro ratios. Here are evidence-based ratios for different goals:

For Weight Loss

Higher protein helps preserve muscle and increases satiety during a calorie deficit:

  • 30–40% protein (high protein for muscle preservation)
  • 30–40% carbohydrates (moderate carbs for energy)
  • 20–30% fat (adequate for hormones)

Popular split: 40/30/30 (40% protein, 30% carbs, 30% fat) or 35/40/25

For Muscle Building

Higher carbs fuel intense training and support muscle growth:

  • 25–35% protein (adequate for muscle protein synthesis)
  • 45–55% carbohydrates (high carbs for training fuel)
  • 15–25% fat (moderate fat for hormones)

Popular split: 30/50/20 or 25/50/25

For Maintenance

Balanced approach for general health and weight stability:

  • 25–30% protein (adequate for muscle maintenance)
  • 45–55% carbohydrates (moderate to high carbs)
  • 20–30% fat (balanced fat intake)

Popular split: 30/45/25 or 25/50/25

💡 Ratios are guidelines, not rules

These percentages are starting points. The most important factor is hitting your protein target (in grams, not percentages). After that, adjust carbs and fat based on your energy levels, training performance, and personal preference. Some people feel better on higher carbs; others prefer higher fat.

How to Adjust Macros Based on Activity Level

Your activity level should influence your carb intake more than protein or fat:

Activity LevelProteinCarbsFat
Sedentary (desk job, no exercise)0.6–0.8g/lbLower (30–40%)Higher (25–35%)
Lightly Active (exercise 1–3×/week)0.7–0.9g/lbModerate (40–45%)Moderate (25–30%)
Moderately Active (exercise 3–5×/week)0.8–1.0g/lbHigher (45–50%)Moderate (20–25%)
Very Active (exercise 6–7×/week)0.8–1.2g/lbHigh (50–60%)Lower (15–25%)

Why carbs scale with activity:

  • Carbs are the primary fuel for high-intensity exercise
  • Sedentary people don't need as many carbs for energy
  • Athletes and very active people perform better with higher carb intake
  • Low-carb diets work fine for sedentary weight loss but can impair athletic performance

When and How to Adjust Your Macros

Your macros aren't set in stone. Recalculate when:

  • You've lost or gained 10–15 pounds. Your calorie needs change with your weight.
  • Weight loss stalls for 2–3 weeks. Reduce calories by 100–200 (primarily from carbs or fat).
  • You're excessively hungry. Increase protein or total calories slightly.
  • Energy levels are low. Increase carbs, especially around workouts.
  • Activity level changes significantly. New job, training program, or injury.

Example Adjustment for Weight Loss Plateau

If our example woman (1,700 cal, 130P/189C/47F) stops losing weight after 15 lbs lost:

  1. Recalculate TDEE at new weight (135 lbs instead of 150 lbs)
  2. New TDEE might be ~2,050 calories (down from 2,199)
  3. New target: 2,050 − 500 = 1,550 calories
  4. Keep protein high: 130g (same)
  5. Reduce carbs: 1,550 − 520 (protein) − 425 (fat) = 605 cal = 151g carbs
  6. New macros: 130P/151C/47F = 1,550 calories

Macro Calculation Example: All Goals

Here's a complete example for a 180 lb man, 5'10", age 35, moderately active (TDEE = 2,700 calories):

Weight Loss (1 lb/week)

  • Calories: 2,700 − 500 = 2,200 cal/day
  • Protein: 180 lb × 0.9 = 162g (648 cal)
  • Fat: 25% of 2,200 = 550 cal = 61g
  • Carbs: 2,200 − 648 − 550 = 1,002 cal = 251g
  • Final: 162P/251C/61F

Muscle Building

  • Calories: 2,700 + 300 = 3,000 cal/day
  • Protein: 180 lb × 0.8 = 144g (576 cal)
  • Fat: 20% of 3,000 = 600 cal = 67g
  • Carbs: 3,000 − 576 − 600 = 1,824 cal = 456g
  • Final: 144P/456C/67F

Maintenance

  • Calories: 2,700 cal/day (TDEE)
  • Protein: 180 lb × 0.7 = 126g (504 cal)
  • Fat: 25% of 2,700 = 675 cal = 75g
  • Carbs: 2,700 − 504 − 675 = 1,521 cal = 380g
  • Final: 126P/380C/75F

How to Track Your Macros

Once you've calculated your macros, tracking them consistently is key to results:

  1. Use a nutrition tracking app. MyFitnessPal, Cronometer, or our Daily Nutrition Tracker make logging easy.
  2. Weigh your food. A digital food scale ($10–15) dramatically improves accuracy, especially for calorie-dense foods like oils, nuts, and grains.
  3. Log before you eat. Pre-logging meals lets you adjust portions before eating, not after.
  4. Focus on weekly averages. Being 5–10g off on any macro on a given day is fine. Consistency over the week matters more.
  5. Prioritize protein. If you can only hit one macro perfectly, make it protein. Carbs and fat can flex more.
  6. Prep meals in advance. Knowing the macros of your meals ahead of time removes guesswork.

💡 You don't need to be perfect

Hitting within ±5g of your protein target and ±10–15g of your carb/fat targets is plenty accurate for excellent results. Obsessing over hitting exact numbers can lead to burnout. Aim for consistency, not perfection.

Put This Into Practice — Free

Track your calories, macros, and nutrition with 300,000+ verified USDA foods. No account required, no subscription, no paywall — ever.

Frequently Asked Questions

How do I calculate my macros?

To calculate macros: (1) Find your TDEE (maintenance calories), (2) Adjust for your goal (deficit, surplus, or maintenance), (3) Set protein at 0.7–1g per pound of bodyweight, (4) Set fat at 20–30% of total calories, (5) Fill remaining calories with carbs. Use our free Macro Calculator to do this automatically.

What is the best macro ratio for weight loss?

For weight loss, aim for 30–40% protein, 30–40% carbohydrates, and 20–30% fat. A popular split is 40/30/30 or 35/40/25. Higher protein preserves muscle during a calorie deficit and increases satiety. The exact ratio matters less than hitting your protein target and maintaining a calorie deficit.

What is the best macro ratio for muscle building?

For muscle building, aim for 25–35% protein, 45–55% carbohydrates, and 15–25% fat. A popular split is 30/50/20. Higher carbs fuel intense training and support muscle growth. Protein should be 0.7–1g per pound of bodyweight, and you need a calorie surplus (200–500 cal above TDEE).

Should I calculate macros in grams or percentages?

Calculate protein in grams per pound of bodyweight (0.7–1g/lb), then use percentages for fat (20–30% of calories) and carbs (remaining calories). Grams are more accurate for protein because your needs are based on bodyweight, not total calories. Percentages work fine for carbs and fat.

Do I need to hit my macros exactly every day?

No — being within ±5g of protein and ±10–15g of carbs/fat is plenty accurate. Focus on weekly averages rather than daily perfection. Hitting your protein target is most important. Carbs and fat can flex more based on hunger, energy levels, and food availability.

How often should I recalculate my macros?

Recalculate macros every 10–15 pounds of weight change, when weight loss stalls for 2–3 weeks, or when activity level changes significantly. As you lose weight, your calorie needs decrease, so your macros need to be adjusted downward to maintain the same deficit.

Can I lose weight without tracking macros?

Yes — you can lose weight by tracking calories alone and eating adequate protein. Tracking macros provides more control over body composition (preserving muscle vs. losing muscle) and can optimize energy levels and hunger. It's more precise but requires more effort than simple calorie counting.

Free Calculators

Related Articles