Here's how to calculate macros in four steps: find your daily calorie target, set protein at about 1.4–2.2 g per kg of body weight, set fat at 20–35% of your calories, and give the remaining calories to carbs. To switch between grams and calories, use 4 kcal per gram for protein and carbs and 9 kcal per gram for fat. Then track for a few weeks and fine-tune based on your results.
Key takeaways
- Macros are simply a way to split your calorie target into protein, fat and carbohydrate.
- Set protein first: about 1.4–2.0 g per kg if you're active, and up to about 2.2 g per kg while cutting.
- Fat usually sits at 20–35% of calories, and carbs fill whatever is left.
- Remember 4-4-9: protein and carbs provide 4 kcal per gram, fat provides 9.
- Hit your calories and protein consistently, keep fat and carbs within a range, and adjust every few weeks.
What macros are and why the numbers matter
Macronutrients, or macros, are the three nutrients that supply most of your calories: protein, carbohydrate and fat. Your calorie intake decides whether you lose, maintain or gain weight. Your macro split shapes how full you feel, how well you recover from training, and how much of the weight you lose comes from fat rather than muscle.
Each macro has a fixed calorie value per gram:
| Nutrient | Calories per gram | Common sources |
|---|---|---|
| Protein | 4 kcal | Dal, paneer, eggs, chicken, fish, tofu, Greek yogurt |
| Carbohydrate | 4 kcal | Rice, roti, idli, oats, potatoes, fruit |
| Fat | 9 kcal | Ghee, cooking oil, butter, nuts, seeds, cheese |
| Alcohol | 7 kcal | Beer, wine and spirits (not a nutrient you need) |
Most foods are a mix. Dal brings protein and carbs, paneer brings protein and fat, and chole bhature brings all three plus plenty of oil.
How to calculate macros in 4 steps
Step 1: Find your calorie target
Your macros sit inside a calorie budget, so start there. Estimate your maintenance calories, the amount that keeps your weight stable, with an online calculator or by tracking your intake for two weeks while your weight holds steady.
Then adjust for your goal. For fat loss, a moderate deficit of roughly 300–500 kcal a day below maintenance is a common starting point. For muscle gain, a small surplus of about 200–300 kcal is usually enough. Our guide to how many calories you need to lose weight covers this step in detail.
Step 2: Set protein by body weight
Protein comes first because it supports muscle repair and keeps you full. The International Society of Sports Nutrition (ISSN) recommends 1.4–2.0 g per kg of body weight a day for most active people. In a calorie deficit, many people aim for the higher end, up to about 2.2 g per kg, to help hold on to muscle.
Multiply your weight in kg by your chosen number. If you're carrying a lot of extra weight, use your goal weight instead so the target stays realistic. For more detail, see how much protein you need per day.
Step 3: Set fat at 20–35% of calories
Fat supports hormone production and helps you absorb vitamins A, D, E and K. The USDA's Dietary Guidelines for Americans use a range of 20–35% of calories from fat for adults, which is a sensible window for most people. The WHO also advises keeping saturated fat, found in ghee, butter and fatty meat, under 10% of your calories.
To get grams, multiply your calorie target by your chosen percentage, then divide by 9. Going much below 20% can make meals hard to stick to.
Step 4: Fill the rest with carbs
Carbs get whatever calories are left. Subtract your protein and fat calories from your total, then divide by 4. Carbs are your main fuel for hard training.
Here's the whole method as formulas:
- Protein (g) = body weight (kg) × 1.4 to 2.2
- Fat (g) = calorie target × 0.20 to 0.35, then ÷ 9
- Carbs (g) = (calorie target − protein calories − fat calories) ÷ 4
Worked example: macros for fat loss and muscle gain
Let's run the numbers for a 70 kg person who trains three or four times a week and maintains their weight on about 2,300 kcal a day. Protein is set a little higher for fat loss to help protect muscle in a deficit, and fat is set at 25% of calories for both goals.
| Step | Fat loss | Muscle gain |
|---|---|---|
| Calorie target | 2,300 − 500 = 1,800 kcal | 2,300 + 200 = 2,500 kcal |
| Protein | 70 kg × 2.0 = 140 g (560 kcal) | 70 kg × 1.8 = 126 g (504 kcal) |
| Fat (25% of calories) | 450 kcal ÷ 9 = 50 g | 625 kcal ÷ 9 ≈ 69 g |
| Carbs (the rest) | 790 kcal ÷ 4 ≈ 198 g | 1,371 kcal ÷ 4 ≈ 343 g |
| Split by calories | 31% protein, 25% fat, 44% carbs | 20% protein, 25% fat, 55% carbs |
Notice that protein barely changes between goals, while carbs absorb most of the calorie difference. Round to easy numbers, such as 140 g protein, 50 g fat and 200 g carbs for fat loss. Nobody hits targets to the gram, and you don't need to.
How to convert grams to calories (and back)
Once you know the 4-4-9 rule, you can check any meal, recipe or label:
- Grams to calories: multiply protein and carbs by 4 and fat by 9. A meal with 30 g protein, 60 g carbs and 15 g fat has 120 + 240 + 135 = 495 kcal.
- Calories to grams: divide by the same numbers. 600 kcal from carbs is 150 g, and 450 kcal from fat is 50 g.
- Percentages to grams: multiply your calorie target by the percentage, then divide by 4 or 9.
Label totals won't always match your 4-4-9 maths exactly, because of rounding and differences in how countries count fibre. If labels confuse you, our guide on how to read nutrition labels walks you through them.
Track your intake and adjust
Your calculation is an educated starting point, not a final answer. Your results over the next few weeks tell you whether it's right.
- Track consistently for two to three weeks. Weigh portions for the first few days if you can, and log cooking oil, drinks and snacks.
- Weigh yourself at least three times a week and compare weekly averages, not single days. Daily weight swings with water, salt and digestion.
- Compare your progress with your goal. For fat loss, the NHS suggests aiming for about 0.5–1 kg a week. For muscle gain, a slow gain of roughly 0.25–0.5% of body weight a week keeps fat gain small.
- Adjust by 100–200 kcal if progress stalls for two to three weeks, taking the change mostly from carbs or fat.
- Keep protein steady while you adjust the other two.
Logging is the hardest part, so make it quick. With EatTrainTrack, you can type what you ate, scan a barcode or search a large verified food database that includes restaurant dishes, and the app totals your calories and macros for the day. On Pro, Snap+ estimates calories and macros from a photo of your plate, and advanced analytics show your macro trends week by week.
The flexible approach: hit protein and calories, keep the rest in a range
You don't need to hit every macro perfectly. A flexible approach puts your effort where it counts:
- Calories: the main driver of weight change, so land close to your target most days.
- Protein: the macro most worth prioritising. Try to reach your target, give or take about 10 g.
- Fat and carbs: keep fat within 20–35% of calories and let carbs flex around it. A higher-carb day and a higher-fat day can both work if calories and protein are on point.
This makes eating out, festivals and family dinners far easier. If dinner is a rich biryani, choose a lighter, protein-focused lunch and move on. In EatTrainTrack, you can check your remaining calorie budget on the daily dashboard before you order. Consistency over weeks matters far more than any single day.
Frequently asked questions
Do I need to count macros to lose weight?
No. Weight loss depends mainly on eating fewer calories than you burn, so counting calories alone can work. Tracking macros, especially protein, helps you keep more muscle, stay fuller and train better while you lose fat. A simple middle ground is to track calories and protein closely and keep fat and carbs within a sensible range.
What is the best macro ratio for fat loss?
There's no single best ratio. A practical starting point is protein at 1.6–2.2 g per kg of body weight, fat at 20–35% of calories and carbs making up the rest. In the fat loss example above, that meant roughly 30% protein, 25% fat and 45% carbs. Your calorie deficit matters more than the exact split.
Should I use my current weight or goal weight for protein?
If you're within a healthy weight range, use your current weight. If you have a lot of weight to lose, your current weight can produce a protein target that's hard to eat and higher than you need. In that case, base it on your goal weight or a healthy reference weight instead, and recalculate as your weight changes.
How often should I recalculate my macros?
Recalculate whenever your goal changes or your weight has shifted by a few kilograms, because your calorie needs change with your body weight. Between recalculations, make small tweaks based on your weekly average weight. If progress stalls for two to three weeks despite accurate tracking, adjust calories by 100–200 kcal rather than starting from scratch.
Do fibre and alcohol count toward my macros?
Fibre is a type of carbohydrate. US-style labels include it in total carbs, while UK and EU labels list it separately, so just follow the format your labels use. Alcohol provides 7 kcal per gram but isn't a macro you need. Count its calories and fit them into your carb or fat allowance for the day.
This article is for general information only and isn't a substitute for advice from a doctor or registered dietitian.