Home / Guides / How to Calculate Your Macros

How to Calculate Your Macros

“Macros” are the three nutrients that supply calories: protein, carbohydrate and fat. Calculating them simply means splitting your daily calorie target into grams of each. This guide shows the arithmetic and the evidence-based ranges to work within.

By Dr. Muhammad Amjad Khadim, PhD (Mathematics) · Published · How we check our content

Want the answer straight away?Open the Macro Calculator →

What macros are

Each macronutrient provides a fixed amount of energy per gram:

MacronutrientCalories per gramMain role
Protein4Building and repairing muscle and tissue
Carbohydrate4The body's preferred fuel, especially for exercise
Fat9Hormones, vitamin absorption, stored energy
Alcohol (not a macro)7Supplies calories but no nutrients

These 4-4-9 values, known as the Atwater factors, are what food labels use.

Step 1: Start with a daily calorie target

Macros are a way to divide calories, so you need a calorie number first. Estimate your maintenance needs with our calorie calculator. A moderate deficit (often around 10–20% below maintenance) is commonly used for gradual fat loss, and a small surplus for muscle gain.

Step 2: Choose a macro split

The U.S. National Academies' Acceptable Macronutrient Distribution Ranges (AMDR) for adults are a sensible starting frame:

Common splits within or near these ranges:

StyleProteinCarbsFat
Balanced20%50%30%
Higher protein30%40%30%
Lower carb30%25%45%

Lower-carb splits fall outside the AMDR for carbohydrate and fat; they are a personal choice rather than a general recommendation.

Step 3: Convert percentages to grams

Grams = (daily calories × percentage) ÷ calories per gram

Worked example: 2,000 calories, higher-protein split (30/40/30)

  1. Protein: 2,000 × 0.30 = 600 kcal ÷ 4 = 150 g
  2. Carbohydrate: 2,000 × 0.40 = 800 kcal ÷ 4 = 200 g
  3. Fat: 2,000 × 0.30 = 600 kcal ÷ 9 = about 67 g
  4. Check: 150 × 4 + 200 × 4 + 67 × 9 ≈ 2,000 kcal ✓

Spread over three meals, that is about 50 g protein, 67 g carbs and 22 g fat per meal.

Setting protein by body weight instead

Many people prefer to set protein from body weight, then split the remaining calories between carbs and fat.

Example: a 75 kg person aiming for 1.6 g/kg needs 120 g protein (480 kcal). From 2,000 kcal that leaves 1,520 kcal; at 30% fat (600 kcal ≈ 67 g), the remaining 920 kcal gives 230 g carbohydrate. Our protein calculator works this out by activity level.

Tracking and adjusting

Limits and when to get advice

Macro targets are estimates for healthy adults. They are not suitable for children or during pregnancy without professional input, and people with diabetes, kidney disease or other medical conditions should agree targets with a doctor or registered dietitian. If tracking food starts to feel stressful or obsessive, step back and speak to a professional.

Try it with your own numbers.Use the free Macro Calculator →

Health note: This guide is general information, not medical or dietary advice.

Frequently asked questions

How many calories are in a gram of protein, carbs and fat?

Protein 4, carbohydrate 4 and fat 9 calories per gram.

How do I convert macro percentages to grams?

Multiply your daily calories by the percentage, then divide by 4 for protein or carbs and by 9 for fat.

What is a good macro split?

A balanced split is around 20% protein, 50% carbs and 30% fat, within the National Academies ranges of 10–35%, 45–65% and 20–35%.

How much protein do I need?

At least 0.8 g per kg of body weight; around 1.4–2.0 g per kg is commonly recommended for people who train regularly.

How many grams of protein is 30% of 2,000 calories?

150 g: 2,000 × 0.30 = 600 calories, divided by 4.

References

  1. National Academies of Sciences, Engineering, and Medicine. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids (2005).
  2. Jäger R. et al. International Society of Sports Nutrition Position Stand: protein and exercise. J Int Soc Sports Nutr 14:20 (2017).
About the author

Dr. Muhammad Amjad Khadim holds a PhD in Mathematics and writes and checks the formulas behind Adzita's calculators and guides. Google Scholar profile.

More guides

Roman Numerals: Chart, Rules and How to ConvertLearn to read and write Roman numerals with a 1–100 chart, years like 2026 (MMXXVI), the six subtractive…How to Find the Slope of a LineLearn the slope formula m = (y₂ − y₁)/(x₂ − x₁) with worked examples, the four types of slope, y = mx + b,…How to Add and Subtract Time in Hours and MinutesAdd and subtract hours and minutes the easy way, convert minutes to decimal hours for timesheets, and handle…How to Count the Days Between Two DatesCount the days between two dates by hand, in Excel or Google Sheets. Learn when to include the end date, how…