# Macro Calculator (Protein, Carbs & Fat)

> Turn a calorie target and your chosen protein/carb/fat split — including keto ratios — into grams per day.

Page: https://freecalculator.tech/tools/macro-calculator
Last reviewed: 2026-11-03

## Formula

grams = calories × share ÷ energy per gram, using general Atwater factors: protein 4 kcal/g, carbohydrate 4 kcal/g, fat 9 kcal/g.

- Source: FAO Food and Nutrition Paper 77 (2003), Food energy — methods of analysis and conversion factors, general Atwater factors.
- You choose the calorie target and the split; no diet ratio is preset. A ketogenic split is simply a low carbohydrate share you enter.
- grams = calories × share ÷ energy per gram, using general Atwater factors: protein 4 kcal/g, carbohydrate 4 kcal/g, fat 9 kcal/g.
- Inputs used: Daily calorie target, Protein share, Carbohydrate share, Fat share.

## Inputs

- Daily calorie target
- Protein share
- Carbohydrate share
- Fat share

## Worked example: 2,000 kcal at 30/40/30

150 g protein, 200 g carbohydrate, ≈66.67 g fat.
1. Protein: 2000 × 0.30 ÷ 4 = 150 g.
2. Carbohydrate: 2000 × 0.40 ÷ 4 = 200 g.
3. Fat: 2000 × 0.30 ÷ 9 ≈ 66.67 g.

## Common questions

### What split should I use?

The calculator does not choose one. Ratios depend on your goals and health; a registered dietitian can advise.

### How do I calculate keto macros?

Enter your own low carbohydrate share (for example 5%) with protein and fat shares that total 100%.

### Why does alcohol not appear?

Only protein, carbohydrate and fat are split. Alcohol (about 7 kcal/g) and fibre are outside this calculation.

### How do I use the Macro Calculator (Protein, Carbs & Fat)?

Enter the required values for Daily calorie target, Protein share, Carbohydrate share, Fat share. The calculator applies the formula on this page and shows the main result with any supporting breakdown so you can check the arithmetic.

### What formula does the Macro Calculator (Protein, Carbs & Fat) use?

grams = calories × share ÷ energy per gram, using general Atwater factors: protein 4 kcal/g, carbohydrate 4 kcal/g, fat 9 kcal/g. The visible formula section above lists the calculation path and the edge cases the page handles, so the result can be checked without relying on the form alone.

### Can the Macro Calculator (Protein, Carbs & Fat) be used for exact decisions?

Use it as a calculation aid, not as a substitute for checking the underlying rule, contract, policy, or professional advice that applies to your situation. When a result depends on local rules, personal details, prices, or dates, enter those values yourself and confirm them before acting.

## Limitations and assumptions

- General Atwater factors are averages; specific foods differ.
- Not medical nutrition therapy.
- For general fitness education only — not medical advice, diagnosis or a training prescription. Prediction equations are population estimates; speak with a qualified professional before changing exercise or diet, especially with a health condition.
- The result depends on the values you enter for this macro calculator (protein, carbs & fat); it does not supply missing rates, rules, prices, dates, or assumptions for you.

## Sources

- FAO — https://www.fao.org/4/y5022e/y5022e04.htm

## Cite this page

- APA: Free Calculator. (2026, November 3). Macro Calculator (Protein, Carbs & Fat). https://freecalculator.tech/tools/macro-calculator
- MLA: "Macro Calculator (Protein, Carbs & Fat)." Free Calculator, 3 Nov. 2026, https://freecalculator.tech/tools/macro-calculator.
- Link: Macro Calculator (Protein, Carbs & Fat) — Free Calculator, https://freecalculator.tech/tools/macro-calculator
