PocketCalc

Macros Calculator (Protein, Carbs, Fat)

Free macronutrient calculator — split a daily calorie target into grams of protein, carbs and fat by your chosen percentages. Works in your browser.

Protein 150 g · carbs 200 g · fat 66.7 g

Type your daily calorie target and the percentage split for protein, carbs and fat. The calculator returns grams of each macro.

The formula

grams of macro = (calories × percent ÷ 100) ÷ kcal per gram

Calorie densities (Atwater general factors):

Macrokcal per gram
Protein4
Carbohydrate4
Fat9
(Alcohol — for completeness)7

So a 2000 kcal day at 30% protein is 2000 × 0.30 ÷ 4 = 150 g of protein. Same arithmetic for carbs and fat.

Pick a split

There’s no one true split — it depends on goal, sport, preferences. Some starting points:

PlanP / C / F
Balanced general health30 / 40 / 30
Body recomposition / strength35 / 35 / 30 or 40 / 30 / 30
Lower-carb / “keto-leaning”25 / 25 / 50
Endurance heavy20 / 60 / 20

The best split is the one you’ll actually follow. The numbers must add up to 100% — the calculator enforces this within half a point.

Not nutrition advice

This is the arithmetic of calorie-to-gram conversion. For personal nutrition planning, talk to a registered dietitian, especially with medical conditions, allergies, pregnancy or competition goals.

Worked examples

  • 2000 kcal at 30/40/30

    Protein 150 g · carbs 200 g · fat 66.7 g

  • 2500 kcal at 25/50/25

    Protein 156.3 g · carbs 312.5 g · fat 69.4 g

Frequently asked questions

How are grams calculated from calories?

Each macro has a calorie density (Atwater general factors): protein 4 kcal/g, carbs 4 kcal/g, fat 9 kcal/g. So grams = (calories × percent ÷ 100) ÷ kcal-per-gram. A 2000 kcal day at 30% protein is 2000 × 0.30 ÷ 4 = 150 g protein.

Do my percentages need to add up exactly to 100?

Yes — within half a percentage point, to allow for harmless rounding (33/33/33 doesn't sum to exactly 100). If your numbers are off by more than 0.5, the calculator flags it so you don't end up under- or over-feeding.

What's a reasonable split?

There's no single right answer. Common starting points: 30/40/30 (P/C/F) for general health; 40/30/30 or higher protein for body recomposition; lower-carb plans go 25/30/45 or further. The right split depends on your goal, activity, and what you'll actually stick to.

What's the difference between calories and kilocalories?

In everyday food labelling, "calorie" usually means kilocalorie (kcal) — the energy to heat 1 kg of water by 1 °C. So "2000 calories" on a label = 2000 kcal = 2,000,000 small-c calories. Confusing, but universal.

This isn't medical / nutrition advice, right?

Correct — it's the simple arithmetic. Talk to a registered dietitian or doctor for individual nutrition planning, especially if you have medical conditions, food allergies, or are pregnant / breastfeeding.