Calcamaze

Macro Calculator

Split your daily calories into grams of protein, carbs and fat for your diet style.

By Bisma Ashraf

kcal

Not sure? Get your maintenance calories from the TDEE calculator.

kg

To show protein per kilogram (or pound) of body weight.

Result

Protein
165 g/day
30% of calories
Carbohydrates
220 g/day
40% of calories
Fat
73 g/day
30% of calories
Per meal (3 meals)
55 g protein · 73 g carbs · 24 g fat
Macros for 2,200 kcal by diet style
Diet styleProteinCarbsFat
Balanced (30 / 40 / 30)165 g220 g73 g
High protein (40 / 30 / 30)220 g165 g73 g
Low carb (35 / 20 / 45)193 g110 g110 g
Keto (20 / 5 / 75)110 g28 g183 g
Endurance training (20 / 55 / 25)110 g303 g61 g

Macros — macronutrients — are the protein, carbohydrate and fat that make up your calories. Enter a daily calorie target and choose a diet style (or your own percentages) to get grams of each per day and per meal, ready to plug into a food-tracking app.

These are general guidelines for healthy adults. If you have a medical condition, are pregnant or follow a very-low-carb diet, talk to a doctor or registered dietitian first.

Macros are protein, carbohydrate and fat. The calculator splits a daily calorie target into grams of each, using 4 kcal per gram for protein and carbs and 9 kcal per gram for fat.

What are macronutrients?

Macronutrients are the three nutrients the body needs in large amounts and that supply calories: protein (about 4 kcal per gram), carbohydrate (about 4 kcal per gram) and fat (about 9 kcal per gram). Alcohol also provides calories (about 7 kcal per gram) but is not a nutrient you need.

The National Academies set Acceptable Macronutrient Distribution Ranges for adults: 10–35% of calories from protein, 45–65% from carbohydrate and 20–35% from fat. Within those ranges, many splits are healthy. Higher protein helps with fullness and muscle retention when losing weight; endurance athletes need more carbohydrate; and low-carb or ketogenic diets swap carbohydrate for fat. Total calories still decide whether you gain or lose weight — the split mostly affects how you feel and perform.

How to use the macro calculator

  1. Enter your daily calorie target (use the TDEE calculator if you need one).
  2. Choose a diet style, or Custom to set your own percentages.
  3. Optionally enter meals per day and body weight.
  4. Read your daily and per-meal grams.

Formula

Grams = Calories × Percentage ÷ Calories per gram

Protein and carbohydrate provide about 4 kcal per gram and fat about 9 kcal per gram. At 2,200 kcal with 30% protein, that is 2,200 × 0.30 ÷ 4 = 165 g of protein.

The National Academies’ Acceptable Macronutrient Distribution Ranges for adults are 10–35% of calories from protein, 45–65% from carbohydrate and 20–35% from fat; low-carb and keto styles deliberately fall outside the carbohydrate range.

Worked examples

Balanced at 2,000 kcal

Daily calories
2,000 kcal
Diet style (protein / carbs / fat)
Balanced (30 / 40 / 30)
Meals per day
3
Units
Metric (kg)
Body weight (optional)
NaN kg
Protein
150 g/day
Carbohydrates
200 g/day
Fat
67 g/day

30% protein, 40% carbs and 30% fat at 2,000 kcal is 150 g protein, 200 g carbs and 67 g fat.

High protein for a cut

Daily calories
1,800 kcal
Diet style (protein / carbs / fat)
High protein (40 / 30 / 30)
Meals per day
3
Units
Metric (kg)
Body weight (optional)
80 kg
Protein
180 g/day
Carbohydrates
135 g/day
Fat
60 g/day

At 1,800 kcal with 40% protein: 180 g protein, 135 g carbs and 60 g fat. That is 180 g of protein, or 2.25 g per kg for an 80 kg person.

Custom split

Daily calories
2,600 kcal
Diet style (protein / carbs / fat)
Custom percentages
Protein
25 %
Carbs
50 %
Fat
25 %
Meals per day
4
Units
Metric (kg)
Body weight (optional)
NaN kg
Protein
163 g/day
Carbohydrates
325 g/day
Fat
72 g/day

25 / 50 / 25 at 2,600 kcal gives 163 g protein, 325 g carbs and 72 g fat a day, split over four meals.

Grams per day for a balanced 30 / 40 / 30 split

CaloriesProteinCarbsFat
1,500 kcal113 g150 g50 g
1,800 kcal135 g180 g60 g
2,000 kcal150 g200 g67 g
2,200 kcal165 g220 g73 g
2,500 kcal188 g250 g83 g
2,800 kcal210 g280 g93 g
3,000 kcal225 g300 g100 g

Turning percentages into grams

At 2,000 kcal with a 30/40/30 split, protein is 600 kcal ÷ 4 = 150 g, carbs 800 kcal ÷ 4 = 200 g and fat 600 kcal ÷ 9 ≈ 67 g. Hitting the totals over a week matters more than matching them exactly every day.

Common mistakes

  • Using 4 kcal per gram for fat. Fat has about 9 kcal per gram, so 30% of calories from fat is far fewer grams than 30% from protein.
  • Percentages that do not add up to 100%.
  • Hitting macros but ignoring total calories — weight change depends on the calorie total first.

Frequently asked questions

How do I calculate my macros?

Decide your daily calories, choose a percentage for protein, carbs and fat, then convert each to grams: protein and carbs ÷ 4, fat ÷ 9.

What is a good macro split for weight loss?

Any split works if you eat in a calorie deficit, but higher protein (around 30–40% of calories) helps keep you full and protect muscle.

How much protein do I need?

The RDA for adults is 0.8 g per kg of body weight. People who strength-train or are dieting often aim for 1.2–2.0 g/kg.

Where do I get the daily calorie number?

From the TDEE or calorie calculator, adjusted for your goal.

Sources

  1. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids, National Academies Press
  2. Dietary Guidelines for Americans, U.S. Department of Agriculture and U.S. Department of Health and Human Services

Written by Bisma Ashraf · Last updated · Calculations checked by automated tests· Editorial policy