Skip to content
MeasureMate

Macro Calculator

Split a daily calorie budget into grams of protein, carbohydrate and fat for your goal, with the protein per kilogram of body weight.

About Macronutrients

  • Protein (4 cal/g): Essential for muscle repair and growth
  • Carbohydrates (4 cal/g): Primary energy source for the body
  • Fat (9 cal/g): Important for hormone production and nutrient absorption

Updated Formula covered by automated tests

A macro calculator converts a daily calorie budget into gram targets for protein, carbohydrate and fat, the numbers that food-tracking apps actually ask you to hit. You enter the calories you plan to eat and pick a goal; the calculator applies a percentage split for that goal and divides each share by the energy that macronutrient supplies per gram.

If you also enter your body weight, it reports how many grams of protein per kilogram the split gives you. That one figure catches the most common problem with fixed percentages: on a high calorie budget a 30% or 40% protein share can add up to far more protein than research suggests a person needs, while on a small budget it can fall short.

The formula

Protein (g) = calories × protein share ÷ 4
Carbohydrate (g) = calories × carbohydrate share ÷ 4
Fat (g) = calories × fat share ÷ 9
Protein per kg = protein (g) ÷ (weight (lb) × 0.45359237)
calories
Your planned daily intake in kilocalories, for example a maintenance or deficit figure from a TDEE estimate
share
Preset split: maintain 30/40/30, lose 40/30/30, gain 30/50/20 (protein/carbohydrate/fat, in percent)
4 and 9
Atwater energy factors: kilocalories released per gram of protein or carbohydrate (4) and of fat (9)
weight
Optional body weight in pounds, used only for the protein-per-kilogram check

The 4-4-9 factors come from Wilbur Atwater’s work at the US Department of Agriculture in the late 1800s, when he burned foods in a calorimeter and corrected for what the body fails to absorb. They are still the basis of the calorie numbers printed on US nutrition labels. Alcohol, at about 7 kcal per gram, is not part of the split.

The goal presets are MeasureMate’s own starting points, not an official prescription. Compare them with the Acceptable Macronutrient Distribution Ranges published by the National Academies for the general public (protein 10% to 35%, carbohydrate 45% to 65%, fat 20% to 35% of energy): the maintain and lose presets put carbohydrate below the 45% floor, and the lose preset puts protein above the 35% ceiling. If you prefer to stay inside those ranges, use the maintain preset as a reference and shift about 5 to 10 points from protein to carbohydrate.

Worked example

Omar weighs 200 lb, trains with weights three times a week and wants to maintain his weight on 2,400 kcal per day using the 30/40/30 split.

  1. 1 Protein: 2,400 × 0.30 = 720 kcal, and 720 ÷ 4 = 180 g.
  2. 2 Carbohydrate: 2,400 × 0.40 = 960 kcal, and 960 ÷ 4 = 240 g.
  3. 3 Fat: 2,400 × 0.30 = 720 kcal, and 720 ÷ 9 = 80 g.
  4. 4 Protein check: 200 lb × 0.45359237 = 90.7 kg, and 180 ÷ 90.7 = 1.98 g per kg.

Result: Omar’s targets are 180 g protein, 240 g carbohydrate and 80 g fat. At 1.98 g/kg his protein sits at the top of the 1.2 to 2.0 g/kg range often suggested for people who train regularly.

Before you rely on the result

  • The splits are general starting points, not medical nutrition therapy, and they ignore food quality, fiber, vitamins and minerals.
  • Gram targets are only as accurate as the calorie budget you enter; a wrong TDEE estimate carries straight through.
  • Atwater factors are averages, so the real energy you absorb from a given food can differ slightly from the label.

Frequently asked questions

Do I have to hit my macros exactly every day?

No. Being within about 10 grams of each target, and averaging close to them across the week, is plenty for most goals. Total calories and enough protein matter far more than the exact split between carbohydrate and fat.

Why is fat measured in fewer grams than carbohydrate for the same calories?

A gram of fat carries 9 kcal, more than twice the 4 kcal in a gram of carbohydrate or protein. So 30% of calories from fat is always fewer grams than 30% from carbohydrate: on 2,000 kcal it is about 67 g of fat versus 150 g of carbohydrate.

Should I count fiber as a carbohydrate?

On US food labels fiber is included in total carbohydrate. It supplies fewer usable calories than sugar or starch, so some people subtract it to get net carbs, but the macro targets here are based on total carbohydrate as labeled.

Is a low-carbohydrate split safe for everyone?

Not necessarily. People with diabetes, especially those using insulin or certain tablets, can have low blood sugar if they cut carbohydrate without adjusting medication, and people with kidney disease may need to limit protein. Check with a doctor or registered dietitian before making large changes.

Sources

All health & fitness