Macro Calculator

Split a calorie target between protein, carbohydrate and fat. Enter your own values below to see carbohydrates and check the method behind it.

All calculators

Your inputs

Change the example values to match your situation.

Your result

Let’s work it out.

Fill in your inputs and select Calculate.
Your result and breakdown will appear here.

How this calculator works

Protein and carbohydrates provide about 4 kcal/g; fat provides 9 kcal/g. Split total calories by the entered percentages.

Before you use the result

  • Estimates for general information. They do not diagnose a condition or replace a qualified clinician’s assessment.

What is Macro Calculator?

Macro Calculator helps you split a calorie target between protein, carbohydrate and fat.

The main result is carbohydrates, with a breakdown of protein and fat. The formula, example and assumptions below explain how to interpret it.

How to use Macro Calculator

Use the example to get familiar with the form, then enter your own figures. Any rates in the example are illustrative. Check the field labels and units before calculating.

  1. Gather daily energy target (kcal), protein share (%), carbohydrate share (%) and fat share (%). Use values from the same situation or reporting period.
  2. Replace the example daily energy target with your own value, then complete the other fields. Check the displayed units.
  3. Select Calculate and read carbohydrates with its result breakdown. Change one input and calculate again to compare a second scenario. Reset restores the original example.
  • Enter daily energy target in kcal, at least 1000 and at most 10000. Decimals are accepted.
  • Enter protein share in %, at least 0 and at most 100. Decimals are accepted.
  • Enter carbohydrate share in %, at least 0 and at most 100. Decimals are accepted.
  • Enter fat share in %, at least 0 and at most 100. Decimals are accepted.

Macro Calculator: a worked example

With the inputs below, the result is 225 g/day (carbohydrates). Follow the example, then replace these illustrative values with your own.

Example inputs and output
Input or outputExample value
Daily energy target (kcal)2,000 kcal
Protein share (%)25 %
Carbohydrate share (%)45 %
Fat share (%)30 %
Carbohydrates225 g/day
Protein125 g/day
Fat66.666667 g/day

Understanding the Macro result

Read carbohydrates alongside protein and fat. These describe different parts of the same calculation.

Displayed results use a readable number of decimal places. When checking a result by hand, keep extra precision until the last step. To compare scenarios, change one input at a time and keep the others fixed.

  • Example Protein: 125 g/day
  • Example Fat: 66.666667 g/day

Macro Calculator: assumptions and common mistakes

A useful estimate starts with the right inputs. Check the following assumptions and limits before applying the result to your situation.

  • Estimates for general information. They do not diagnose a condition or replace a qualified clinician’s assessment.
  • Health estimates are context-dependent. Age, pregnancy, illness, medication and individual measurements can affect interpretation; these tools do not diagnose a condition.

For wider guidance, visit World Health Organization. The formula and scope of this specific tool are stated on this page.

Macro Calculator FAQs

What does Macro Calculator calculate?

Macro Calculator helps you split a calorie target between protein, carbohydrate and fat. Its main output is carbohydrates in g/day.

What inputs do I need for Macro Calculator?

You need daily energy target (kcal), protein share (%), carbohydrate share (%) and fat share (%). Use the field labels and units to match your figures to the formula.

Which formula does Macro Calculator use?

Protein and carbohydrates provide about 4 kcal/g; fat provides 9 kcal/g. Split total calories by the entered percentages.

What is a worked example for Macro Calculator?

Example inputs: Daily energy target: 2,000 kcal; Protein share: 25 %; Carbohydrate share: 45 %; Fat share: 30 %. The result is 225 g/day (carbohydrates).

How should I enter daily energy target?

Enter daily energy target in kcal, at least 1000 and at most 10000. Decimals are accepted.

How do I choose protein share?

Enter protein share in %, at least 0 and at most 100. Decimals are accepted. The example uses 25 %; replace it if your circumstances differ.

How should I read carbohydrates?

Read carbohydrates alongside protein and fat. These describe different parts of the same calculation.

Why might my Macro Calculator result differ from my records?

Estimates for general information. They do not diagnose a condition or replace a qualified clinician’s assessment. Differences in entered values, units or rounding can also change the comparison.

Can I compare two scenarios in Macro Calculator?

Yes. Note your first carbohydrates, change daily energy target or another input, and select Calculate again. Editing a field clears the old result so it is not mistaken for a new calculation.

Is Macro Calculator free, and where are my inputs calculated?

This calculator is free to use without signing in. Its formula runs in your browser; calculator inputs are not sent to a calculation API. The inputs reset to the example values when you reset the form or start a fresh page.