ES EN FR PT DE IT

Macro Calculator

Macro Calculator. Free online calculator with formula, examples and step-by-step guide.

The Macro Calculator is a free health calculator. Macro Calculator. Free online calculator with formula, examples and step-by-step guide. Get evidence-based estimates to improve your wellbeing.
Inputs
Body Data
Technical Parameters
Result
Enter values and press Calculate

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.

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.

  1. Macro calories:
    • Protein: 0.30 · 2,400 = 720 kcal.
    • Fat: 0.25 · 2,400 = 600 kcal.
    • Carbs: 0.45 · 2,400 = 1,080 kcal.
  2. 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.

  1. Target calories:
    • 1,870 kcal/day after deficit.
  2. 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.
  3. 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.

Written and reviewed by the CalcToWork editorial team. Last updated: 2026-04-29.

Frequently Asked Questions

For muscle gain, aim for 1.6-2.2 g of protein per kg of body weight, 25-35% of calories from fat, and the rest from carbs. This calculator distributes your TDEE calories across these macro ratios based on your goal.
For fat loss, a common starting point is 40% protein, 30% carbs, 30% fat. High protein preserves muscle during a calorie deficit. Adjust after 2-3 weeks.
Counting macros is more effective because it ensures enough protein for muscle, enough fat for hormones, and enough carbs for energy. Calories determine weight change; macros determine body composition.