Skip to content

Macronutrient Calculator

Use the figure from a calorie or TDEE estimate.

Macro split
Daily macro targets —
Carbohydrate (g)
—
Protein (g)
—
Fat (g)
—
Per meal
—
Where the calories come from
The chart appears with your result

To get macro grams, multiply your daily calories by each macronutrient's share, then divide by its energy density: 4 kcal per gram for carbohydrate and protein, 9 for fat. On 2,000 kcal at 50/20/30, that is 250 g carbohydrate, 100 g protein and about 67 g fat.

About this tool

Diet plans, food-tracking apps and dietitians usually state targets as percentages of calories, but food labels list grams. This calculator bridges the two. Enter a daily calorie target, pick one of three preset splits or set your own percentages, and choose how many meals you eat. It returns the grams of carbohydrate, protein and fat per day and per meal, a table of calories by nutrient, and a donut chart of where the energy comes from. Each split is checked against the Acceptable Macronutrient Distribution Ranges set by the US National Academies for adults. The tool does not estimate your calorie needs; bring that number from a separate energy estimate. Alcohol and fibre are not counted separately.

How to use it

  1. Enter your calorie target

    Type the daily kilocalories you plan to eat, between 800 and 6,000.

  2. Choose a macro split

    Pick a preset card, or Custom to reveal three sliders that must total 100%.

  3. Set meals per day

    Use the stepper to divide the daily grams across one to eight meals.

  4. Read the grams and the chart

    The table lists calories and grams per nutrient; the donut shows the energy split and downloads as PNG, SVG or CSV.

Examples

2,000 kcal, balanced

Daily calorie target
2000
Macro split
Balanced 50/20/30
Meals per day
3

Result Daily macro targets: 250 g carbs · 100 g protein · 67 g fat
Carbohydrate (g): 250
Protein (g): 100
Fat (g): 66.7
Per meal: 83 g C / 33 g P / 22 g F

  1. Carbohydrate: 2000 × 50% = 1000 kcal ÷ 4 = 250 g
  2. Protein: 2000 × 20% = 400 kcal ÷ 4 = 100 g
  3. Fat: 2000 × 30% = 600 kcal ÷ 9 = 66.7 g
  4. Per meal (3 meals): divide each gram total by 3

The 2,000 kcal reference diet used on US Nutrition Facts labels, split at the middle of the adult AMDR ranges.

2,500 kcal, higher protein, 4 meals

Daily calorie target
2500
Macro split
Higher protein 40/30/30
Meals per day
4

Result Daily macro targets: 250 g carbs · 188 g protein · 83 g fat
Carbohydrate (g): 250
Protein (g): 187.5
Fat (g): 83.3
Per meal: 63 g C / 47 g P / 21 g F

  1. Carbohydrate: 2500 × 40% = 1000 kcal ÷ 4 = 250 g
  2. Protein: 2500 × 30% = 750 kcal ÷ 4 = 187.5 g
  3. Fat: 2500 × 30% = 750 kcal ÷ 9 = 83.3 g
  4. Per meal (4 meals): divide each gram total by 4

Protein at 30% gives 187.5 g a day, about 47 g in each of four meals; carbohydrate at 40% sits below the 45% AMDR floor, so a note appears.

2,200 kcal, custom 45/25/30

Daily calorie target
2200
Macro split
Custom
Carbohydrate share
45
Protein share
25
Fat share
30
Meals per day
2

Result Daily macro targets: 248 g carbs · 138 g protein · 73 g fat
Carbohydrate (g): 247.5
Protein (g): 137.5
Fat (g): 73.3
Per meal: 124 g C / 69 g P / 37 g F

  1. Carbohydrate: 2200 × 45% = 990 kcal ÷ 4 = 247.5 g
  2. Protein: 2200 × 25% = 550 kcal ÷ 4 = 137.5 g
  3. Fat: 2200 × 30% = 660 kcal ÷ 9 = 73.3 g
  4. Per meal (2 meals): divide each gram total by 2

All three shares sit inside the AMDR, giving 247.5 g carbohydrate, 137.5 g protein and 73.3 g fat across two meals.

How it is calculated

grams = calories × share ÷ energy density (4 kcal/g carbohydrate, 4 kcal/g protein, 9 kcal/g fat)

calories
daily energy target in kilocalories
share
the percentage of calories assigned to that macronutrient
energy density
the general Atwater factor for that nutrient

Each nutrient's calorie allotment is the target multiplied by its share. Dividing by the Atwater factor converts kilocalories to grams. Per-meal figures divide the daily grams evenly. The split is compared with the adult AMDR: 45–65% carbohydrate, 10–35% protein and 20–35% fat. A share outside those bands raises a note rather than an error, since some clinical and athletic plans sit outside them on purpose.

Sources

When not to use it

  • For managing kidney disease, diabetes or other conditions where protein or carbohydrate limits are set clinically.
  • For children and teenagers, whose AMDR bands for fat are higher than the adult ranges used here.
  • To decide how many calories to eat; this tool only divides a target you already have.

Common mistakes

  • Dividing fat calories by 4 instead of 9, which more than doubles the fat grams.
  • Entering custom shares that add up to 105% or 95%, which the calculator rejects.
  • Comparing grams of macronutrient with grams of food: 100 g of chicken holds roughly 30 g of protein, not 100 g.

Frequently asked questions

Why does fat get 9 calories per gram but protein only 4?

These are the general Atwater factors, measured as the energy the body can use from each nutrient after digestion losses. Fat is more energy-dense, so the same share of calories gives far fewer grams of fat than of carbohydrate or protein.

What are the AMDR ranges?

The Acceptable Macronutrient Distribution Ranges from the US National Academies set adult intakes at 45–65% of energy from carbohydrate, 10–35% from protein and 20–35% from fat. They mark ranges linked with lower chronic disease risk while still supplying essential nutrients.

Is the 30/35/35 lower-carb split safe?

It puts carbohydrate below the adult AMDR floor of 45%, which is why the calculator shows a note. Many people follow such plans, but the split is outside the reference range, so it is worth discussing with a dietitian for long periods.

How does this relate to grams of protein per kilogram?

The adult RDA for protein is 0.8 g per kg of body weight. Divide the protein grams shown here by your weight in kilograms to compare. At 100 g and 70 kg, that is about 1.4 g per kg.

Do fibre and alcohol count?

Fibre is counted within carbohydrate at 4 kcal per gram here, although it actually yields closer to 2. Alcohol provides 7 kcal per gram and is not part of any split, so drinks reduce the calories left for the three macronutrients.

Should every meal have the same macros?

The per-meal figures assume an even split, which is a simple starting point. Many people shift carbohydrate toward meals around training or move more protein to breakfast; the daily totals matter more than the exact pattern across meals.

Cite this tool

Using this tool in an assignment, article or report? Copy a citation, or a link for your website.

APA

Tools Directory Editorial Team. (2026, October 28). Macronutrient Calculator. Tools Directory. Retrieved October 28, 2026, from https://tools.milunir.com/health/diet-and-nutrition-planning/macronutrient-calculator/

MLA

Tools Directory Editorial Team. “Macronutrient Calculator.” Tools Directory, 28 Oct. 2026, https://tools.milunir.com/health/diet-and-nutrition-planning/macronutrient-calculator/. Accessed 28 Oct. 2026.

Chicago

Tools Directory Editorial Team. “Macronutrient Calculator.” Tools Directory. Last modified October 28, 2026. Accessed October 28, 2026. https://tools.milunir.com/health/diet-and-nutrition-planning/macronutrient-calculator/.

Link<a href="https://tools.milunir.com/health/diet-and-nutrition-planning/macronutrient-calculator/">Macronutrient Calculator – Tools Directory</a>