Macro Calculator
Macro Calculator. Free online calculator with formula, examples and step-by-step guide.
Macronutrient Calculator: daily protein, fat and carbs
The macronutrient calculator converts your daily calorie target into grams of protein, fat and carbohydrates. Starting from your TDEE and goal (maintenance, fat loss or muscle gain), it distributes energy into macros using percentages or grams per kilogram of body weight.
Link between calories and macronutrients
Each macronutrient provides a fixed amount of energy per gram:
- Protein: 4 kcal/g
- Carbohydrates: 4 kcal/g
- Fat: 9 kcal/g
Once you decide what share of your calories comes from each macro, you convert calories to grams by dividing by the relevant factor: grams = macro calories / kcal per gram.
Example 1: maintenance with 30/25/45 split
Problem: TDEE = 2,400 kcal/day. Goal: maintenance with 30 % protein, 25 % fat and 45 % carbohydrates.
- Macro calories:
- Protein: 0.30 · 2,400 = 720 kcal.
- Fat: 0.25 · 2,400 = 600 kcal.
- Carbs: 0.45 · 2,400 = 1,080 kcal.
- Grams per macro:
- Protein: 720 / 4 = 180 g/day.
- Fat: 600 / 9 ≈ 66.7 g/day.
- Carbs: 1,080 / 4 = 270 g/day.
Answer: 180 g protein, 67 g fat and 270 g carbohydrates per day.
Example 2: deficit for fat loss
Problem: TDEE = 2,200 kcal/day. Apply a 15 % deficit, so target calories = 1,870 kcal/day. Macro split: 35 % protein, 25 % fat, 40 % carbs.
- Target calories:
- 1,870 kcal/day after deficit.
- Macro calories:
- Protein: 0.35 · 1,870 ≈ 654.5 kcal.
- Fat: 0.25 · 1,870 ≈ 467.5 kcal.
- Carbs: 0.40 · 1,870 ≈ 748 kcal.
- Grams:
- Protein: 654.5 / 4 ≈ 164 g.
- Fat: 467.5 / 9 ≈ 52 g.
- Carbs: 748 / 4 ≈ 187 g.
Answer: Around 164 g protein, 52 g fat and 187 g carbohydrates per day.
Common uses of the macronutrient calculator
- Planning fat‑loss diets that preserve muscle mass.
- Designing hypertrophy programs with adequate protein intake.
- Setting up low‑carb or higher‑fat eating patterns with clear targets.
- Periodizing nutrition around training and competition days.
- Turning abstract calorie goals into concrete food quantities.
- Teaching how different macro splits affect energy, performance and satiety.
Common mistakes when splitting macros
- Choosing percentages that do not add up to 100 %, creating "missing" calories.
- Ignoring reasonable protein minimums (for example, 1.6–2.2 g/kg in strength athletes).
- Forgetting that alcohol also provides calories and is not counted in the basic macros.
- Changing macro targets too frequently, making it impossible to see consistent results.
Pro tip
Start with a simple macro framework (for instance, set protein from body weight and split the remaining calories between fat and carbs according to your preferences), then tweak based on performance, hunger and weight trends. Consistency usually matters more than theoretically "perfect" macro ratios.
For weight change, calorie balance is fundamental. Macros fine‑tune what kind of weight you gain or lose (fat versus muscle) and how you feel and perform along the way.
Most active people do well in the 1.6–2.2 g of protein per kg body weight range, adjusted to preference, training volume and digestion comfort.
It depends on your tracking style. Some track total carbs, others subtract fiber and track "net" carbs. The calculator can support either approach as long as you are consistent.
It is optional. Some people benefit from higher carbs on hard training days, but many see great results with a steady macro setup that fits their weekly energy needs.