← All blog posts

Macros basics explained

WhiteUI · A plain-English guide to macro calculator

If you have never worked with macro before, start here. The idea is one plain relationship between a few numbers you can measure, and the calculator does the arithmetic for you.

The idea is simple: Protein and carbohydrate each give 4 kcal per gram; fat gives 9 kcal per gram. Grams of a macro = (daily calories × that macro’s share) ÷ kcal per gram. The three shares must add to 100%, or the grams will not add back to the calorie total.

A first example: 2,000 kcal at 30% protein, 40% carbohydrate and 30% fat give 600 ÷ 4 = 150 g of protein, 800 ÷ 4 = 200 g of carbohydrate and 600 ÷ 9 = 66.67 g, rounded to 67 g, of fat.

A second example: 2,500 kcal at the same 30/40/30 split gives 750 ÷ 4 = 187.5 g, rounded to 188 g, of protein, 1,000 ÷ 4 = 250 g of carbohydrate and 750 ÷ 9 = 83.33 g, rounded to 83 g, of fat. A third check: 1,800 kcal at 40/40/20 gives 720 ÷ 4 = 180 g of protein, 720 ÷ 4 = 180 g of carbohydrate and 360 ÷ 9 = 40 g of fat.

Try the worked example in the calculator first, exactly as written. Once your result matches the guide, you know you are entering numbers correctly, and you can safely substitute your own.

A note on scope: this guide explains the arithmetic of macronutrients — it is general information, not medical or dietary advice. How many calories and how much protein, carbohydrate or fat you need depends on your age, activity, health and goals, so talk to a doctor or a registered dietitian before changing how you eat.

Frequently asked questions

What is the one idea to remember?

That the answer comes from a small set of inputs combined in one fixed way. Change one input and the answer moves in a direction you can predict.

How do I build confidence?

Run the worked example from this guide first, then change one input at a time and watch what moves.

Do I need to create an account to use the calculator?

No. Everything runs in your browser, nothing is sent anywhere, and there is no sign-up.

More guides on the Macro Calculator

Try it yourself

Enter your daily calories and your protein, carb and fat split to see your grams.

Open the Macro Calculator