Macro Calculator

This macro calculator turns your daily calories into grams of protein, carbs and fat. Enter your age, sex, height, weight and activity, or type in a calorie target you already use. Pick a split and you'll see daily grams, percentages and an even per-meal breakdown.

Calculation and content reviewed by EZ Calculators Editorial Team on .

Enter values

Choose where calories come from, then allocate them with body-weight protein or an explicit percentage strategy. Results keep calorie assumptions, macro grams, and adult reference checks separate.

Build the scenario below, then calculate for a complete result report.

Runs in your browser
Choose the calorie starting point

Body and activity details

The equation estimates resting energy, then applies the selected weekly activity category. Body weight also supports protein grams-per-kilogram context.

Equation estimate
Used for the energy estimate and protein grams-per-kilogram reference.
Use centimeters with metric or inches with imperial units.
cm

Set a visible calorie adjustment

A percentage changes the estimate without claiming a guaranteed rate of weight change. Maintain leaves estimated calories unchanged.

Choose how to allocate the calories

Set protein and fat

Protein is anchored to body weight, fat uses the selected calorie share, and carbohydrate receives every remaining calorie.

The current U.S. Dietary Guidelines list 1.2-1.6 g/kg/day as a general serving goal; individual needs vary.
g/kg
Carbohydrate receives the calories left after protein and fat.
% of calories

Optional per-meal arithmetic

Daily grams are divided evenly only for comparison. Real meals and snacks do not need to contain identical macro amounts.

Used only to show an even per-meal arithmetic reference.
Adult planning estimate

This page does not prescribe a diet or predict weight change. It is not designed for children, pregnancy or lactation, eating disorders, medical nutrition therapy, or medication decisions.

How do I calculate my macros?

Pick a daily calorie target, give protein and fat their share, and let carbs take what's left. Divide protein and carb calories by 4 and fat calories by 9 to get grams. At 2,200 calories, 105 g of protein (1.4 g/kg at 75 kg) and 30% fat leave 1,120 calories, or 280 g of carbs.

How to use the macro calculator

Start with the number you trust most. If you don't have a calorie target, the calculator estimates one from your body details with the Mifflin-St Jeor equation and an activity factor. If a dietitian, coach or your own tracking already gave you a number, choose Use my calorie target instead.

Then choose how to split those calories. The default sets protein by body weight, gives fat a fixed share and hands the rest to carbs. You can also pick a preset split or type your own percentages.

  1. Choose Estimate from body details or Use my calorie target.
  2. Enter weight, and for an estimate, your sex, age, height and activity level, in metric or imperial units.
  3. For an estimate, keep maintenance or pick 10% or 20% below, 5% or 10% above, or a custom change from -30% to +30%.
  4. Pick a split: protein by body weight, 20/50/30, 20/55/25, 30/40/30, or custom percentages that add up to 100.
  5. Set meals per day if you want a per-meal view, then press Calculate.

Worked example at 2,200 calories

Take a 75 kg adult with a 2,200-calorie target. At 1.4 g of protein per kg, protein is 105 g, or 420 calories. Fat at 30% is 660 calories, about 73 g. That leaves 1,120 calories for carbs, which is 280 g. Over four meals, that's about 26 g protein, 70 g carbs and 18 g fat each.

The same calories can be split many ways. The table shows how much the grams move when only the split changes.

Macro splits at 2,200 calories
SplitProteinCarbsFat
Protein by weight: 1.4 g/kg at 75 kg, 30% fat105 g (19.1%)280 g (50.9%)73 g (30%)
20 / 50 / 30110 g (20%)275 g (50%)73 g (30%)
Higher carb 20 / 55 / 25110 g (20%)303 g (55%)61 g (25%)
Higher protein 30 / 40 / 30165 g (30%)220 g (40%)73 g (30%)
Custom 25 / 45 / 30138 g (25%)248 g (45%)73 g (30%)

Macro calculator for women

The calculator asks for sex because Mifflin-St Jeor uses a different constant for men and women. At the same age, height and weight, the female estimate of resting calories comes out 166 calories lower. Protein is set from body weight, so it doesn't change with sex.

Here's a woman who is 35, 165 cm tall, 65 kg and lightly active. Her resting estimate is about 1,345 calories and her maintenance about 1,850. At 10% below maintenance she gets about 1,665 calories. With 1.4 g/kg protein and 30% fat, that's 91 g protein, 55 g fat and about 200 g carbs.

35-year-old woman, 165 cm, 65 kg, lightly active
Calorie settingCaloriesProteinCarbsFat
Maintenance1,85091 g (19.7%)233 g (50.3%)62 g (30%)
10% below1,66591 g (21.9%)200 g (48.1%)55 g (30%)

Macros for weight loss

Weight loss comes from the calorie side. The macro split mostly shapes how you get there. In estimate mode, pick 10% or 20% below maintenance, or set your own percentage. A visible percentage is easier to check than a hidden fixed cut: 10% below 2,200 is 220 calories.

Setting protein by body weight helps when calories drop. A fixed percentage shrinks your protein grams as calories fall, while a g/kg target keeps them steady and takes the cut from carbs. The calculator doesn't predict how fast you'll lose weight. NIH's Body Weight Planner uses a dynamic model for that question.

The macro formulas

Protein and carbs count as 4 calories per gram and fat as 9. The calculator keeps unrounded numbers inside and rounds only what you see, so the macro calories add back to your target.

Formula guide
  • Maintenance calories = Mifflin-St Jeor resting energy x activity factor
  • Adjusted calories = maintenance x (1 + adjustment % / 100)
  • Protein or carb grams = calories for that macro / 4
  • Fat grams = fat calories / 9
  • Protein by weight = body weight in kg x g/kg target
  • Carb calories = total calories - protein calories - fat calories

Reference ranges the results are checked against

Each result shows whether your split sits inside the adult Acceptable Macronutrient Distribution Ranges from the National Academies. Being outside a range is a reason to understand the tradeoff. It isn't a verdict on the plan. A 30/40/30 split, for example, puts carbs below 45%.

You'll also see a fiber reference of 14 g per 1,000 calories and a saturated fat ceiling of 10% of calories. Fiber is part of your carbs, so it isn't added on top.

Adult references used in the results
ReferenceProteinCarbsFat
National Academies AMDR10-35% of calories45-65% of calories20-35% of calories
National Academies RDA basis0.8 g/kg130 g/dayNo total-fat RDA
Dietary Guidelines 2025-20301.2-1.6 g/kg/day serving goalFavor fiber-rich whole foodsSaturated fat under 10% of calories

When to get personal advice instead

Mifflin-St Jeor is a population equation and activity levels are broad, so treat your first number as a starting guess. A few weeks of steady tracking and weigh-ins tell you more than any formula. Day-to-day scale changes mostly reflect water, salt, glycogen and digestion.

This is an adult planning tool. It isn't designed for pregnancy or breastfeeding, kidney or liver disease, diabetes medication changes, prescribed diets or anyone under 18. If tracking food starts to feel stressful or rigid, stop and talk to a registered dietitian or doctor.

Sources

FAQ

Is this macro calculator free?

Yes. It's free, runs in your browser and doesn't need an account. You can copy the results or download them.

What macros should a woman eat to lose weight?

There's no single best split. Start from a modest calorie cut, set protein by body weight, and give fat 25% to 35% of calories. For a 65 kg woman at 1,665 calories, that's about 91 g protein, 55 g fat and 200 g carbs.

What is a good macro ratio for beginners?

A 20/50/30 split (protein, carbs, fat) sits in the middle of the adult reference ranges and is easy to follow. At 2,000 calories it's 100 g protein, 250 g carbs and about 67 g fat.

Should protein be set by percentage or body weight?

Body weight is usually clearer. A percentage gives fewer grams when calories are low and more when they're high. Grams per kg keeps protein tied to you and lets carbs absorb calorie changes.

What macros should I eat to build muscle?

Muscle gain depends on resistance training, enough calories, protein and recovery. You can test a 5% or 10% surplus with protein by body weight here, but the calculator can't predict how much muscle you'll gain.

Why does my macro calculator result differ from another app?

Apps use different equations, activity factors, calorie adjustments and rounding. Compare the calorie starting point first. A small difference there changes every gram total after it.

Do my custom percentages have to add to 100?

Yes. The three shares divide your whole calorie target. If they add to less than 100 some calories go unassigned, and above 100 the grams overshoot your target.