Calculate

Macro Calculator

Enter a daily calorie figure and the percentage of calories you want to assign to protein, carbohydrates and fat. The calculator converts each share to calories and grams. Example splits are editable starting points, not recommendations. Calculated locally and never stored.

Back

1. Calories & split

Must total 100%
0%

Energy values: protein 4 kcal/g, carbohydrates 4 kcal/g, fat 9 kcal/g. Percentages accept up to one decimal place.

2. Daily breakdown

—
Enter a calorie figure and three percentages that total 100%, then press Calculate macros.
About this tool

About Macro Calculator

Macro Calculator divides a daily calorie figure into protein, carbohydrates and fat. You enter the calories and the percentage for each macronutrient; when the percentages total exactly 100%, it shows the calories, share and grams for each, using 4 kcal per gram for protein and carbohydrates and 9 kcal per gram for fat.

Nutrition labels and food logs list grams, while plans and articles often describe percentages. Converting between the two by hand is easy to get wrong. This tool does the arithmetic transparently and shows each step, without recommending any particular split.

How to use

Step by step

  1. Enter your daily calorie figure in kcal.
  2. Optionally choose an example split to fill the percentage fields.
  3. Enter or edit the protein, carbohydrate and fat percentages until the total shows 100%.
  4. Press Calculate macros.
  5. Review the calories and grams for each macronutrient, then copy or download the summary.
Key features

What it offers

  • Editable percentages with a live running total
  • Exactly-100% check using whole tenths of a percent
  • Calories, share and grams for protein, carbohydrates and fat
  • Standard 4/4/9 kcal-per-gram energy values, stated on the page
  • Optional example splits that are editable and clearly not recommendations
  • Step-by-step calculation included in the Copy and Download summary
Best practices

Tips for best results

  • Use a calorie figure from a reliable source, such as your own records or a professional.
  • Round grams to amounts that are practical to measure or track.
  • Remember that fibre and alcohol are not modelled separately.
  • Revisit the split if your calorie figure changes.
Benefits

Why people use it

Accurate arithmetic

Calories and grams are calculated consistently.

Neutral

Examples are starting points, not recommendations.

Private

Nothing you enter leaves your browser.

FAQ

Common questions

Each macronutrient's calories are its percentage of the daily total. Grams are those calories divided by the energy per gram: protein 4 kcal/g, carbohydrates 4 kcal/g and fat 9 kcal/g. For example, 30% of 2,000 kcal is 600 kcal of protein, which is 600 ÷ 4 = 150 g.
The three percentages describe how the whole daily calorie figure is divided. If they total more or less than 100%, the calories and grams would not account for the figure you entered, so the calculator asks you to adjust them first. The running total is shown as you type.
No. The examples only fill in the percentage fields so you can see how the calculator works, and you can edit every value. Individual nutritional needs vary, and this tool does not recommend any particular split.
Yes. Each percentage can have up to one decimal place, such as 27.5%. The three values must still total exactly 100%.
Calories are rounded to whole numbers and grams to one decimal place for display. Rounding can make the displayed figures differ from the total by a calorie or so; the underlying calculation uses unrounded values.
You enter it yourself. It might come from your own records, a professional or an estimate such as the Calorie Calculator on this site. This is a general educational estimate, not medical advice, diagnosis or treatment.
No. It uses the standard 4/4/9 energy values for protein, carbohydrates and fat only. Fibre and alcohol (about 7 kcal/g) are not modelled separately.
No. Everything is calculated in your browser and nothing is stored or sent anywhere.
Private by design

This runs entirely in your browser

No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.

Install Toolisco Add it to your device for offline, one-tap access.