How to Calculate Your Macros for Weight Loss, Muscle Gain, or Maintenance
Counting calories tells you how much to eat. Counting macros tells you what to eat. If you want to lose fat without losing muscle, build lean mass, or just eat in a way that supports your activity level, understanding macronutrients is the next step beyond simple calorie counting.
This guide walks through the process step by step: what macros are, how to calculate your targets, and which ratios work best for different goals.
What Are Macronutrients?
Macronutrients -- macros for short -- are the three main categories of nutrients that provide calories in your diet. Each one plays a different role in your body and contains a different number of calories per gram:
| Macronutrient | Calories per Gram | Primary Role |
|---|---|---|
| Protein | 4 | Builds and repairs muscle, supports immune function |
| Carbohydrates | 4 | Primary energy source, fuels brain and muscles |
| Fat | 9 | Hormone production, vitamin absorption, cell structure |
Notice that fat has more than double the calories per gram compared to protein or carbs. This is why high-fat foods are calorie-dense -- a tablespoon of olive oil (14g of fat) has 126 calories, while the same weight in chicken breast (14g of protein) has only 56 calories.
Step 1: Calculate Your TDEE
Before you can set macro targets, you need to know how many total calories you should eat. This starts with your Total Daily Energy Expenditure (TDEE) -- the total number of calories you burn in a day including all activity.
The simplest way to estimate your TDEE is to use our free TDEE calculator, which applies the Mifflin-St Jeor equation and adjusts for your activity level. As a rough guide, most moderately active adults fall between 2,000 and 3,000 calories per day.
Once you have your TDEE, adjust it based on your goal:
- Weight loss: Subtract 500 calories (for about 1 lb/week loss)
- Muscle gain: Add 250-500 calories (lean bulk)
- Maintenance: Eat at your TDEE
This adjusted number is your target calorie intake, and it becomes the foundation for your macro calculations.
Step 2: Choose Your Macro Ratio
A macro ratio is the percentage of your total calories that come from each macronutrient. Different goals call for different splits:
| Goal | Protein | Carbs | Fat |
|---|---|---|---|
| Weight Loss | 40% | 30% | 30% |
| Muscle Gain | 30% | 45% | 25% |
| Maintenance | 30% | 40% | 30% |
| High-Protein Cut | 45% | 25% | 30% |
| Endurance Athlete | 20% | 55% | 25% |
These ratios are starting points, not rigid rules. The most important macro to get right is protein -- keeping it high enough to preserve muscle. After that, the split between carbs and fat is largely a matter of personal preference and how your body responds.
Step 3: Convert Percentages to Grams
Once you have your target calories and your chosen ratio, converting to grams is straightforward. Divide the calories from each macro by its calories-per-gram value.
Protein grams = (Total calories x protein %) / 4
Carb grams = (Total calories x carb %) / 4
Fat grams = (Total calories x fat %) / 9
Example: 170 lb Moderately Active Male
Let's walk through a complete example. Say you are a 170 lb (77 kg) male, 5'9", age 30, who exercises 3-4 days per week. Your estimated TDEE is approximately 2,600 calories per day.
Goal: Weight Loss (40/30/30)
Target calories: 2,600 - 500 = 2,100 calories/day
- Protein: 2,100 x 0.40 = 840 calories / 4 = 210g
- Carbs: 2,100 x 0.30 = 630 calories / 4 = 158g
- Fat: 2,100 x 0.30 = 630 calories / 9 = 70g
Goal: Muscle Gain (30/45/25)
Target calories: 2,600 + 300 = 2,900 calories/day
- Protein: 2,900 x 0.30 = 870 calories / 4 = 218g
- Carbs: 2,900 x 0.45 = 1,305 calories / 4 = 326g
- Fat: 2,900 x 0.25 = 725 calories / 9 = 81g
Calculate Your TDEE First
Know your maintenance calories before setting macro targets. Our free calculator does the math for you.
Calculate Your TDEEMacro Grams at Common Calorie Levels
Here is a quick reference table using the 40/30/30 (weight loss) split at different calorie targets:
| Daily Calories | Protein (g) | Carbs (g) | Fat (g) |
|---|---|---|---|
| 1,500 | 150 | 113 | 50 |
| 1,800 | 180 | 135 | 60 |
| 2,000 | 200 | 150 | 67 |
| 2,200 | 220 | 165 | 73 |
| 2,500 | 250 | 188 | 83 |
| 2,800 | 280 | 210 | 93 |
| 3,000 | 300 | 225 | 100 |
Minimum Macro Thresholds
Regardless of which ratio you choose, there are minimum thresholds you should not go below:
- Protein: At least 0.6g per pound of body weight. Going lower risks muscle loss, especially in a calorie deficit.
- Fat: At least 0.3g per pound of body weight, or roughly 20% of total calories. Fat is essential for hormone production -- too little can disrupt testosterone, estrogen, and thyroid function.
- Carbs: No strict minimum, but most people perform and feel better with at least 100-130g per day. Your brain alone uses about 120g of glucose daily.
Protein: The Most Important Macro
If you only track one macronutrient, make it protein. Protein has the highest thermic effect of food -- your body burns about 20-30% of protein calories just digesting it, compared to 5-10% for carbs and 0-3% for fat. Protein also has the strongest effect on satiety, keeping you full longer.
For most people, a good protein target is:
- Weight loss: 0.8-1.2g per pound of body weight
- Muscle gain: 0.7-1.0g per pound of body weight
- Maintenance: 0.6-0.8g per pound of body weight
Higher protein targets during weight loss might seem counterintuitive, but research consistently shows that higher protein intake during a deficit preserves more lean mass. You want to lose fat, not muscle.
Common Mistakes
A few pitfalls to watch for when tracking macros:
- Ignoring fiber. Fiber is a carbohydrate, but it is not fully digested. High-fiber foods keep you full and support gut health. Aim for 25-35g per day from whole foods.
- Obsessing over exact numbers. Hitting your targets within 5-10g on each macro is close enough. Consistency over weeks matters far more than precision on any single day.
- Cutting fat too low. Very low-fat diets (under 15% of calories) can tank your energy, mood, and hormonal health. Fat is not the enemy.
- Neglecting food quality. Macros are not the whole picture. 200g of carbs from oats and sweet potatoes will serve you better than 200g from candy, even though the macro numbers are the same.
BMI and Macros
Your current BMI can help inform which macro ratio to choose. If your BMI indicates you are overweight, a higher-protein, lower-carb split (like 40/30/30) tends to work well for fat loss while preserving muscle. If your BMI is in the normal range and you are training hard, a higher-carb split (like 30/45/25) supports workout performance and recovery.
The Bottom Line
Calculating macros comes down to three steps: find your TDEE with our TDEE calculator, pick a macro ratio based on your goal, and convert percentages to grams. Start with protein -- set it high enough to protect muscle -- then split the remaining calories between carbs and fat based on what keeps you energized and consistent. Track your results for 2-3 weeks, then adjust. The best macro split is the one you can actually stick to.
Frequently Asked Questions
How many grams of protein do I need?
Most research supports 0.7-1.0 grams of protein per pound of body weight for people who exercise regularly. For a 170 lb person, that is 119-170 grams per day. If you are sedentary, 0.5-0.7 grams per pound is generally sufficient. Higher protein intake helps preserve muscle during weight loss and supports muscle growth during a surplus.
What macro ratio is best for weight loss?
A common and effective ratio for weight loss is 40% protein, 30% carbs, and 30% fat. The higher protein percentage helps preserve lean muscle mass while in a calorie deficit. That said, the total number of calories matters more than the exact ratio -- any split that keeps protein high and puts you in a deficit will produce results.
Should I count macros or just calories?
For weight loss alone, a calorie deficit is what matters most. However, tracking macros gives you better control over body composition. Eating enough protein prevents muscle loss during a cut, adequate fat supports hormone function, and carbs fuel your workouts. If you are serious about fitness goals beyond just the number on the scale, tracking macros is worth the extra effort.