ยท 5 min read ยท AYCalculator Team

Calculating Macros: Protein, Fat, and Carbs

Learn how to calculate macros from calorie targets, body weight, and common macro splits for maintenance, fat loss, and muscle gain.

Reviewed against our editorial policy and updated when formulas, thresholds, or guidance materially change. Learn more about AYCalculator.

calculating macrosMacro CalculatorProtein Fat CarbsTDEECalorie Calculator
Calculating Macros: Protein, Fat, and Carbs guide illustration
๐Ÿงฎ
Use our free TDEE Calculator Get instant, accurate results โ€” no sign-up needed.
Open Calculator โ†’

Searching calculating macros usually means you want daily targets for protein, fat, and carbohydrates. Macronutrients are the three energy-providing nutrients in food. Getting the right balance can support fat loss, muscle gain, athletic performance, or simply eating more intentionally. The math is straightforward once you have a calorie target.

Calories Per Gram

Each macronutrient provides a fixed number of calories:

MacroCalories per gram
Protein4
Carbohydrates4
Fat9

Fat has more than twice the calories per gram compared to protein or carbs. This is why high-fat foods are calorie-dense even in small portions.

Step 1: Set Your Total Calorie Target

Your macro calculation starts with a calorie number. The most common starting point is your TDEE (total daily energy expenditure) โ€” the estimated number of calories you burn per day.

  • To maintain weight: eat near TDEE
  • To lose fat: eat 300โ€“500 calories below TDEE
  • To gain muscle: eat 200โ€“400 calories above TDEE

Use the TDEE Calculator to estimate your maintenance calories based on age, sex, weight, height, and activity level.

Step 2: Set Protein

Protein is usually set first because it protects muscle during fat loss and supports recovery during training.

Common protein targets:

GoalGrams per kg body weight
General maintenance0.8โ€“1.0 g/kg
Fat loss / muscle preservation1.6โ€“2.2 g/kg
Muscle gain1.6โ€“2.0 g/kg
Athletes in heavy trainingUp to 2.4 g/kg

Example: A 75 kg person at 2.0 g/kg needs:

75 ร— 2.0 = 150 g protein

Calories from protein: 150 ร— 4 = 600 calories

Step 3: Set Fat

Fat supports hormone production, vitamin absorption, and satiety. A minimum fat intake is generally around 0.5โ€“1.0 g per kg body weight, though many people prefer more.

Example: Same 75 kg person at 0.8 g/kg:

75 ร— 0.8 = 60 g fat

Calories from fat: 60 ร— 9 = 540 calories

Step 4: Fill Remaining Calories with Carbs

After setting protein and fat calories, use what remains for carbohydrates.

Example:

Total calorie target: 2,400 calories

  • Protein: 600 calories (150 g)
  • Fat: 540 calories (60 g)
  • Remaining for carbs: 2,400 โˆ’ 600 โˆ’ 540 = 1,260 calories

Carbs: 1,260 / 4 = 315 g carbs

Full Macro Profile for 2,400 Calories

MacroGramsCalories% of Diet
Protein15060025%
Fat6054022.5%
Carbs3151,26052.5%
Totalโ€”2,400100%

Common Macro Splits

If you prefer a preset percentage split, here are popular approaches:

ApproachProteinFatCarbs
Moderate (general)25%30%45%
High protein (fat loss)35%30%35%
Low carb / keto25%65%10%
High carb (endurance)20%20%60%

Using percentage splits:

If you eat 2,200 calories at 30% protein:

2,200 ร— 0.30 = 660 calories from protein

660 / 4 = 165 g protein

Adjusting Macros Over Time

Macros are a starting point, not a permanent prescription. Adjust if:

  • You are not losing or gaining weight after 2โ€“4 weeks
  • Your energy is too low (often a carb or calorie issue)
  • You are not recovering well from workouts (often a protein or total calorie issue)
  • You consistently struggle to hit a specific macro (adjust the split slightly)

Small adjustments (10โ€“20 g at a time) are easier to manage than large changes.

Tracking Macros Practically

Macro tracking works best when you:

  • Weigh or measure food portions at home
  • Use a food diary or app to log meals
  • Batch cook proteins and starches to simplify daily hitting

You do not need to hit every number exactly. Most nutritionists suggest staying within ยฑ5 g protein, ยฑ10 g carbs, and ยฑ5 g fat of your targets.

Common Macro Mistakes

Skipping fat too aggressively โ€” very low-fat diets (under 20% of calories) can disrupt hormone production and make the diet harder to sustain.

Underestimating protein needs during a cut โ€” protein needs tend to increase when you are in a calorie deficit, not decrease.

Treating macros as fixed forever โ€” maintenance calories and optimal macro splits change as body weight, activity level, and goals change.

Adding exercise calories without accounting for them โ€” if you burn significantly more on training days, some approaches suggest adjusting carbs up on those days.

The Bottom Line

To calculate macros, start with your calorie target, assign protein (based on body weight), set fat at a minimum functional level, and use remaining calories for carbs. Track for 2โ€“4 weeks and adjust based on results.

Use the TDEE Calculator to estimate the calorie starting point, then apply the macro formula above to build your daily targets.

Informational note: Macro recommendations can vary based on medical conditions, medications, pregnancy, and individual metabolism. For personalized nutrition guidance, consult a registered dietitian.

How to Calculate: Step-by-Step Guide

1

Set calorie target

Start with your maintenance, fat-loss, or muscle-gain calories.

2

Choose protein and fat targets

Set protein and fat first, often using body weight and a minimum fat intake.

3

Fill the rest with carbs

Use the remaining calories for carbohydrate grams.

๐Ÿงฎ
Ready to calculate? Try our TDEE Calculator Free, fast, and accurate โ€” right in your browser.
Use TDEE Calculator โ†’
Topics: calculating macrosMacro CalculatorProtein Fat CarbsTDEECalorie Calculator