Macros Calculator
A macros calculator takes your calorie target (from TDEE) and splits it into protein, fat and carbohydrate grams — typically protein by body weight, fat at about 25% of calories, carbs for the rest.
verified_userReviewed by the Calculopedia editorial teamLast updated 2026-08-16
Embed on your site
Embed this calculator on your site:
<iframe src="https://calculopedia.darzh.xyz/embed/macros-calculator/" width="100%" height="700" style="border:0;border-radius:12px" loading="lazy"></iframe>
quizExample
How this calculator works, with real numbers (no JavaScript needed):
Inputs
- Age
- 30
- Gender
- male
- Height
- 175
- Weight
- 75
- Activity level
- moderate
- Goal
- maintain
- Protein intake
- moderate
Results
- Daily calorie target
- 2,633
- Protein
- 120
- Fat
- 73
- Carbohydrates
- 374
- Protein calories
- 480
- Fat calories
- 658
- Carb calories
- 1,495
- Maintenance (TDEE)
- 2,633
functionsThe formula
Macros are the three nutrients that provide calories — protein, fat and carbohydrates. Counting them instead of just calories helps you hit body-composition goals (lose fat, build muscle) more precisely, because where your calories come from matters almost as much as how many there are.
Why macros beat plain calories
Two people can eat the same number of calories with very different results. A bodybuilder and an office worker on identical daily totals would not build the same physique, largely because of protein: at an equal calorie intake, the person getting enough protein holds onto muscle during a cut and supports new muscle during a bulk. Fat matters too — it carries fat-soluble vitamins and supports hormone production, while carbohydrates are the body's preferred fuel for training. Tracking macros simply makes sure none of the three is starved.
Step 1 — calorie target
Your TDEE comes from BMR × activity. Then adjust for the goal:
Cut: TDEE − 500
Maintain: TDEE
Bulk: TDEE + 500
Step 2 — protein (by body weight)
Protein protects muscle when cutting and builds it when bulking:
| Intake | Grams per kg of body weight |
|---|---|
| Low | 1.2 |
| Moderate | 1.6 |
| High | 2.0 |
Protein and carbs supply 4 kcal per gram; fat supplies 9 kcal per gram. These 4-9-4 values trace back to the 19th-century work of Wilbur Atwater and are baked into food labels everywhere — they are the link between the grams you eat and the calories they provide.
Step 3 — fat and carbs
Fat gets about 25% of calories (divide by 9 for grams). The remaining calories go to carbs (divide by 4).
Example
A 30-year-old man, 175 cm, 75 kg, moderately active, maintaining, moderate protein:
- TDEE ≈ 2,633 kcal → target 2,633 kcal
- Protein = 75 × 1.6 = 120 g → 480 kcal
- Fat = 2,633 × 0.25 ÷ 9 ≈ 73 g → 658 kcal
- Carbs = (2,633 − 480 − 658) ÷ 4 ≈ 374 g
Making it practical
Gram targets can feel abstract until you picture them on a plate. Roughly, 100 g of cooked chicken breast is about 30 g of protein, a serving of rice roughly 40 g of carbohydrate, and a tablespoon of olive oil about 14 g of fat. Once you have your numbers, weighing food for a week or two teaches you what a "120 g" day actually looks like, after which most people can estimate by eye. If hitting protein feels like a struggle, that is normal — it is often the hardest macro to reach, which is why protein-rich snacks and shakes exist.
These splits are starting points. Adjust after 2–3 weeks based on how your weight and energy respond. This content is general education, not dietary or medical advice.
helpFrequently asked questions
question_markHow do I calculate my macros?
Set your calorie target from TDEE (plus or minus 500 for cut/bulk), take protein at 1.2–2.0 g per kg of body weight, fat at about 25% of calories, and fill the rest with carbohydrates.
question_markWhat are good macros for muscle gain?
For a bulk, eat TDEE + 500 kcal, protein at 1.6–2.0 g/kg, fat at 25–30% of calories, and carbs making up the remainder to fuel training.
question_markHow many grams of protein, carbs and fat should I eat?
It depends on your weight and goal. As a guide, protein 1.2–2.0 g/kg, fat ≈ 25% of calories, and carbs the remaining calories. The calculator gives exact gram targets.