Macro Calculator

Split a daily calorie target into grams of protein, carbs, and fat for any ratio, pick a preset or set your own percentages. Calculates instantly in your browser.

Daily macros

-

Carbs-
Protein-
Fat-

Show the math

Each macro takes its share of your calories, then converts to grams:

grams = (calories × share%) ÷ (4 carb · 4 protein · 9 fat)

Protein and carbohydrate hold 4 calories per gram; fat holds 9. The three shares should add up to 100%, the tool flags it if they don\u2019t. Higher protein helps preserve muscle when cutting; adjust the split to fit your training and goals.

What this does

A macro calculator splits a daily calorie target into grams of protein, carbohydrate, and fat for any ratio, using a preset or your own percentages.

How it works

Protein and carbohydrate provide 4 calories per gram and fat provides 9. The tool takes each macro’s share of your calories and divides by those values to get grams.

Grams = (calories × share) ÷ kcal per gram

How to use it

  1. Enter your daily calorie target.
  2. Pick a preset split or set your own percentages.
  3. Make sure the three shares total 100%.
  4. Read the grams of protein, carbs, and fat.

Understanding your result

A balanced 40/30/30 (carb/protein/fat) suits many people; higher protein helps when cutting; endurance athletes often favour more carbs. Adjust to your goal and how you feel.

Example

On 2,000 kcal at 40/30/30, that is 200 g carbs, 150 g protein, and about 67 g fat.

Sources & methodology

Last updated .

Frequently asked questions

How are macros converted to grams?

Protein and carbohydrate provide 4 calories per gram and fat provides 9. The tool takes each macro’s share of your calories and divides by those values to get grams.

What macro split should I use?

It depends on your goal. A balanced 40/30/30 (carb/protein/fat) suits many people; higher protein helps when cutting; endurance athletes often favour more carbs. Try a preset, then fine-tune.

Do the percentages have to add to 100?

Yes, the three shares represent your whole calorie budget, so they should total 100%. The tool shows the running total so you can balance them.

Is my data saved?

No. All math happens locally in your browser.