Energy & Nutrition · Formula v1.0

Macronutrient Calculator

Use the Macronutrient Calculator to calculate protein, carbohydrate and fat targets from a calorie goal and diet style.

Adjust the split based on how you actually respond. At the worked-example inputs, the protein is 150. The output converts a calorie target into grams you can track. On the example, 2,000 calories at 30% protein, 40% carbohydrate and 30% fat gives 150 grams of protein, 200 of carbohydrate and about 67 of fat. Use grams as a guide, not a rule, and prioritize protein for muscle, fiber-rich carbohydrates and unsaturated fats. What matters most for weight is total calories, and the best macro split is the one that you enjoy and that supports your training. It returns protein, carbohydrates, fat.

FreeNo sign-upInputs stay in-browserCSV exportReviewed August 28, 2026
LAST REVIEWEDAugust 28, 2026Inputs stay in your browser
Live calculation

Enter your numbers

Calculated result
Protein150
Carbohydrates200
Fat66.7
Sensitivity check

What if target daily calories changes?

-10% input135
0% input150
+10% input165

Transparent method

The formula

Grams = (calories × share) ÷ 4 for protein and carbs, ÷ 9 for fat

Worked example

Protein150
Carbohydrates200
Fat66.7

Example inputs

Target daily calories2,000
Diet styleBalanced (30/40/30)

How to interpret the result

A macro split is a starting ratio, not a fixed law each body must hit exactly. Two people eating the identical calorie total with different protein-carb-fat splits can both make progress toward very different goals, because the right split depends on training type, personal response and preference as much as on the arithmetic dividing up the calories.

Before you rely on it

What to check

Adjust the split gradually based on how training performance and hunger actually respond, rather than treating the first output as a rule to follow exactly.

The common error

Where people go wrong with macronutrient calculator

Chasing exact gram targets to the decimal every day. The split is a guide for building meals around, not a precision target where being a few grams off in either direction matters.

Sensitivity evidence

How target daily calories changes the protein

Macronutrient Calculator: protein and carbohydrates and fat across a range of target daily calories, every other input held at the worked-example value.
Target daily caloriesProteinCarbohydratesFat
1,60012016053.3
1,80013518060
2,000worked example15020066.7
2,20016522073.3
2,40018024080

Every input, tested

Which input moves the protein most

Macronutrient Calculator: protein with each input moved on its own, every other input held at the worked-example value.
InputTested fromToProtein at each endSwing
Diet styleBalanced (30/40/30)Higher-protein (40/30/30)150 to 20050 (33%)
Target daily calories1,8002,200135 to 16530 (20%)

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the macronutrient calculator.
InputValue usedWhat it means
Target daily calories2,000Total daily calorie target.
Diet styleBalanced (30/40/30)Sets the protein/carb/fat split.
Protein150
Carbohydrates200
Fat66.7

Inputs, definitions and assumptions

Target daily calories

Total daily calorie target.

Diet style

Sets the protein/carb/fat split.

Where the inputs come from

Enter your target daily calories, which you can find with the TDEE or calorie goal calculators, and choose a diet style that sets the share of calories from protein, carbohydrate and fat. Protein and carbohydrate supply about 4 calories per gram and fat about 9. The Dietary Guidelines' acceptable ranges are 10% to 35% of calories from protein, 45% to 65% from carbohydrate and 20% to 35% from fat. Pick the style you can follow consistently.

When the result stops applying

The percentage approach ignores individual factors such as body weight, training and health conditions, and protein needs are better set per pound of body weight. Some people, such as those with kidney disease, diabetes or pregnancy, need a personalized plan. Food labels round values, and tracking is imprecise. Extreme splits are hard to sustain.

What to compare it with

Set protein by body weight on the protein intake calculator, and carbohydrate and fat ranges on their own pages. The calorie goal and TDEE calculators set the total, and the calories burned page estimates exercise. A registered dietitian can adapt the split to your health.

People also ask

Frequently asked questions

What is a good macronutrient split?

The Dietary Guidelines suggest 45% to 65% carbohydrate, 20% to 35% fat and 10% to 35% protein, and the best split within these depends on your goals and preferences.

How many calories are in each macronutrient?

Protein and carbohydrate have about 4 calories per gram, fat has about 9, and alcohol has about 7.

Do I need to track macros?

Not necessarily. Tracking can help with a specific goal, but eating enough protein and vegetables and managing total calories matters most for many people.

Common energy & nutrition questions

Sources and evidence