Health & fitness · FREE ONLINE TOOL

Macro Calculator

Convert a daily energy target into protein, carbohydrate and fat grams, or explore adult reference ranges from body measurements.

What would you like to calculate?

Your inputs

How it works

Daily macronutrients

Protein and carbohydrate supply about 4 kcal/g; fat supplies about 9 kcal/g.

The entered percentages must total 100%. These are planning quantities, not a prescribed diet.

Calculations run in your browser. No account needed.

EXAMPLE RESULTCalculated locally
Protein
100 g/day
Carbohydrate
250 g/day
Fat
66.67 g/day
Clear inputs. Transparent methods.
My workspace

Calculate with your inputs to save a result or compare scenarios.

How it works

Illustration for Macro Calculator: a fork and knife; a heart and pulse line.
Daily macronutrientsProtein and carbohydrate supply about 4 kcal/g; fat supplies about 9 kcal/g.
A useful distinction

Check the energy after rounding grams

At 2,000 kcal with a 20/50/30 split, protein and carbohydrate are 100 g and 250 g; fat is about 66.7 g. Rounding fat to 67 g makes the reconstructed total 2,003 kcal, an expected rounding difference.

Account for the energy in a sample meal

Protein
20 g
Carbohydrate
40 g
Fat
10 g
Energy. A (Protein + carbohydrate) → 240 kcal. B (Total) → 330 kcal.
Account for the energy in a sample meal
QuantityCalculationEnergy
A Protein + carbohydrate4 × (20 + 40)240 kcal
B Total240 + 9 × 10330 kcal

Choose between splitting an entered energy amount and estimating reference ranges

Daily macronutrients divides an energy amount among protein, carbohydrate and fat using percentages you enter. From body measurements & activity first estimates adult energy expenditure, then displays independent population reference ranges. These modes answer different questions.

For a specified split, all three percentages must total 100. Use the energy amount relevant to your own planning context; the 2,000 kcal starting value is an arithmetic example, not a personal intake recommendation.

Convert energy shares into grams correctly

Protein and carbohydrate use approximately 4 kcal per gram; fat uses approximately 9 kcal per gram. Multiply total kcal by each percentage divided by 100, then divide that nutrient’s kcal by its conversion factor.

At 2,000 kcal with 20% protein, 50% carbohydrate and 30% fat, the results are 100 g protein, 250 g carbohydrate and about 66.67 g fat. The gram totals do not need to add to 100 or 2,000; the energy shares do.

A complete illustrative 20/50/30 split
NutrientEnergy calculationDaily grams
Protein2,000 × 0.20 = 400 kcal400 ÷ 4 = 100
Carbohydrate2,000 × 0.50 = 1,000 kcal1,000 ÷ 4 = 250
Fat2,000 × 0.30 = 600 kcal600 ÷ 9 ≈ 66.67

Do not combine every upper reference endpoint into one diet

The adult energy-share ranges shown by the reference mode are carbohydrate 45–65%, fat 20–35% and protein 10–35%. These are separate ranges. Their lower endpoints add to 75%, while their upper endpoints add to 135%.

Consequently, choosing all upper gram values would exceed the modeled energy amount. A complete chosen split must still total 100%; a range display is not three independent instructions to maximize intake.

Check the energy estimate before interpreting its nutrient outputs

The body-measurement mode uses a selected resting equation and activity factor. Its optional Daily energy adjustment changes the scenario explicitly; it does not predict a weight-loss rate or make that adjusted intake appropriate for an individual.

Changing the activity factor changes every energy-based gram range. By contrast, a grams-per-kilogram protein calculation uses a different basis and is available in the Protein Calculator.

Use macro arithmetic without overlooking food composition

The result gives quantities, not a menu or a judgment of diet quality. It does not select foods, check micronutrients or account for every food-label rounding convention. Meal composition, fiber and individual medical needs require information beyond these three totals.

The adult reference-energy mode is not intended for children, pregnancy, breastfeeding or individualized medical nutrition care. A nutrition professional can help interpret an appropriate plan when health conditions or dietary restrictions are relevant.

Daily macronutrients: formula and assumptions

Protein and carbohydrate supply about 4 kcal/g; fat supplies about 9 kcal/g.

The entered percentages must total 100%. These are planning quantities, not a prescribed diet.

Use Daily macronutrients

From body measurements & activity: formula and assumptions

Resting kcal/day: Mifflin–St Jeor = 10w + 6.25h − 5a + s, with s = 5 (male) or −161 (female). Revised Harris–Benedict: male = 88.362 + 13.397w + 4.799h − 5.677a; female = 447.593 + 9.247w + 3.098h − 4.330a. Katch–McArdle = 370 + 21.6w(1 − body fat%/100). Maintenance energy = resting energy × activity factor. Adult AMDR: carbohydrate 45–65%, fat 20–35%, protein 10–35% of energy; grams divide kcal by 4, 9, and 4 respectively.

Weight is in kilograms, height in centimeters, and age in years. Katch–McArdle also depends on the accuracy of the entered body-fat percentage. Activity factors are scenario assumptions, not measured expenditure or part of the resting-energy equations. A factor of 1 shows resting energy only. The adjustment is an explicit scenario, not a prediction of weight change. Ranges are independent population references and their endpoints are not intended to be combined into a single diet. For adults; excludes pregnancy, breastfeeding, children and individualized medical nutrition care.

Use From body measurements & activity

Worked example

Using the Daily macronutrients example:

Inputs
Daily energy target (kcal)
2000
Protein share (%)
20
Carbohydrate share (%)
50
Fat share (%)
30
Method

Protein and carbohydrate supply about 4 kcal/g; fat supplies about 9 kcal/g.

Result

Example result

Protein: 100 g/day

Carbohydrate: 250 g/day

Fat: 66.67 g/day

These are illustrative inputs. Change the values to explore a different scenario.

Formula references

References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.

Common questions

Why must the percentages total 100?

They divide the entered energy amount among three macronutrients. A complete allocation must account for all of that amount once.

Why does fat produce fewer grams for the same calories?

This arithmetic uses about 9 kcal per gram of fat and 4 per gram of protein or carbohydrate.

Can I choose all the upper gram ranges?

No. The upper energy-share endpoints sum to more than 100%, so they do not form one complete split.

Is the 2,000 kcal starting value my recommendation?

No. It is an illustrative input. The calculator does not establish an individual energy prescription.

Is 20% protein the same as 20 grams?

No. At 2,000 kcal, 20% is 400 kcal from protein, which is 100 grams using 4 kcal/g.

Does the result account for fiber and food quality?

It does not create a complete dietary assessment. Nutrient composition and label conventions can require more detail than this energy split.

See our methodology and editorial policy. Read the relevant professional-advice limitations.