Skip to content

Macronutrient Calculator

Calculate your daily protein, carbs and fat for your goal and activity level, with a balanced split or a keto preset (20–50 g of carbs a day).

Calculator Details

Daily calories:2,507 kcalSee results ↓

100 to 250 cm

Mifflin-St Jeor has separate male and female constants

Your typical week

Sets the calorie adjustment, protein per kg and fat share

Balanced: the goal sets the fat share and carbohydrate fills the rest. Keto: carbohydrate fixed at a few grams and fat fills the rest

Your Results

Daily calories: 2,507 kcal

Daily calories

2,507 kcal

TDEE 2,507 kcal ±0 kcal for your goal

Protein (18%)

112 g

Carbohydrate (52%)

327 g

Fat (30%)

84 g

Protein per kg

1.6 g/kg

To maintain current weight, aim for 2,507 kcal a day: 112 g protein (18%), 327 g carbohydrate (52%) and 84 g fat (30%).

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Where your calories come from

Where your calories come from

Detailed Breakdown

Daily macronutrients for 2,507 kcal
MacronutrientGramskcalShare
Protein (4 kcal/g)112 g44818%
Carbohydrates (4 kcal/g)327 g1,30752%
Fat (9 kcal/g)84 g75230%

How This Calculator Works

How it’s calculated

  1. BMR (Mifflin-St Jeor, 1990) = 10 × weight (kg) + 6.25 × height (cm) − 5 × age + 5 = 10 × 70 + 6.25 × 170 − 5 × 30 + 5 = 1,618 kcal
  2. TDEE = BMR × activity factor = 1,618 × 1.55 = 2,507 kcal
  3. Target = TDEE ±0 = 2,507 kcal
  4. Protein = 1.6 g/kg × 70 kg = 112 g (× 4 kcal/g)
  5. Fat = 30% of calories ÷ 9 kcal/g = 84 g
  6. Carbohydrate = remaining calories ÷ 4 kcal/g = 327 g

Values are rounded for display; the calculation uses unrounded numbers.

Frequently Asked Questions

What are macronutrients?

Protein, carbohydrate and fat: the nutrients that supply energy. Using the Atwater factors, protein and carbohydrate give about 4 kcal per gram and fat about 9 kcal per gram. Alcohol (7 kcal/g) also supplies energy but isn’t a nutrient you need.

How does this calculator set my calories?

It estimates your resting energy use (BMR) with the Mifflin-St Jeor equation, multiplies it by an activity factor to get your total daily energy expenditure (TDEE), then adds or subtracts the calorie adjustment for your goal. The activity factors are the conventional ones used by most TDEE calculators, not an official standard.

How accurate is the estimate?

In validation studies, Mifflin-St Jeor predicted measured resting energy within 10% for about 80% of non-obese adults and about 70% of adults with obesity (Frankenfield et al., 2005); errors can be larger for very muscular people and older adults. Activity factors add more uncertainty. Use the result as a starting point and adjust after two to four weeks of tracking your weight.

How much protein does it give me?

Protein is set per kilogram of body weight by goal: faster weight loss 2.2 g/kg, weight loss 2 g/kg, maintenance 1.6 g/kg, muscle gain 1.8 g/kg, faster muscle gain 2 g/kg. These sit within the ranges in the International Society of Sports Nutrition position stand (1.4–2.0 g/kg for exercising people) and the Morton 2018 meta-analysis (benefit levels off around 1.6 g/kg, up to about 2.2 g/kg). The adult RDA of 0.8 g/kg is the minimum to prevent deficiency.

Why is this different from the protein intake calculator?

This calculator assumes you are training and sets protein by goal only, so maintenance always uses 1.6 g/kg whatever your activity level. The protein intake calculator scales protein with activity level as well, so for a moderately active person maintaining weight it gives a lower figure. Both sit between the RDA and the upper end of the ISSN range; use the protein intake calculator if you don’t do regular resistance training.

What are the Acceptable Macronutrient Distribution Ranges?

The National Academies’ AMDRs for adults are 10–35% of calories from protein, 45–65% from carbohydrate and 20–35% from fat. The fat share here stays within its range; with a large deficit, high protein can push carbohydrate below 45%, and the calculator tells you when it does.

Why is my weight-loss target higher than TDEE minus the deficit?

Harvard Health advises not eating fewer than 1,200 kcal a day for women or 1,500 kcal for men except under medical supervision, because it is hard to get enough nutrients below that. When a weight-loss goal would take you under that level, the calculator sets your target to the minimum instead and tells you, so the loss will be slower than the goal says. This is the same rule the calorie and calorie deficit calculators use. If your maintenance calories are already below the minimum, no deficit is planned; talk to a doctor or dietitian.

How fast will I lose or gain weight?

A common rule of thumb is that a 500 kcal daily deficit loses about 0.5 kg (1 lb) a week, based on roughly 7,700 kcal per kg (3,500 kcal per lb) of body fat. It is an approximation: real weight change slows as your body adapts, and early losses include water.

Should I eat the same macros every day?

They are daily averages. Many people eat more carbohydrate on training days and less on rest days while keeping protein steady. Weekly consistency matters more than hitting exact numbers every day.

How does the keto split work?

Choose "Keto" under Macro split and set your daily carbohydrate between 20 and 50 g, the range usually given for a ketogenic diet. Protein stays at your goal’s grams per kilogram and fat makes up the rest of the calories, so at maintenance most people land at roughly 70–80% of calories from fat. It is a preset for people who have already chosen the diet, not a recommendation and not medical advice: speak to a doctor first if you have diabetes, kidney or liver disease, take medication or are pregnant.

What about fibre and micronutrients?

This calculator only covers energy and the three macronutrients. The National Academies’ adequate intake for fibre is about 14 g per 1,000 kcal (around 25 g a day for women and 38 g for men under 50). Vegetables, fruit, whole grains and legumes supply fibre and most micronutrients.

Calories use the Mifflin-St Jeor equation with conventional activity factors and a fixed goal adjustment; a weight-loss target never goes below 1,200 kcal for women or 1,500 kcal for men (Harvard Health). Protein, fat and carbohydrate targets use the site’s goal strategies; AMDR ranges are from the National Academies (2005). The keto preset fixes carbohydrate at 20–50 g a day (the range StatPearls gives) and lets fat fill the rest; it does not model therapeutic 4:1 or 3:1 ketogenic diets, net versus total carbohydrate or ketone levels. Not included: body-fat percentage, medical conditions, medications, pregnancy and breastfeeding, fibre, alcohol and the slowing of weight change over time.

This calculator is for general information only and is not medical or dietary advice. Talk to a doctor or registered dietitian before changing your diet.

Macronutrient Calculator: How Protein, Fat and Carbs Are Split

By FindMySum · Last reviewed

A macronutrient calculator answers a narrower question than a calorie calculator: once you know roughly how much energy you need, how much of it should come from protein, fat and carbohydrate? This one sets a calorie target from your body size and activity, then fills it in a fixed order. Protein is set first, from your weight. Fat is set second, as a share of calories. Carbohydrate takes whatever is left. That order explains almost everything about how the numbers move when you change your goal, and it is the main thing worth understanding before you use the result.

Step one: a calorie target

The calorie side uses the Mifflin-St Jeor equation for resting energy (BMR), multiplied by an activity factor to estimate total daily energy expenditure (TDEE). The factors run from 1.2 for little or no exercise to 1.9 for hard daily training plus a physical job. Your goal then adds or removes a fixed amount:

GoalCalorie changeProteinFat share
Lose weight−500 kcal/day2.0 g/kg25%
Lose weight faster−750 kcal/day2.2 g/kg20%
Maintain01.6 g/kg30%
Lean muscle gain+300 kcal/day1.8 g/kg25%
Faster muscle gain+500 kcal/day2.0 g/kg30%

A weight-loss target never goes below 1,200 kcal a day for women or 1,500 kcal for men, the minimum Harvard Health advises without medical supervision. When TDEE minus the deficit would land under that, the target is set to the minimum and the page says so; the loss will then be slower than the goal's label. If your maintenance is already below the minimum, no deficit is planned at all. The calorie and calorie deficit calculators use the same floor.

The BMR calculator article covers the equation itself in detail; here it is only the starting point.

Step two: the split

Energy is converted to grams with the Atwater general factors: 4 kcal per gram of protein, 4 kcal per gram of carbohydrate and 9 kcal per gram of fat.

  1. Protein (g) = body weight (kg) × the goal's grams per kilogram. The values sit between 1.6 and 2.2 g/kg. The lower end matches the point at which the Morton 2018 meta-analysis found extra protein stopped adding measurable muscle with resistance training; the upper end is that study's upper confidence limit. Protein is raised in a deficit because a higher intake helps hold on to lean mass while you lose weight.
  2. Fat (g) = calorie target × fat share ÷ 9. The share is 20 to 30%, inside the National Academies' Acceptable Macronutrient Distribution Range (AMDR) of 20 to 35% for adults.
  3. Carbohydrate (g) = (calorie target − protein kcal − fat kcal) ÷ 4. No fixed target; it is the remainder.

The AMDR for carbohydrate is 45 to 65% of calories and for protein 10 to 35%. Because carbohydrate is a remainder, it can fall below 45% on the more aggressive goals. The calculator checks both and flags the result when carbohydrate drops under 45% or protein climbs over 35%.

Worked example: the calculator's defaults

The calculator opens with a 30-year-old man, 70 kg and 170 cm, exercising moderately three to five days a week, with the goal of maintaining his weight.

  1. BMR: 10 × 70 + 6.25 × 170 − 5 × 30 + 5 = 700 + 1,062.5 − 150 + 5 = 1,617.5, shown as 1,618 kcal.
  2. TDEE: 1,617.5 × 1.55 = 2,507 kcal. Maintenance adds nothing, so the target is 2,507 kcal a day.
  3. Protein: 70 kg × 1.6 g/kg = 112 g, which is 448 kcal, or 18% of the total.
  4. Fat: 30% of 2,507 is about 752 kcal; ÷ 9 = 84 g.
  5. Carbohydrate: 2,507 − 448 − 752 leaves about 1,307 kcal; ÷ 4 = 327 g, or 52% of calories.

The result is 112 g protein (18%), 327 g carbohydrate (52%) and 84 g fat (30%), all three comfortably inside the AMDR.

The same person on the weight-loss goal

Switch only the goal to "lose weight" and the engine returns 2,007 kcal a day: 140 g protein (28%), 236 g carbohydrate (47%) and 56 g fat (25%). Protein went up by 28 g because the goal now uses 2.0 g/kg. Fat dropped by 28 g because both the calories and the fat share fell. Carbohydrate lost 91 g, which is about 364 kcal of the 500 kcal cut. That pattern, where carbohydrate pays for most of a deficit, holds on every goal.

Where a fixed split goes wrong

The calculator is a reasonable default, not a prescription, and its limits are predictable:

  • Small, inactive people on aggressive goals. Try a 60 kg, 163 cm, sedentary woman on the faster weight-loss goal. Her TDEE is about 1,569 kcal, and the 750 kcal cut would leave 819 kcal, so the target is raised to the 1,200 kcal minimum: a deficit of about 370 kcal, half the goal's. Even then, 2.2 g/kg of protein is 132 g, 44% of calories, leaving 108 g of carbohydrate (36%), so the AMDR warning shows: carbohydrate under its range and protein over it. A fixed deficit is simply too large for a small energy budget. A percentage deficit, or a smaller goal, works better.
  • High body fat. Protein per kilogram of total weight overstates needs when much of that weight is fat tissue.
  • Training style. Endurance athletes logging long sessions usually need more carbohydrate than a 52% share gives them on hard days, while someone lifting three times a week may do well with less.
  • Activity factors. Picking "moderate" when your week is closer to "light" overestimates calories by about 280 kcal a day for the default person (1,617.5 × 0.175). Most people overrate their activity.

None of these is a flaw in the arithmetic. They come from applying one rule to very different bodies, which is why the output should be adjusted against real results.

The keto split

The macro split menu has a second option for people following a ketogenic diet. The keto split keeps the same calorie target and the same protein, but changes the order: carbohydrate is fixed first, at the grams you choose between 20 and 50 a day (the range StatPearls gives for a ketogenic diet), and fat takes everything that is left. For the default 70 kg man at maintenance, 2,507 kcal a day, that is 112 g of protein, 25 g of carbohydrate and 218 g of fat: about 18% of calories from protein, 4% from carbohydrate and 78% from fat. On the weight-loss goal the fat share falls, because protein stays the same while calories drop.

The preset counts total carbohydrate as entered; if you track net carbohydrate (total minus fibre and some sugar alcohols), see the net carbs calculator. It is not a recommendation: a ketogenic split is well outside the National Academies ranges, it can interact with diabetes medication, and people with kidney or liver disease or who are pregnant should not start it without medical advice. Therapeutic ketogenic diets set fat by a weight ratio (4:1 or 3:1) under a clinical team and are not modelled.

Using the result

Eat close to the targets for two to four weeks, weigh yourself several mornings a week, and compare the average with your goal. If weight is moving faster or slower than planned, change calories first and leave protein where it is. The protein intake calculator gives a range rather than a single figure if you want to fine-tune that number, the calorie deficit calculator lets you set a deficit by timeline instead of a fixed amount, and the calorie burn calculator estimates what a given workout adds to your day.

The targets here are general estimates for healthy adults. They are not medical or nutrition advice and do not account for diabetes, kidney disease, pregnancy, eating disorders or medications that affect appetite or metabolism. If any of those apply, or you are planning a large change, ask a registered dietitian or your doctor to set numbers for you.

More questions

Why is protein set in grams per kilogram but fat set as a percentage?

Protein needs track the amount of lean tissue you carry, so body weight is a better guide than calorie intake: a 90 kg person eating 2,000 kcal needs more protein than a 55 kg person eating the same. Fat is mostly an energy and hormone-support nutrient, and the National Academies express its healthy range as a share of calories. Each nutrient is set in the unit its evidence uses.

Why did my carbohydrate drop so sharply when I chose a weight-loss goal?

Carbohydrate is the remainder. When calories fall, protein actually rises (it is tied to your weight and the goal raises the grams per kilogram), and fat falls only in proportion to calories. Everything that is left is carbohydrate, so it absorbs almost the entire deficit. With the defaults, moving from maintenance to the standard weight-loss goal cuts carbohydrate from 327 g to 236 g.

Can I swap carbohydrate for fat if I prefer a lower-carb diet?

Yes, as long as you keep total calories and protein the same. Every 9 g of carbohydrate you remove frees about 36 kcal, which is 4 g of fat. The balanced split keeps fat at 20 to 30% of calories to stay inside the National Academies range. For a very low-carbohydrate diet, choose the keto split instead: carbohydrate is fixed at 20 to 50 g a day and fat takes the rest. Going that low in carbohydrate is a choice to make with a doctor or dietitian.

Is the keto split a recommendation?

No. It is a preset for people who have already decided to follow a ketogenic diet, so they can see the grams that fit their calories. It sits far outside the National Academies ranges (45 to 65% carbohydrate, 20 to 35% fat), and the page says so. Medical ketogenic diets, such as the 4:1 diets used for epilepsy, are planned and monitored by a clinical team and are not modelled here.

Should I enter my current weight or my goal weight?

Enter your current weight. The Mifflin-St Jeor equation was fitted to measured body weight, and the protein target is meant to support the tissue you have now. If you carry a lot of body fat, the protein figure will run high, because fat tissue needs little protein; some coaches use a goal or adjusted weight for protein in that case.

How do I turn the grams into meals?

Divide each daily figure by the number of meals you usually eat, then check food labels, which list grams per serving. With the default 112 g of protein over four meals, that is about 28 g per meal, roughly a chicken breast, a cup of Greek yogurt with some nuts, or a tin of tuna on toast. Precision to the gram is not needed; weekly averages are what count.

Does alcohol count towards my macros?

Alcohol supplies about 7 kcal per gram but is not protein, fat or carbohydrate, so the calculator leaves it out. If you drink, those calories come out of your total. Most tracking apps take them from carbohydrate and fat, which keeps protein intact.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy