Skip to content

Macro Calculator

Calculate your daily protein, carbohydrate, and fat needs.

The Big Three: Simplified

Protein

4 Calories/gram

The builder. Essential for muscle repair, immune function, and keeping you full.
Best sources: Chicken, tofu, Greek yogurt, fish, beans.

Carbs

4 Calories/gram

The fuel. Your body's preferred energy source for high-intensity work and brain function.
Best sources: Oats, rice, fruit, potatoes, whole grains.

Fats

9 Calories/gram

The regulator. Needed for hormone health, brain function, and vitamin absorption.
Best sources: Avocado, nuts, olive oil, salmon.

Common Macro Splits

Balanced
30% P
40% C
30% F
Closest preset to the AMDR; carbs sit 5 points under the 45% floor.
Low Carb
40% P
25% C
35% F
Matches the tool's Low Carb preset; protein is above the 35% AMDR ceiling.
Keto
P
C
70% F
Matches the tool's Keto preset; far outside the AMDR for fat and carbs.

The Macronutrient Conversion Formula

This formula converts your calorie allocation for a specific macronutrient into grams. Protein and carbohydrates yield 4 calories per gram, while dietary fats yield 9 calories per gram.

M_gramsMacronutrient target in grams
CaloriesYour total daily calorie goal
P_macroTarget percentage allocation for the macro (e.g. 0.30 for 30%)
C_macroEnergy density (4 for protein/carbs, 9 for fat)

Step-by-Step Macro Calculation

Let's calculate the daily macros in grams for a 2,000-calorie diet using a Balanced ratio (30% Protein, 40% Carbs, 30% Fat).

1. Calculate Protein
Multiply calories by 30% and divide by 4 calories/gram.
(2,000 × 0.30) / 4 = 150g
2. Calculate Carbohydrates
Multiply calories by 40% and divide by 4 calories/gram.
(2,000 × 0.40) / 4 = 200g
3. Calculate Fat
Multiply calories by 30% and divide by 9 calories/gram.
(2,000 × 0.30) / 9 = 67g
Resulting Daily Target
This is your balanced macronutrient distribution in grams.
150g Protein, 200g Carbs, 67g Fat

How the calculator splits your calories

You enter TDEE, the calories you burn in a typical day. Lose Weight subtracts 500 calories and Gain Muscle adds 500; Maintain leaves it alone. The calculator multiplies the adjusted calories by the preset's protein, fat and carbohydrate shares, divides protein and carbs by 4 calories per gram and fat by 9, and rounds each to whole grams.

Because grams are rounded separately, the grams multiplied back to calories can differ from the target by a few calories. The 500-calorie adjustment is fixed and does not scale with body size.

Second worked example: TDEE 2,400, losing weight, Low Carb preset

Lose Weight sets 2,400 - 500 = 1,900 calories. Low Carb is 40% protein, 35% fat and 25% carbohydrate. Protein: 1,900 x 0.40 = 760 calories, / 4 = 190 g. Fat: 1,900 x 0.35 = 665 calories, / 9 = 73.9, shown as 74 g. Carbs: 1,900 x 0.25 = 475 calories, / 4 = 118.75, shown as 119 g.

Check: 190 x 4 + 74 x 9 + 119 x 4 = 760 + 666 + 476 = 1,902 calories, two above target because of rounding. Swapping to the Keto preset at the same 1,900 calories gives 119 g protein, 148 g fat and 24 g carbs.

How the presets compare with the AMDR

The National Academies set Acceptable Macronutrient Distribution Ranges for adults of 45% to 65% of calories from carbohydrate, 20% to 35% from fat, and 10% to 35% from protein. None of the four presets sits fully inside them. Balanced misses only on carbs, at 40%. Low Carb and High Protein both put protein above 35% and carbs at 25% and 30%. Keto puts fat at 70% and carbs at 5%.

That does not make the presets unsafe for everyone, but it does mean they go beyond the ranges set for the general population. If you want an AMDR-aligned split, the closest you can get here is Balanced, with carbs topped up from the fat or protein share when you plan meals.

Limits and edge cases

  • TDEE is your own input; an inaccurate TDEE carries straight through to every gram figure.
  • The plus or minus 500-calorie goal adjustment is a fixed assumption.
  • Fiber, alcohol calories and food-label rounding are not considered.
  • The AMDR values cited are for adults; children and teens have different ranges.
  • Presets are fixed; custom percentages are not supported.

Disclaimer: Three of the four presets push protein or fat past the adult AMDR, all four set carbs below it, and every gram figure depends on a TDEE you supply. Diabetes, kidney disease, pregnancy or a history of disordered eating are good reasons to plan macros with a registered dietitian.

Sources checked

Frequently Asked Questions

What are macros?
Macronutrients: protein (4 cal/g), carbohydrates (4 cal/g), and fat (9 cal/g). They provide all your calories.
What is a good macro ratio?
The calculator offers four presets (protein/carbs/fat): Balanced 30/40/30, Low Carb 40/25/35, High Protein 45/30/25, and Keto 25/5/70. For adults, the National Academies AMDR ranges are 10-35% protein, 45-65% carbohydrate and 20-35% fat.
Do macros matter for weight loss?
Total calories matter most. But protein helps preserve muscle, and preferences affect adherence.
Do these presets follow the AMDR?
Not fully. Every preset sets carbohydrate below the 45% floor, and Low Carb and High Protein put protein above the 35% ceiling. Keto puts fat at 70%, double the 35% top of the fat range. Balanced comes closest, missing only on carbs (40%).
Where does my TDEE number come from?
This calculator does not estimate it; you type it in. Use the TDEE calculator on this site to estimate it from age, height, weight and activity, then bring the number here.

About the Macro Calculator

Calculate protein, carbohydrate, and fat targets for weight loss, maintenance, or muscle gain.

Results are estimates; verify regulated rates, eligibility rules, and professional decisions with the cited primary source.

Important: Educational Purposes OnlyThe calculators, estimates, and financial formulas provided on CalculatorVillage.com are for informational and educational purposes only. They are not intended as certified financial planning, tax, legal, or investment advice. Actual rates, terms, and returns will vary. Always consult with a qualified professional before making significant financial decisions.