100% Free · No sign-up
🧮

← All calculators

Macro Calculator

Calories tell you how much energy you eat; macros tell you what that energy is made of. Protein builds and repairs muscle, carbohydrates fuel activity, and fat supports hormones and vitamin absorption. Two diets with the same calories can feel very different depending on the split — which is why people who train, lose weight or manage energy track macros as well as total calories.

Macro Calculator

Split your daily calories into protein, carbohydrates and fat in grams.

Your result

Formula

Protein grams = calories x protein% / 100 / 4. Carbohydrate grams = calories x carb% / 100 / 4. Fat grams = calories x fat% / 100 / 9. The three percentages must add up to 100%.

How to use this calculator

Enter your daily calories and the share of each macro as a percentage. The calculator converts each share into grams and shows the energy it provides.

Worked example

Example: 2,000 kcal at 30% protein, 40% carbohydrates and 30% fat gives 150 g of protein (600 kcal), 200 g of carbohydrates (800 kcal) and 67 g of fat (600 kcal).

Frequently asked questions

Why does fat give more calories per gram?Fat is more energy-dense: 9 kcal per gram, against 4 kcal per gram for protein and carbohydrates. That is why a small amount of fat carries a large share of calories.
What split should I use?30/40/30 is a common balanced starting point. Higher protein (35–40%) suits muscle building; higher carbohydrate suits endurance training. Adjust to your goal and how you feel.

The maths is simple once you know the energy values: protein and carbohydrates each give 4 kcal per gram, while fat gives 9 kcal per gram. That is why fat is so energy-dense — a small amount carries a large share of the calories. This calculator takes your daily calories and your chosen percentages and converts each share into grams, giving you a target you can actually weigh and track.

Try the default example: 2,000 kcal at 30% protein, 40% carbohydrates and 30% fat gives 150 g protein (600 kcal), 200 g carbohydrates (800 kcal) and 67 g fat (600 kcal). Grams are rounded to whole numbers, so the energy from the rounded grams can differ from the target by a few kcal — that is normal rounding, not an error.

Which split should you use? 30/40/30 is a common balanced starting point. People building muscle often push protein to 35–40% of calories, while endurance athletes may raise carbohydrates. The best split is the one that fits your goal and that you can stick to — a perfect plan abandoned after a week is worth less than a good plan kept for months. If you have a medical condition such as diabetes or kidney disease, check your targets with a doctor or dietitian first.