How to Calculate Your Macros
Macronutrients — protein, carbohydrates, and fat — are the three nutrients that provide calories. Calculating your macros means determining how many grams of each to eat daily based on your Total Daily Energy Expenditure (TDEE) and your specific goal (muscle gain, fat loss, or maintenance). Getting the ratio right makes the difference between a diet that works and one that leaves you tired and plateaued.
Last updated: March 31, 2026
The Formula
Protein calories = Protein (g) × 4 Carbohydrate calories = Carbs (g) × 4 Fat calories = Fat (g) × 9 Total calories = Protein cal + Carb cal + Fat cal
Variable Definitions
| Symbol | Name | Description |
|---|---|---|
| TDEE | Total Daily Energy Expenditure | The total calories your body burns in a day including activity — your calorie maintenance level |
| g | Grams | The unit for measuring macronutrients |
| cal | Calories per gram | Protein = 4 cal/g, Carbohydrates = 4 cal/g, Fat = 9 cal/g |
Step-by-Step Example
A 30-year-old woman has a TDEE of 2,000 kcal and wants to lose fat. She uses a 40/35/25 split (protein/carbs/fat).
Given
Solution
- 1Protein calories:
1,700 × 0.40 = 680 kcal - 2Protein in grams:
680 / 4 = 170 g protein - 3Carb calories:
1,700 × 0.35 = 595 kcal - 4Carbs in grams:
595 / 4 = 149 g carbs - 5Fat calories:
1,700 × 0.25 = 425 kcal - 6Fat in grams:
425 / 9 = 47 g fat
Daily macros: 170 g protein, 149 g carbs, 47 g fat = 1,700 kcal total.
Ready to calculate?
Use the free Macro Calculator — instant results, no sign-up.
Common Mistakes to Avoid
Using TDEE instead of your calorie target — if you are in a deficit, calculate macros from your target calories, not TDEE.
Forgetting that fat has 9 cal/g not 4 — underestimating fat calories is a common tracking error.
Setting protein too low on a deficit — low protein during fat loss causes muscle loss; aim for at least 0.7–1 g per pound of bodyweight.
Tracking macros without tracking calories — the ratio matters, but total calories in vs. out still governs weight change.