Macro Calculator

Turn your daily calories into grams of protein, carbs and fat. Enter your details, choose a goal and a macro split, and see your targets instantly in your browser.

Built for adults; accepts 1 to 120
The Mifflin-St Jeor equation has one version for each
Percent of calories from protein / carbs / fat
Daily Calories (your target) —
Protein —
Carbohydrates —
Fat —
Protein per kg of body weight —
Maintenance calories (TDEE) —

How to Use the Macro Calculator

  1. Choose your units: Pick Metric (kg, cm) or Imperial (lb, feet and inches) with the toggle.
  2. Enter your details: Type your age, choose male or female, enter your weight and height, and pick the activity level that matches a typical week.
  3. Choose a goal and a split: Select lose, maintain or gain, then pick one of the five protein / carb / fat splits.
  4. Read the results: Your daily calories and your grams of protein, carbohydrates and fat update instantly. Use Share to copy the numbers with a link to this page.

What You'll Discover

  • Daily Calories (your target) — your estimated maintenance calories, plus 500 for the gain goal or minus 500 for the lose goal.
  • Protein, Carbohydrates and Fat — the grams you would eat per day to hit that target at the split you chose, with the percentage of calories in brackets.
  • Protein per kg of body weight — your protein grams divided by your weight in kilograms, a quick check on how the split behaves at your size.
  • Maintenance calories (TDEE) — the estimate before the goal adjustment, so you can see how far your target sits from it.

Every number is an estimate for planning, not a measurement of your body, and it is not medical advice. If the goal would put your target under 1,000 calories a day, the calculator shows “Not advised” instead of grams. Read the limits further down before you act on any result.

How the Macro Calculator Works

The calculator runs in four steps. It estimates your BMR with the Mifflin-St Jeor equation, multiplies by an activity factor (1.2, 1.375, 1.55, 1.725 or 1.9) to get maintenance calories, adds or subtracts 500 for your goal, and then splits the result by percentage. The first two steps are the same as in our calorie calculator. Imperial inputs are converted first, using 1 lb = 0.453592 kg and 1 in = 2.54 cm.

Target calories = TDEE ± 500 (or TDEE for maintain)
Protein (g) = target × protein % ÷ 4
Carbs (g) = target × carb % ÷ 4
Fat (g) = target × fat % ÷ 9

The divisors are energy values per gram. The calculator uses the standard Atwater general factors: 4 calories per gram of protein, 4 per gram of carbohydrate and 9 per gram of fat. These are the values listed in the FAO’s food energy conversion guidance (FAO Food and Nutrition Paper 77), which also gives 7 calories per gram for alcohol. The calculator does not count alcohol, fibre or sugar alcohols separately.

Worked example

A 30-year-old man who weighs 80 kg, is 180 cm tall and is moderately active has a BMR of 1,780 calories, so maintenance is 1,780 × 1.55 = 2,759 calories. On the balanced split (30 / 40 / 30) that gives 2,759 × 0.30 ÷ 4 = 207 g protein, 2,759 × 0.40 ÷ 4 = 276 g carbs and 2,759 × 0.30 ÷ 9 = 92 g fat.

Why the grams do not add up exactly

Each gram figure is rounded to a whole number, so converting back to calories can land a few calories away from your target. The 207, 276 and 92 grams above come to 207 × 4 + 276 × 4 + 92 × 9 = 2,760 calories against a 2,759 target. At 2,000 calories on the balanced split the rounded grams (150, 200 and 67) add up to 2,003. The most the rounding can move the total is 8.5 calories, because each protein or carb gram is rounded by at most half a gram (2 calories) and fat by at most half a gram (4.5 calories). The percentages in brackets are the nominal split you chose, not recalculated from the rounded grams.

Macro Splits Compared

The five splits are common conventions in fitness and diet planning. They are not medical prescriptions and the calculator does not tell you which one is right for you. The table shows each one at 2,000 calories, next to the adult Acceptable Macronutrient Distribution Ranges (AMDR): protein 10–35%, carbohydrate 45–65% and fat 20–35% of calories. The AMDR comes from the National Academies and is meant to give health professionals a range of intakes associated with adequate nutrient intake and lower chronic disease risk (National Academies, 2024 AMDR letter report).

SplitProtein / carbs / fatGrams at 2,000 cal (P / C / F)Compared with the adult AMDR
Balanced30 / 40 / 30150 / 200 / 67Carbs below the range; protein and fat inside
Low carb40 / 20 / 40200 / 100 / 89Protein and fat above; carbs below
High carb25 / 55 / 20125 / 275 / 44All three inside (fat at the lower edge)
High protein40 / 30 / 30200 / 150 / 67Protein above; carbs below; fat inside
Keto30 / 5 / 65150 / 25 / 144Carbs below; fat above; protein inside

For reference, the AMDR at 2,000 calories works out to 50–175 g of protein, 225–325 g of carbohydrate and about 44–78 g of fat. Only the High carb split sits wholly inside all three ranges. Being outside a range is not automatically a problem for every person, but it is a good reason to talk to a doctor or registered dietitian before you commit to a split, especially a very low-carb one.

How percentages and grams relate

Because the split is a percentage of calories, a bigger target means more grams of everything. The same balanced split gives 169 g of protein at 2,259 calories, 207 g at 2,759 and 244 g at 3,259 for the example above. Protein per kg of body weight is shown for that reason: it lets you see how the grams look at your own size, whichever split you picked.

Setting Calories and Knowing the Limits

The calories step matters as much as the split, because every gram figure is a share of it. The table shows the three goals for the same example (TDEE 2,759) on the balanced split.

GoalDaily caloriesProteinCarbsFat
Lose weight (−500)2,259169 g226 g75 g
Maintain2,759207 g276 g92 g
Gain weight (+500)3,259244 g326 g109 g

The calorie floor

If your target would fall below 1,000 calories, the calculator shows “Not advised” and no grams. This follows the NIH Body Weight Planner, which requires a calorie goal of at least 1,000 a day and states that food group targets and nutrient recommendations will not be met below that level (NIDDK Body Weight Planner). For example, a 60-year-old woman who is 50 kg, 150 cm and sedentary has maintenance calories of 1,172, so a lose goal gives 672 and the result is withheld.

Who this is not for

  • The same NIH tool says its information is for adults aged 18 or older, and not for younger people or for pregnant or breastfeeding women. This calculator is built for the same audience.
  • It knows nothing about medical conditions or medication. If you have diabetes, kidney disease or another condition that affects what you should eat, or a history of disordered eating, ask a doctor or registered dietitian before using any macro target.
  • It does not know your muscle mass. Try the body fat calculator for a rough body-composition figure, and the BMI calculator for a quick height-to-weight check.

Treat the result as a starting point. Track how your weight and energy change over several weeks and adjust with a professional, rather than expecting the first estimate to be exact.

What Are My Macros If...

These examples use the same formulas as the calculator, with grams rounded to the nearest whole number. They illustrate the arithmetic and are not recommendations for any one person.

What are my macros if I eat 2,000 calories on a balanced split?

You get about 150 g of protein, 200 g of carbs and 67 g of fat. Protein is 2,000 × 0.30 ÷ 4 = 150 g, carbs are 2,000 × 0.40 ÷ 4 = 200 g, and fat is 2,000 × 0.30 ÷ 9 = 66.7 g. Added back up, the rounded grams come to 2,003 calories.

What are my macros if I eat 2,000 calories on keto?

The keto split gives 150 g of protein, 25 g of carbs and 144 g of fat. Carbs are 2,000 × 0.05 ÷ 4 = 25 g and fat is 2,000 × 0.65 ÷ 9 = 144.4 g. The 5% carb figure is a common convention, not a medical prescription, so check with a doctor or dietitian before following it.

What are my macros if I eat 1,800 calories on a high-protein split?

You get 180 g of protein, 135 g of carbs and 60 g of fat. Protein is 1,800 × 0.40 ÷ 4 = 180 g, carbs are 1,800 × 0.30 ÷ 4 = 135 g and fat is 1,800 × 0.30 ÷ 9 = 60 g. Here the rounded grams add up to exactly 1,800 calories.

What are my macros if I eat 2,500 calories on a high-carb split?

You get 156 g of protein, 344 g of carbs and 56 g of fat. Protein is 2,500 × 0.25 ÷ 4 = 156.25 g, carbs are 2,500 × 0.55 ÷ 4 = 343.75 g and fat is 2,500 × 0.20 ÷ 9 = 55.6 g. The rounded grams come to 2,504 calories.

What are my macros if I am a 30-year-old man, 80 kg and 180 cm, and train 3-5 days a week?

Maintaining on the balanced split gives 207 g of protein, 276 g of carbs and 92 g of fat on 2,759 calories. BMR is 1,780 and 1,780 × 1.55 = 2,759. Protein works out at about 2.6 g per kg of body weight.

What are my macros if that same man wants to lose weight?

On the lose goal the target is 2,259 calories, which gives 169 g of protein, 226 g of carbs and 75 g of fat. That is 500 calories below the 2,759 maintenance figure. Protein drops to about 2.1 g per kg because the split is a share of fewer calories.

What are my macros if I am a 35-year-old woman, 65 kg and 165 cm, lightly active and losing weight?

The target is 1,350 calories, which gives 101 g of protein, 135 g of carbs and 45 g of fat on the balanced split. BMR is 1,345, maintenance is 1,850 and 1,850 − 500 = 1,350. That is above the 1,000-calorie floor, so the grams are shown.

What are my macros if I am a 28-year-old woman, 150 lb and 5 ft 5 in, with a desk job, maintaining weight?

You get 127 g of protein, 169 g of carbs and 56 g of fat on about 1,694 calories (balanced split). In metric, 150 lb is 68.04 kg and 5 ft 5 in is 165.1 cm, which gives a BMR of 1,411. Multiplied by 1.2 for a sedentary day, that is 1,694.

What are my macros if I am a 22-year-old man, 70 kg and 175 cm, training intensely every day and gaining weight on a high-protein split?

The target is 3,709 calories, which gives 371 g of protein, 278 g of carbs and 124 g of fat. Maintenance is 1,688.75 × 1.9 = 3,209 and the gain goal adds 500. Because the split is a percentage of a large calorie number, protein comes to about 5.3 g per kg of body weight, which is a large number of grams for one day. If that looks too high, try a split with a lower protein share or ask a dietitian to set a target.

What are my macros if my calorie target is under 1,000?

The calculator shows “Not advised” instead of grams. A 60-year-old woman who is 50 kg, 150 cm and sedentary has a TDEE of 1,172, so the lose goal gives 672 calories. On maintenance she would get 88 g of protein, 117 g of carbs and 39 g of fat on 1,172 calories, so consider whether a smaller change or a professionally set plan is the better route.

People Also Search For

How to calculate macros by hand

Multiply your calories by each macro’s percentage, then divide by 4 for protein and carbs or by 9 for fat. At 2,000 calories and a 30 / 40 / 30 split: 2,000 × 0.30 = 600 protein calories, and 600 ÷ 4 = 150 g. Carbs are 800 calories, so 200 g. Fat is 600 calories, so 600 ÷ 9 = 66.7 g. Use our calorie calculator first if you do not know your daily calories.

How many grams of protein, carbs and fat per day?

There is no single number; the grams depend on your calories and the split you choose. A 2,000-calorie target on the balanced split is 150 g protein, 200 g carbs and 67 g fat, while the same target on keto is 150 g, 25 g and 144 g. For reference, the National Academies’ adult ranges are 10–35% of calories from protein, 45–65% from carbohydrate and 20–35% from fat. A dietitian can turn those ranges into numbers for you.

Are macros the same as calories?

No. Macros are a breakdown of your calories, not an extra amount on top. Protein, carbs and fat together supply the calories you eat, so the grams multiplied by 4, 4 and 9 add up to your target within a few calories of rounding. Hitting your macros and hitting your calories are the same goal seen two ways.

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

Protein and carbohydrate provide about 4 calories per gram and fat about 9. These are the Atwater general factors, listed with alcohol at 7 calories per gram in FAO Food and Nutrition Paper 77. Fat is more than twice as energy-dense as the other two, which is why a fat share of 30% is a much smaller number of grams than a carb share of 30%.

Is a 30/40/30 macro split good?

It is a popular, middle-of-the-road convention, and it is the calculator’s default. It is not a medical recommendation. Its 40% carb share is below the 45–65% adult AMDR, while protein (30%) and fat (30%) are inside their ranges. If you want to follow the AMDR more closely, the High carb split is the only preset that does so on all three nutrients.

How to calculate keto macros

Use the Keto split: 30% protein, 5% carbs and 65% fat of your target calories. At 2,405 calories (a 40-year-old man, 85 kg, 175 cm, lightly active) that is 180 g protein, 30 g carbs and 174 g fat. The calculator counts total carbohydrate grams, not net carbs. Speak to a doctor or registered dietitian before starting, especially if you have a health condition or take medication.

Frequently Asked Questions

What are macros, or macronutrients?

Macronutrients are the three nutrients that supply calories in large amounts: protein, carbohydrate and fat. Each gram of protein or carbohydrate provides about 4 calories and each gram of fat about 9. A macro calculator divides your daily calories between them, either by percentage or by grams.

How does this macro calculator work?

It estimates your BMR with the Mifflin-St Jeor equation, multiplies by an activity factor between 1.2 and 1.9, adds or subtracts 500 calories for a gain or lose goal, then multiplies the result by the split percentages and divides by 4, 4 and 9 to get grams. Nothing else, such as body fat or training type, is used.

Which macro split should I choose?

The calculator cannot decide that for you. The five presets are common conventions, not prescriptions. If you want to stay within the adult Acceptable Macronutrient Distribution Ranges (protein 10–35%, carbohydrate 45–65%, fat 20–35%), High carb is the only preset inside all three. A doctor or registered dietitian can help you choose for your health and goals.

Why are my grams slightly different from the percentages?

The grams are rounded to whole numbers, so multiplying them back by 4, 4 and 9 can differ from your calorie target by up to 8.5 calories. For example, at 2,000 calories on the balanced split the rounded grams (150, 200 and 67) add up to 2,003. The percentages shown are the nominal split you picked.

Why does the calculator say “Not advised”?

It appears when your target calories would be under 1,000 a day, which can happen for a small, older or very sedentary person on the lose goal. The NIH Body Weight Planner also requires goals of at least 1,000 calories. Rather than show a very low number, the calculator withholds the grams and suggests a doctor or dietitian.

How accurate is a macro calculator?

It is an estimate. The BMR equation uses only age, sex, weight and height, the activity factor is a rule of thumb, and the split percentages are conventions rather than measurements. Use the numbers as a starting point, then compare them with how your weight and energy change over several weeks.

Does it count net carbs, fibre or alcohol?

No. The carbohydrate figure is total carbohydrate grams at 4 calories each, and alcohol is not counted. FAO gives alcohol an energy value of 7 calories per gram, so drinks add calories that these grams do not include.

Should I add the calories I burn exercising?

No. The activity multiplier is meant to cover your usual exercise, so adding workout calories on top counts them twice. If your week changes a lot, choose a different activity level instead.

What does the “protein per kg” row show?

It is your protein grams divided by your body weight in kilograms, shown to one decimal place. For the 80 kg example on the balanced split it is 207 ÷ 80, about 2.6 g/kg. It is information only; the calculator does not judge it as high or low.

Can I enter my own percentages?

No, the calculator offers five presets only. You can do a custom split by hand: multiply your target calories by each percentage, then divide by 4 (protein, carbs) or 9 (fat). At 2,000 calories and 40 / 40 / 20, that is 200 g protein, 200 g carbs and 44 g fat.

Is this suitable for children, teenagers or pregnant women?

No. It is built for adults. The NIH Body Weight Planner says its information is for adults aged 18 and over, and not for younger people or for pregnant or breastfeeding women. In those cases, or if you have diabetes, kidney disease or a history of disordered eating, ask a doctor or registered dietitian.

How often should I recalculate my macros?

Recalculate when something that feeds the estimate changes, such as your weight, your typical activity level or your goal. Because every gram figure is a share of your calories, any change in weight or activity moves all three numbers.

Is my data stored or sent anywhere?

No. All calculations run in your browser. Nothing you type is sent to a server or saved, and no account is needed.

Sources

  • National Academies of Sciences, Engineering, and Medicine. Rethinking the Acceptable Macronutrient Distribution Range for the 21st Century: A Letter Report. National Academies Press, 2024. Read online.
  • Food and Agriculture Organization of the United Nations. FAO Food and Nutrition Paper No. 77, chapter 3, Calculation of the Energy Content of Foods – Energy Conversion Factors. Read online.
  • National Institute of Diabetes and Digestive and Kidney Diseases. Body Weight Planner.

This page is general information and not medical advice. The macro splits are common conventions, not prescriptions. Talk to a doctor or registered dietitian before changing your diet, especially if you have a health condition.

Last reviewed: November 2026 — formulas and worked examples verified.