Macro Calculator

Convert a daily energy total and percentages into protein, carbohydrate and fat grams.

The calorie total and percentages are supplied by you; this tool does not determine an appropriate diet or treatment.

What does this calculator do?

Convert a daily energy total and percentages into protein, carbohydrate and fat grams.

Formula

Method and equation:

P(g) = kcal × P% ÷ 400; C(g) = kcal × C% ÷ 400; F(g) = kcal × F% ÷ 900

How to use it

Enter the labelled values, select a mode if needed and review the result and assumptions.

Worked example

Daily calories (kcal) 2,000; Protein share (%) 30; Carbohydrate share (%) 40 → Protein (g) 150

Assumptions

P(g) = kcal × P% ÷ 400; C(g) = kcal × C% ÷ 400; F(g) = kcal × F% ÷ 900. Calculation runs locally in your browser; raw inputs are not sent to analytics.

Limitations

The calorie total and percentages are supplied by you; this tool does not determine an appropriate diet or treatment.

Common mistakes

The calorie total and percentages are supplied by you; this tool does not determine an appropriate diet or treatment.

Formula version1.0.0
FormulaP(g) = kcal × P% ÷ 400; C(g) = kcal × C% ÷ 400; F(g) = kcal × F% ÷ 900

Frequently asked questions

How is the result calculated?

P(g) = kcal × P% ÷ 400; C(g) = kcal × C% ÷ 400; F(g) = kcal × F% ÷ 900. Convert a daily energy total and percentages into protein, carbohydrate and fat grams.

What are the limits of this result?

The calorie total and percentages are supplied by you; this tool does not determine an appropriate diet or treatment.

Are my input values sent to a calculation service?

Calculation runs locally in your browser; raw inputs are not sent to analytics.

Sources

Related calculators

Last updated: 2026-09-18 · v1.0.0 · Report an error