Macro Calculator, Explained

After reading this you can split any daily calorie target into grams of protein, carbohydrate and fat, check the arithmetic by hand, and judge whether a given split fits your goal.

What a macro split actually is

Your food energy comes from three macronutrients: protein, carbohydrate and fat. A macro split is just a decision about how many calories to draw from each one. The calculator turns that decision into grams, because you eat grams, not percentages.

Here is the hook. Suppose you eat 2200 kcal a day and weigh 70 kg. A balanced plan might set protein at 112 g, fat at 73 g and carbohydrate at 296 g. Change one choice, the diet style, and the same 2200 kcal becomes 112 g protein, 171 g fat and only 55 g carbohydrate on a ketogenic plan. The calorie total is identical. The food on the plate is not.

The point of the tool is to keep the total honest. Every gram is counted at its energy value, so the three numbers always add back to the calories you asked for.

When to use it, and when not

Use this once you already have a calorie target. If you do not have one, get it first from the BMR & TDEE Calculator, then bring that number here. The macro calculator does not decide how much you should eat. It only divides a total you supply.

It suits planning meals, comparing diet styles side by side, and checking whether your current eating hits a sensible protein floor. It is a reasonable starting point, not a prescription.

This is an educational estimate, not medical advice. If you have kidney disease, diabetes, an eating disorder history, or you are pregnant, the right macros are a clinical decision. Talk to a professional before changing your diet.

The formula and the intuition behind it

The calculator fixes two of the three macros directly, then lets the third absorb whatever calories remain. That order matters, so follow it.

Protein is anchored to your body weight, because your protein need scales with the tissue you carry, not with how much you happen to eat that day:

P = r_p \cdot W

Here P is protein in grams, W is body weight in kilograms, and r_p is a grams-per-kilogram rate that depends on the diet style. A rate of 1.6 g/kg suits most people keeping or building muscle. Going much above 2.2 g/kg rarely adds benefit.

Fat is anchored to a share of total calories, because a floor of dietary fat supports hormone production and the absorption of fat-soluble vitamins:

F = \frac{f \cdot C}{9}

Here F is fat in grams, C is your daily calories, f is the fat fraction for the diet style, and 9 is the kcal per gram of fat. Carbohydrate then fills the gap:

K = \frac{C - 4P - 9F}{4}

Here K is carbohydrate in grams. Protein and carbohydrate each carry 4 kcal per gram, fat carries 9. The numerator is the calories left after paying for protein and fat, and dividing by 4 converts those calories to grams of carbohydrate.

How the four diet styles set the dials

Each style is nothing more than a choice of protein rate r_p and fat fraction f. The table below shows the values this guide uses. Your own tool may round slightly differently, but the structure is the same.

Protein rate and fat fraction by diet style
Diet styleProtein r_p (g/kg)Fat fraction fCarb role
Balanced1.60.30Fills the rest
High protein2.00.30Fills the rest
Low carb1.80.40Fills the rest
Keto1.60.70Very small remainder

Notice what changes and what does not. Protein moves within a narrow band, from 1.6 to 2.0 g/kg. The big lever is fat fraction, which runs from 0.30 to 0.70. Because carbohydrate absorbs the remainder, raising the fat fraction is the same act as cutting carbohydrate.

Worked example: the demo numbers

Use the defaults: 2200 kcal, 70 kg, balanced split, so r_p = 1.6 and f = 0.30.

  1. Protein: P = 1.6 \times 70 = 112 g, costing 4 \times 112 = 448 kcal.
  2. Fat: F = \frac{0.30 \times 2200}{9} = \frac{660}{9} \approx 73.3 g, costing 660 kcal.
  3. Remaining calories: 2200 - 448 - 660 = 1092 kcal.
  4. Carbohydrate: K = \frac{1092}{4} = 273 g.

Check the total: 448 + 660 + 273 \times 4 = 448 + 660 + 1092 = 2200 kcal. The three macros account for every calorie you entered. Protein supplies 20% of calories, fat 30%, carbohydrate 50%.

At 2200 kcal and 70 kg: balanced gives 112 g protein, 73 g fat, 273 g carb. High protein gives 140 g protein, 73 g fat, 245 g carb. Low carb gives 126 g protein, 98 g fat, 187 g carb. Keto gives 112 g protein, 171 g fat, 55 g carb. Raising the fat fraction always shrinks carbohydrate one for one in calorie terms.

Reading and interpreting your result

Read the grams first, then the percentages. Grams are what you shop and cook with. A protein target of 112 g might be four palm-sized portions of a protein food across the day. The percentage view tells you how the plan feels: high carbohydrate reads as energetic and grain-heavy, high fat reads as rich and satiating.

The chart below compares all four styles at the demo inputs so you can see the trade at a glance.

Protein barely moves, fat climbs steeply toward keto, and carbohydrate collapses to make room. All four bars encode the same 2200 kcal.

If a target feels impossible to hit, adjust the diet style rather than forcing the food. A 55 g carbohydrate keto day is a real behavior change, not just a spreadsheet number. Pick the split you can repeat for weeks.

Common mistakes

Three errors account for most confusion.

Using pounds where the tool wants kilograms
Body weight drives protein directly. Entering 154 (pounds) instead of 70 (kg) more than doubles your protein target and leaves too few calories for anything else. One kilogram is about 2.2 pounds.
Setting a calorie target that cannot hold the fixed macros
On keto, protein plus fat can swallow almost the whole total. At 1500 kcal, 70 kg, keto: protein is 448 kcal and fat is 0.70 \times 1500 = 1050 kcal, leaving only 1500 - 448 - 1050 = 2 kcal, about 0.5 g of carbohydrate. The math still balances, but the plan is extreme.
Treating the grams as exact requirements
The protein rate carries real uncertainty. Studies place the useful range for active people around 1.6 to 2.2 g/kg, so a target of 112 g and one of 154 g can both be fine. Do not chase the last gram.

How this connects to your other numbers

The macro calculator sits downstream of your energy needs and your body measurements. Feed it a calorie figure from the BMR & TDEE Calculator. If you want a weight to anchor protein against, the Ideal Weight Calculator gives target ranges, and the BMI Calculator shows where your current weight sits.

For a better protein anchor when body fat is high, lean mass matters more than scale weight. The Body Fat Estimator can tell you roughly how much of your weight is lean tissue, which is the part that drives protein need.

Frequently asked questions

Why is protein based on weight instead of calories?

Protein need tracks body tissue, not the size of your meals. If you cut calories to lose fat, tying protein to calories would cut protein too, exactly when you most want to protect muscle. Anchoring to weight keeps protein steady at 112 g whether you eat 1800 or 2400 kcal.

Do I have to hit the numbers exactly every day?

No. Aim for the protein floor and let fat and carbohydrate flex across the week. Being within about 10 g of each target is close enough for most goals. Weekly averages matter more than any single day.

Should I use current weight or goal weight?

For protein, current weight is the safer choice, because you are feeding the muscle you have now. If you carry a lot of fat, a weight closer to your lean mass avoids overstating protein. At 110 kg with high body fat, anchoring to 85 kg gives a more realistic 136 g rather than 176 g at 1.6 g/kg.

Why does keto set fat so high?

Keto keeps carbohydrate very low to shift the body toward burning fat for fuel. Once protein is fixed and carbohydrate is pushed near zero, fat has to supply the rest of the calories, which is why its fraction reaches 0.70.

Can the calculator give me negative carbohydrate?

The math can, when protein plus fat already exceed your calories. The tool clamps carbohydrate at 0 and that is your signal to raise calories or lower the fat fraction. It means the split you chose does not fit the total you set.