Macro Calculator

About this calculator

The Macro Calculator turns your daily calorie target into grams of protein, carbohydrate and fat. It estimates your energy needs from age, sex, height, weight, activity and goal, then gives a balanced split, alternative low fat, low carb and high protein splits, your own custom split, and the healthy range for each macronutrient.

ages 18 - 80
Gender
feet
inches
pounds
cm
kg
Exercise: 15-30 minutes of elevated heart rate activity. Intense exercise: 45-120 minutes. Very intense exercise: 2+ hours.
Settings
BMR estimation formula
%
Create your own plan
% of Calories
% of Calories
% of Calories
Embed this calculator

Paste this code into a Custom HTML block on your site. The calculator fits the width of the block. Adjust the height in the code if you want more room for results.

Find this widget in the publisher directory

What are macronutrients?

Macronutrients, or macros, are the nutrients your body needs in large amounts and that supply energy: protein, carbohydrate and fat. Every Calorie you eat comes from one of them (or from alcohol). Counting macros means planning how many grams of each you eat, rather than just total Calories, so that your diet supports goals such as fat loss, muscle gain or endurance training.

Protein

Protein provides the amino acids used to build and repair muscle, organs, skin, enzymes and hormones. It is the most filling macronutrient and costs the most energy to digest, which is why higher protein diets often help with weight loss. Good sources include meat, fish, eggs, dairy, legumes, tofu and nuts. The minimum suggested here is 1 gram per kilogram of body weight, and the upper bound is 35% of Calories.

Carbohydrates

Carbohydrates are the body's preferred fuel, especially for the brain and for high-intensity exercise. They include sugars, starches and fiber. Whole grains, fruit, vegetables and legumes supply carbohydrate along with fiber, vitamins and minerals, while added sugar provides energy with little else, so the calculator caps sugar at 10% of Calories.

Fat

Dietary fat supplies essential fatty acids, helps you absorb vitamins A, D, E and K, and is the most energy-dense macronutrient. Health guidelines suggest 20% to 35% of Calories from fat, with saturated fat kept under 10%. Favor unsaturated fats from olive oil, nuts, seeds, avocados and fish.

How the numbers are worked out

First the calculator estimates your daily energy need: BMR from the Mifflin-St Jeor (or Katch-McArdle) equation, times an activity factor, plus or minus an adjustment for your goal (250 Calories per 0.5 lb, or 0.25 kg, of weekly change). Then each macro's share of Calories is divided by its energy density.

grams = Calories × share ÷ energy per gram
Energy per gram used: protein 4.1, carbohydrate 3.75, fat 8.8 Calories

These densities are slightly different from the rounded 4/4/9 figures you often see; they reflect the energy the body actually extracts from typical mixed foods.

Worked example

A 30-year-old man, 5 ft 10 in and 180 lb, who exercises daily needs about 2,763 Calories to maintain his weight. The balanced plan puts 25% of that into protein, 50% into carbohydrate and 25% into fat:

  • Protein: 2,763 × 0.25 ÷ 4.1 = 168 g
  • Carbohydrate: 2,763 × 0.50 ÷ 3.75 = 368 g
  • Fat: 2,763 × 0.25 ÷ 8.8 = 78 g

His sugar limit is 2,763 × 0.10 ÷ 3.75 = 74 g and his saturated fat limit is 2,763 × 0.10 ÷ 8.8 = 31 g.

Choosing a plan

PlanProteinCarbsFatSuits
Balanced25%50%25%Most people and general health
Low Fat27.5%52.5%20%Endurance athletes, people who prefer high-carb foods
Low Carb30%40%30%People who feel fuller on fat, those managing blood sugar
High Protein35%42.5%22.5%Strength training and preserving muscle while dieting

There is no single best split for weight loss: total Calories matter most, and the right macro balance is the one you can stick to. Use the "create your own plan" fields to try any split, keeping each macro inside its recommended range.

How goals change your macros

Changing your goal changes only the daily Calorie figure; the plan percentages stay the same, so every macro scales up or down together. The protein floor (1 gram per kilogram if you are active, 0.83 grams if sedentary, and never under 60 grams) does not shrink when you cut Calories, which is why protein takes up a larger share of a diet for weight loss. Goals that would push intake below about 1,200 Calories a day for women or 1,500 for men are not calculated, because diets that low are best done with medical supervision.

Tracking your macros

Food labels list grams of protein, carbohydrate and fat per serving, and most food-tracking apps total them for you. Weighing portions for the first couple of weeks helps you learn what a serving actually looks like. Fiber counts toward carbohydrate here, and alcohol, at about 7 Calories per gram, counts toward your Calories but not toward any macro.

Frequently asked questions

What is a good macro ratio for weight loss?
A balanced 25% protein, 50% carbohydrate and 25% fat split works for most people. Raising protein toward 30% to 35% can help preserve muscle and control hunger while in a calorie deficit.
How much protein do I need per day?
At least about 1 gram per kilogram of body weight for active adults, with up to 35% of daily Calories as a reasonable upper limit.
Why are the grams different from the 4-4-9 rule?
The calculator uses energy densities of 4.1, 3.75 and 8.8 Calories per gram for protein, carbohydrate and fat, which better reflect the energy available from typical foods than the rounded 4, 4 and 9.
Do I need to hit my macros exactly?
No. Landing within a few grams on most days, and inside the recommended ranges, is enough for steady progress.

Formulas and sample results on this page were checked against independent references. Page last reviewed or updated . How we verify calculators. Project led by Shaun Connell.