Daily JournalSign up free
Guide

How to calculate macros

Multiply your daily calories by each percentage, then divide by the calories in a gram: 4 for protein, 4 for carbohydrate and 9 for fat. A 2,000 kcal day at 20, 50 and 30 percent is 100 g protein, 250 g carbs and 67 g fat.

Updated 21 October 2026. Sources named on the page.

Key factProtein and carbohydrate have 4 kcal per gram and fat has 9 kcal per gram (Atwater factors), so a 2,000 kcal day at 20, 50 and 30 percent is 100 g protein, 250 g carbs and 67 g fat.

  • Three steps from calories to grams
  • The 4, 4 and 9 kcal per gram rule
  • A worked example you can check
  • A planning tool, not a prescription
Grams = calories x share / calories per gram 20%50% carbs30% fat 2,000 kcal: 100 g protein, 250 g carbs, 66.7 g fat4 kcal per gram of protein and carbs, 9 per gram of fat.
Every claim names its sourceNothing you type is savedFree, no sign upFor adults aged 19 and overPrivate by default
Daily Journal

Keep your results in the Daily Journal

Habits, food, mood and sleep in one private place, with progress charts and a daily research card. Free to start.

Free to start. Next you choose a password, type the code we email you, and your account opens. We keep your email, what you chose and basic details of your visit: the page, where you came from, your browser type, your IP address and a random id saved in your browser. Privacy.

  • Every claim names its study
  • Alone, as a couple or with a group
  • Private by default
The Daily Journal home screen
The Daily Journal progress screen

The sums

Grams = daily kcal x share / kcal per gram. Protein and carbohydrate give 4 kcal a gram, fat gives 9.

2,000 kcal at 20 percent protein, 50 percent carbohydrate and 30 percent fat

MacroCaloriesWorkingGrams
Protein400 kcal400 / 4100 g
Carbohydrate1,000 kcal1,000 / 4250 g
Fat600 kcal600 / 966.7 g

Sources: Energy values per gram of protein (4 kcal), carbohydrate (4 kcal) and fat (9 kcal) are the standard Atwater figures

General information, not medical advice.

Step 1: choose your calories

Start from a daily calorie target. If you do not have one, the calorie calculator will give you an estimate.

Step 2: choose a split

Pick percentages for protein, carbohydrate and fat that add to 100. A common balanced split is 20, 50 and 30. Other splits suit other tastes, and none is the single right answer.

Not sure which tool you need?Ten examples, each with a worked screen and the prices of the paid apps.
See the ten tools

Step 3: turn it into grams

Multiply calories by each percentage to get calories per macro, then divide protein and carbohydrate by 4 and fat by 9.

A note on kilojoules

If your target is in kilojoules, divide by 4.184 first to get kcal.

Your entries stay yours.Private by default, shared only with the people you choose.
Start a private journal

Limits

A split is a planning tool. It is for healthy adults and is not medical or dietary advice. A dietitian can tailor it to your needs.

Questions

How many calories are in a gram of each macro?

Protein and carbohydrate have 4 kcal a gram and fat has 9 kcal a gram.

What macro split is best?

There is no single best split. It depends on your preferences and needs, and a dietitian can help you choose.

Do my percentages have to add to 100?

Yes. The calculator asks for three shares that total 100.

Do I need to hit macros exactly?

No. Daily amounts vary, and being close over a week is enough for most people.

Log what you eat against the grams

Sign up free for the Daily Journal app: habits, food, mood and sleep in one private place. Free to start.

Free to start. Next you choose a password, type the code we email you, and your account opens. We keep your email, what you chose and basic details of your visit: the page, where you came from, your browser type, your IP address and a random id saved in your browser. Privacy.