Macro Calculator — Turn a Calorie Target into Grams of Protein, Carbs and Fat

Enter your daily calorie target and pick a macro split to see how many grams of protein, carbohydrate and fat that means each day and at each meal.

Live demo · real result from this tool
Protein150 g
Carbohydrate
200 g
Fat
66.67 g

Per day and per meal

MacroShareCaloriesGrams per dayGrams per meal (3)
Protein30%60015050
Carbohydrate40%80020066.7
Fat30%60066.722.2

Calories by macro

Protein — 30%Carbohydrate — 40%Fat — 30%

Uses 4 kcal per gram for protein and carbohydrate and 9 for fat (Atwater factors).

Processed on your device — nothing is uploaded.

How to use the macro calculator

  1. Enter your Daily calorie target in kcal.
  2. Choose a Macro split (protein / carbs / fat): Balanced 30 / 40 / 30, High protein 40 / 30 / 30, Lower carb 35 / 25 / 40, Endurance 20 / 55 / 25, Ketogenic 20 / 5 / 75, or Custom.
  3. For Custom, enter Protein, Carbohydrate and Fat percentages that add up to 100.
  4. Set Meals per day.
  5. Read the grams per day, then check the table for calories and grams per meal. The donut chart shows the calorie split.

What it does and when to use it

A calorie target tells you how much to eat. A macro target tells you what to eat it as. Many people find grams easier to plan with than percentages, because food labels list grams.

Use the calculator to:

  • Turn a calorie goal into a simple daily target for each macronutrient.
  • Plan meals by splitting the daily grams across the meals you eat.
  • Compare how different splits change your protein, carbohydrate and fat.
  • Check that a custom split adds up before you build a meal plan around it.

Start with a calorie target from the TDEE Calculator. If you mainly care about protein, the Protein Intake Calculator bases its range on body weight instead. To check your weight for your height, see the BMI Calculator.

How it works

For a calorie target K and percentages p, c and f:

  • Protein grams = K × p ÷ 100 ÷ 4
  • Carbohydrate grams = K × c ÷ 100 ÷ 4
  • Fat grams = K × f ÷ 100 ÷ 9
  • Grams per meal = grams per day ÷ meals per day

The energy values of 4, 4 and 9 kcal per gram are the general Atwater factors. The FAO gives them as 4.0 kcal/g for protein and carbohydrate and 9.0 kcal/g for fat. If the three percentages do not add up to 100, the tool asks you to fix them instead of guessing. Everything runs in your browser.

Worked examples

A 2,000 kcal balanced plan (30 / 40 / 30) over 3 meals.

Macro Calories Grams per day Grams per meal
Protein 600 150 50
Carbohydrate 800 200 66.7
Fat 600 66.7 22.2

So Protein: 150 g and Fat: 66.67 g each day.

A 1,800 kcal custom plan (40 / 30 / 30) over 4 meals. That gives 180 g of protein, 135 g of carbohydrate and 60 g of fat a day, or 45 g, 33.8 g and 15 g per meal.

A split that does not add up. 30 / 40 / 25 totals 95%, so the tool shows The percentages add up to 95% and asks for a total of 100%.

Limits and tips

  • The presets are common patterns, not recommendations for you.
  • The Atwater factors are averages. The energy you absorb from a specific food can differ a little.
  • Very low carbohydrate diets such as the ketogenic preset are not suitable for everyone. Get medical advice first if you take medication or have a health condition.

Frequently asked questions

How are grams worked out from calories?
Each gram of protein or carbohydrate provides about 4 kcal and each gram of fat about 9 kcal. These are the general Atwater factors described by the FAO. The tool multiplies your calorie target by each percentage, then divides by 4 or 9.
Which macro split should I choose?
The presets are starting points, not medical advice. They cover common patterns, from a balanced split to higher-protein, lower-carbohydrate and endurance-style splits. If you have a health condition such as diabetes or kidney disease, ask a doctor or registered dietitian before changing your diet.
Where does my calorie target come from?
You choose it. If you do not have one, the TDEE Calculator estimates your maintenance calories from your age, size and activity level. Subtract a little to lose weight or add a little to gain.
Why does fat show fewer grams than protein at the same percentage?
Because fat has more than twice the energy per gram. In a 2,000 kcal balanced plan, 30% from protein is 150 g but 30% from fat is only 66.67 g.
Does the calculator count fibre or alcohol?
No. It splits calories between protein, carbohydrate and fat only. Alcohol provides energy too, so drinks would take up part of your calorie target.

Sources

  1. Food energy — methods of analysis and conversion factors, Chapter 3 (energy conversion factors) — Food and Agriculture Organization of the United Nations, accessed 2026-10-03

Written by the ToolsRift team · Last updated · Figures last verified

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close