Macronutrient Calculator

Macronutrient Calculator

What the macronutrient calculator does

The macronutrient calculator splits a daily calorie target into grams of carbohydrate, protein and fat. Enter the calories you plan to eat each day, choose one of three eating styles, and press Calculate. The tool applies a fixed percentage split for the chosen style and converts each share into grams using the standard energy values of 4 kcal per gram for carbohydrate and protein and 9 kcal per gram for fat.

The three splits used

StyleCarbohydrateProteinFatBest suited to
Balanced50%20%30%General health, endurance training, most people
Low carb20%30%50%Reduced-carbohydrate diets, appetite control
High protein30%40%30%Muscle gain, fat loss while preserving muscle

All three sit inside the acceptable macronutrient distribution ranges published by the U.S. National Academies: 45 to 65% of energy from carbohydrate, 10 to 35% from protein and 20 to 35% from fat, with the low-carb option deliberately below the carbohydrate range for people who have chosen that approach.

How the grams are calculated

  • Carbohydrate grams = calories × carbohydrate share ÷ 4
  • Protein grams = calories × protein share ÷ 4
  • Fat grams = calories × fat share ÷ 9

For 2,000 kcal on the balanced split: carbohydrate 2000 × 0.50 ÷ 4 = 250 g, protein 2000 × 0.20 ÷ 4 = 100 g, fat 2000 × 0.30 ÷ 9 = 67 g.

Worked examples

CaloriesStyleCarbsProteinFat
1,600Balanced200 g80 g53 g
2,000Low carb100 g150 g111 g
2,400High protein180 g240 g80 g
2,800Balanced350 g140 g93 g

Finding your calorie number first

The calculator needs a calorie target as input. Start with the BMR calculator for resting energy needs, then the TDEE calculator to add activity. For weight loss, take 300 to 500 kcal off that figure with the calorie deficit calculator; for muscle gain, add 200 to 300 kcal with the calorie surplus calculator. Enter the final number here.

Checking the protein figure against body weight

Percentage splits can give too little protein for light eaters and more than needed for heavy eaters. A body-weight check is more reliable: 0.8 g per kilogram is the minimum for sedentary adults, 1.2 to 1.6 g/kg suits most people who train, and 1.6 to 2.2 g/kg is typical for muscle gain or dieting. A 70 kg person on 1,600 kcal balanced gets 80 g, which is 1.14 g/kg. If that person lifts weights, the high-protein option (160 g, 2.3 g/kg) or a manual adjustment would fit better. The protein intake calculator works from body weight directly.

Turning grams into meals

Food labels list macronutrients per serving, so the targets translate into a day’s food fairly directly. As a rough guide, 100 g of cooked rice provides about 28 g carbohydrate, 100 g of chicken breast about 31 g protein, and a tablespoon of olive oil about 14 g fat. Splitting the daily protein evenly across three or four meals helps with satiety and muscle protein synthesis.

Common mistakes

  • Entering a weight instead of calories. The first field wants kilocalories per day, typically 1,400 to 3,500.
  • Treating the split as a rule. The percentages are conventions. Personal tolerance, training and medical conditions matter more than the exact ratio.
  • Ignoring fibre and alcohol. Fibre counts within carbohydrate on most labels, and alcohol supplies 7 kcal per gram that the calculator does not include.
  • Cutting fat too low. Below about 20% of calories, hormone production and absorption of fat-soluble vitamins can suffer.

Related tools

The body fat calculator and lean body mass calculator help set protein by lean mass rather than total weight. The keto calculator handles very-low-carbohydrate plans, where the low-carb option here is only a starting point.

External references

Frequently asked questions

Which split should I pick?

Balanced is the safe default. Choose high protein if you train with weights or are dieting and want to hold on to muscle. Choose low carb only if you have decided to follow a reduced-carbohydrate plan and tolerate it well.

Why do the grams not add up to my calories exactly?

The tool rounds each macronutrient to the nearest gram, so the total can be a few kilocalories off. That difference is far smaller than the error in any food label.

Does this account for my weight or activity?

No. Those factors belong in the calorie target you enter. Calculate that first with the TDEE calculator.

Can I use it for a child or during pregnancy?

Requirements differ in both cases. Use the calculator for general guidance only and follow advice from a dietitian or doctor.

Is 40% protein safe?

For healthy adults, intakes up to about 2 g/kg of body weight are well studied and considered safe. People with kidney disease should get medical advice before raising protein.