Macro Calculator

Protein per day150.0 g
Carbohydrates per day200.0 g
Fat per day66.7 g
Protein calories600 kcal
How this was calculated
  1. Split used: Balanced (30% protein / 40% carbs / 30% fat), applied to 2,000 kcal a day.
  2. Protein: 2,000 × 30% = 600 kcal ÷ 4 kcal per gram = 150.0 g.
  3. Carbohydrates: 2,000 × 40% = 800 kcal ÷ 4 kcal per gram = 200.0 g.
  4. Fat: 2,000 × 30% = 600 kcal ÷ 9 kcal per gram = 66.7 g.

A macro calculator takes your daily calorie target and the percentage split you choose for protein, carbohydrates, and fat, then converts those percentages into grams you can actually use on your plate. It relies on the Atwater system used on nutrition labels: protein provides 4 kcal per gram, carbohydrates 4 kcal per gram, fat 9 kcal per gram, and alcohol 7 kcal per gram. For instance, 2,000 kcal on a balanced 30/40/30 split gives 150 g protein, 200 g carbohydrates, and 66.7 g fat. A 2,500 kcal keto split of 20/5/75 yields 125 g protein, 31.3 g carbohydrates, and 208.3 g fat. And 1,800 kcal on a high-protein 40/30/30 plan gives 180 g protein, 135 g carbohydrates, and 60 g fat.

The Atwater system is the accepted standard because it matches the energy values shown on every nutrition label, making your calculated grams line up with what you see in the grocery store. The US Acceptable Macronutrient Distribution Ranges set protein at 10-35% of calories, carbohydrates at 45-65%, and fat at 20-35%, though keto and very-low-carb splits sit deliberately outside the carb range. Sports-nutrition guidance for muscle building commonly targets protein around 1.6-2.2 g per kg of body weight, which is why high-protein splits use 40% protein. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify every result.

Worked examples

2,000 kcal balanced

150 g protein, 200 g carbs and 66.7 g fat — the split most dietitians start from. (2000 kcal · Balanced — 30 / 40 / 30)

Protein per day150.0 g
Carbohydrates per day200.0 g
Fat per day66.7 g
Protein calories600 kcal

2,500 kcal keto

Fat dominates: 208.3 g fat, 125 g protein and just 31.3 g carbs. (2500 kcal · Keto — 20 / 5 / 75)

Protein per day125.0 g
Carbohydrates per day31.3 g
Fat per day208.3 g
Protein calories500 kcal

1,800 kcal high-protein

180 g protein protects muscle in a deficit, with 135 g carbs and 60 g fat. (1800 kcal · High-protein — 40 / 30 / 30)

Protein per day180.0 g
Carbohydrates per day135.0 g
Fat per day60.0 g
Protein calories720 kcal

What are macros, and why count grams?

Macros, short for macronutrients, are the three nutrients your body needs in large amounts: protein, carbohydrates, and fat. (Alcohol is a fourth, at 7 kcal per gram, but it is not a dietary macro you plan around.) Every gram of protein provides 4 calories, every gram of carbohydrates provides 4 calories, and every gram of fat provides 9 calories. These values come from the Atwater system, the same energy standard used on nutrition labels. When you enter your goals into a macro calculator, it works backward from your target calories to split them into grams of each macro using these conversions.

Counting grams instead of only counting calories matters because calories tell you how much energy you eat, while macros tell you where that energy comes from. Two meals can have identical calorie counts but very different effects on hunger, muscle recovery, and body composition depending on their protein, carb, and fat content. Protein supports muscle repair and helps you feel full; carbohydrates are your body's preferred fuel source, especially for exercise; and dietary fat supports hormone production and helps you absorb certain vitamins. Tracking grams lets you match each macro to your specific goal rather than leaving the split to chance.

To see how the math works, take a balanced 30/40/30 split at 2,000 kcal. Protein is 30% of 2,000, which is 600 kcal, divided by 4 kcal per gram to give 150 g protein. Carbohydrates are 40% of 2,000, which is 800 kcal, divided by 4 kcal per gram to give 200 g carbohydrates. Fat is 30% of 2,000, which is 600 kcal, divided by 9 kcal per gram to give 66.7 g fat. So 2,000 kcal on a balanced 30/40/30 split gives 150 g protein, 200 g carbohydrates, and 66.7 g fat. The same method applies to any calorie target and any ratio.

For reference, the US Acceptable Macronutrient Distribution Ranges (AMDR) are protein 10-35% of calories, carbohydrates 45-65%, and fat 20-35%. Keto and very-low-carb splits sit deliberately outside the carb range by design. A verified keto example at 2,500 kcal on a 20/5/75 split gives 125 g protein, 31.3 g carbohydrates, and 208.3 g fat. Sports-nutrition guidance for muscle building commonly targets protein around 1.6-2.2 g per kg of body weight, which is why high-protein splits use 40% protein. A verified high-protein example at 1,800 kcal on a 40/30/30 split gives 180 g protein, 135 g carbohydrates, and 60 g fat.

The four splits compared

A macro calculator usually offers several preset splits, each suited to different goals. The table below compares four common patterns: balanced, high-protein, low-carb, and keto. Percentages refer to the share of total calories from protein, carbohydrates, and fat, respectively. Using the Atwater energy values that nutrition labels rely on — protein at 4 kcal per gram, carbohydrates at 4 kcal per gram, and fat at 9 kcal per gram — you can convert any split into grams for a given calorie target.

The US Acceptable Macronutrient Distribution Ranges (AMDR) set broad guidelines for long-term health: protein 10-35% of calories, carbohydrates 45-65%, and fat 20-35%. Balanced and high-protein splits fall within these ranges. Keto and very-low-carb splits sit deliberately outside the standard carb range, dropping carbohydrate intake far below the AMDR floor while raising fat well above its upper limit. This is intentional for ketogenic diets, which shift the body toward burning fat for fuel, but it means keto is a specialized approach rather than a general-purpose recommendation.

High-protein splits are popular among people focused on muscle building. Sports-nutrition guidance for muscle building commonly targets protein around 1.6-2.2 g per kg of body weight, which is why high-protein splits use 40% protein. At 1,800 kcal on a high-protein 40/30/30 split, that works out to 180 g protein, 135 g carbohydrates, and 60 g fat. Balanced splits, by contrast, spread calories more evenly: at 2,000 kcal on a balanced 30/40/30 split, you get 150 g protein, 200 g carbohydrates, and 66.7 g fat.

Keto splits are the most distinctive of the four. At 2,500 kcal on a keto 20/5/75 split, the result is 125 g protein, 31.3 g carbohydrates, and 208.3 g fat. The carbohydrate total is a small fraction of what a balanced split provides, reflecting keto's aim of minimizing carb intake to maintain ketosis. Low-carb splits fall between balanced and keto on the carbohydrate spectrum, reducing carbs without eliminating them entirely. Each split serves a different population, and the right choice depends on your goals, activity level, and any dietary restrictions.

SplitProtein %Carb %Fat %Typical users
Balanced304030General population, maintainers
High-protein403030Muscle building, strength athletes
Low-carb25-3020-3040-50Weight management, insulin sensitivity
Keto20575Ketogenic dieters, epilepsy management

Setting your calorie target first

A macro calculator only gives useful results once you have a calorie target. That target comes from your total daily energy expenditure (TDEE) — the calories you burn through basic body functions plus daily activity and exercise. If your goal is weight loss, you subtract a deficit from TDEE; if your goal is maintenance, you match it; if your goal is weight gain, you add a surplus. The same percentage split produces very different gram amounts as calories change, which is why fixing the calorie number first is the step that makes a macro calculator work.

Using the Atwater system that nutrition labels rely on — protein at 4 kcal per gram, carbohydrates at 4 kcal per gram, fat at 9 kcal per gram, and alcohol at 7 kcal per gram — you can see how the same split shifts across calorie levels. Take a balanced 30/40/30 split: at 2,000 kcal it gives 150 g protein, 200 g carbohydrates, and 66.7 g fat. Drop to 1,800 kcal on a high-protein 40/30/30 split and you get 180 g protein, 135 g carbohydrates, and 60 g fat — more protein on fewer total calories because the split changed. Jump to 2,500 kcal on a keto 20/5/75 split and the numbers swing to 125 g protein, 31.3 g carbohydrates, and 208.3 g fat, with fat dominating because of its higher energy density.

These splits do not all fall within the US Acceptable Macronutrient Distribution Ranges (AMDR), which are protein 10–35% of calories, carbohydrates 45–65%, and fat 20–35%. Keto and very-low-carb splits sit deliberately outside the carb range by design, trading carbohydrate calories for fat to maintain the calorie target. High-protein splits, by contrast, push protein toward the top of the AMDR. Sports-nutrition guidance for muscle building commonly targets protein around 1.6–2.2 g per kg of body weight, which is why high-protein splits use 40% protein — at most calorie levels that percentage lands in that range for typical body weights.

Always set your calorie target before adjusting your macro split. The percentages stay the same in name, but the grams you actually eat change with every calorie level.

Protein: the macro to anchor

When a macro calculator builds your daily targets, protein is the macro it anchors first. Protein is the most filling of the three macros, which helps control hunger when you are eating fewer calories. It is also the macro your body relies on to repair and hold on to lean muscle, especially in a deficit. Because protein does both jobs at once, it makes sense to lock it in before dividing the remaining calories between carbohydrates and fat.

Sports-nutrition guidance for muscle building commonly targets protein around 1.6-2.2 g per kg of body weight, which is why high-protein splits use 40% of total calories for protein. That range is well above the US Acceptable Macronutrient Distribution Ranges, which list protein at 10-35% of calories, carbohydrates at 45-65%, and fat at 20-35%. The higher target exists because people who are training hard need more protein to recover and keep muscle than the baseline range assumes.

To see how the numbers work, look at the verified high-protein example. At 1,800 kcal on a 40/30/30 split, protein is set at 40% of calories. Using the Atwater system value of 4 kcal per gram, 40% of 1,800 kcal is 720 kcal from protein, and 720 divided by 4 equals 180 g of protein for the day. The remaining calories go to 30% carbohydrates and 30% fat: 135 g of carbohydrates, which is also 4 kcal per gram, and 60 g of fat, which is 9 kcal per gram.

Contrast that with the balanced 30/40/30 example at 2,000 kcal, which lands at 150 g of protein, 200 g of carbohydrates, and 66.7 g of fat. The high-protein plan trades 30 g of protein for fewer total calories and fewer carbs, which is the point of anchoring protein first: you decide what protein you need, then let the other macros fill in around it. A macro calculator does this math in the background so you do not have to.

How to use this macro calculator

Using this macro calculator takes just two inputs. First, enter your daily calorie target — the total energy you want to consume each day, whether that reflects a maintenance level, a surplus for gaining, or a deficit for losing weight. Second, choose a macronutrient split, which is simply the percentage of your calories that comes from protein, carbohydrates, and fat. The calculator then converts those percentages into grams using the Atwater system that nutrition labels rely on: protein provides 4 kcal per gram, carbohydrates provide 4 kcal per gram, and fat provides 9 kcal per gram. Alcohol, at 7 kcal per gram, is not included in standard macro splits.

To see how the math works, consider a balanced 30/40/30 split at 2,000 kcal. That gives 150 g protein, 200 g carbohydrates, and 66.7 g fat. A high-protein 40/30/30 split at 1,800 kcal yields 180 g protein, 135 g carbohydrates, and 60 g fat — a ratio often chosen by people focused on muscle building, since sports-nutrition guidance commonly targets protein around 1.6 to 2.2 g per kg of body weight. A keto 20/5/75 split at 2,500 kcal produces 125 g protein, 31.3 g carbohydrates, and 208.3 g fat, pushing fat well above the typical range while keeping carbs very low.

The outputs from this macro calculator are daily totals. You can divide them across any number of meals and snacks in whatever way fits your schedule and preferences. Eating three equal meals, six smaller ones, or a different pattern each day will not change your results as long as the daily totals are met by the end of the day. Consistency across days matters more than rigid meal timing.

Keep in mind that the US Acceptable Macronutrient Distribution Ranges (AMDR) set protein at 10 to 35% of calories, carbohydrates at 45 to 65%, and fat at 20 to 35%. Keto and very-low-carb splits sit deliberately outside the carbohydrate range, which is intentional for their dietary approach but worth understanding before you commit to one. If your goal is general health, a split within the AMDR is a sensible starting point; if you have a specific performance or medical aim, a split outside those ranges may be appropriate.

Adjusting when progress stalls

When the scale stops moving or your measurements plateau for a couple of weeks, the instinct is often to overhaul everything at once. The more reliable approach is to change one variable at a time so you can tell exactly what produced the result. Hold your protein intake where it is, make a modest cut from carbohydrates or fat, then give the change a full two weeks before you reassess. This is general nutrition guidance, not medical advice; if you have a health condition or take medication, talk with a qualified professional before changing your diet.

Protein is the variable you want to protect because it supports muscle retention during a deficit and is hard to make up later. Sports-nutrition guidance for muscle building commonly targets protein around 1.6-2.2 g per kg of body weight, which is why high-protein splits use 40% protein. If your macro calculator output is built on a high-protein setup like the verified example of 1,800 kcal on a 40/30/30 split — 180 g protein, 135 g carbohydrates and 60 g fat — trimming from the carb and fat columns lets you preserve that 180 g of protein while still reducing total energy.

A useful starting point is cutting 100-200 kcal from carbohydrates, fat, or a mix of both. Using the Atwater energy values that nutrition labels rely on — protein 4 kcal per gram, carbohydrates 4 kcal per gram, fat 9 kcal per gram, and alcohol 7 kcal per gram — you can translate that reduction into grams quickly. A 100 kcal trim from carbohydrates means removing about 25 g of carbs, since each gram carries 4 kcal. The same 100 kcal trim from fat means removing about 11 g, since fat is far denser at 9 kcal per gram. This gram-to-calorie relationship is what makes small, precise adjustments possible without a full macro calculator recalculation every time progress stalls.

After you make the cut, hold steady for two weeks before deciding whether to adjust again. Daily weight and appearance fluctuate, so a shorter window can mislead you into cutting further when the original number was already working. If progress resumes, keep the current macros. If not, repeat the process: hold protein, trim another 100-200 kcal from carbs or fat, and reassess after another two weeks. Avoid dropping calories aggressively, because steeper cuts can erode energy, training quality, and adherence over time.

Keep your chosen split within a range you can sustain. The US Acceptable Macronutrient Distribution Ranges set protein at 10-35% of calories, carbohydrates at 45-65%, and fat at 20-35%, though keto and very-low-carb splits sit deliberately outside the carb range. If you started from the verified 2,000 kcal balanced example on a 30/40/30 split — 150 g protein, 200 g carbohydrates and 66.7 g fat — a 150 kcal trim from carbs would take you to roughly 162 g carbohydrates while leaving protein and fat untouched. That kind of single-variable change is easy to track and easy to reverse if it turns out the stall was just normal variation.

  • Hold protein constant; cut 100-200 kcal from carbohydrates, fat, or a mix of the two.
  • Wait two full weeks before reassessing so you are not reacting to daily fluctuations.
  • Translate the cut into grams using Atwater values: carbs and protein each provide 4 kcal per gram, fat provides 9 kcal per gram.
  • Repeat the single-variable trim only if the stall persists after the reassessment window.

FAQs

How many grams of protein are in 30% of 2,000 calories?

Calculate 2,000 x 30% = 600 kcal of protein. Since protein provides 4 kcal per gram, divide 600 by 4 to get 150 g. This is the amount you would aim for if protein makes up 30% of a 2,000-calorie daily target.

What are the macros for keto at 2,500 calories?

On a 20/5/75 split, your daily macros at 2,500 calories work out to 125 g protein, about 31 g carbohydrates and 208 g fat. This keeps carbohydrates very low while fat provides the bulk of your energy, which is typical for ketogenic eating patterns.

How many calories are in a gram of fat?

Fat provides 9 kcal per gram — more than double protein or carbohydrate at 4 kcal per gram, which is why fat portions change totals so fast. This density means small adjustments to fat intake can significantly shift your daily calorie total.

What is the best macro split for losing weight?

The one you can sustain inside a calorie deficit. Higher protein (around 40%) helps satiety and muscle retention; total calories drive the loss itself. No single ratio is universally best, so pick a split you can follow consistently while eating fewer calories than you burn.

Do I need to hit my macros exactly every day?

No. Treat them as daily targets with a small tolerance (about +/- 5-10 g); weekly consistency matters more than a perfect day. Going slightly over or under your macro goals on any given day will not derail progress as long as your overall pattern stays steady.

What split do official guidelines recommend?

The US AMDR ranges are protein 10-35%, carbohydrates 45-65% and fat 20-35% of calories. The balanced 30/40/30 split sits inside all three. These ranges offer flexibility, so you can adjust within them based on personal preference, activity level and health goals.

Sources

Related calculators

TDEE Calculator
Total daily energy expenditure from the Mifflin–St Jeor BMR equation and your activity level — plus loss and gain targets.
Calorie Deficit Calculator
The daily calorie target for your weight-loss rate: pick a pace, get the deficit, the intake to aim for, and the projected loss over your timeframe.
BMI Calculator
Body mass index from height and weight, your WHO category, and the healthy weight range for your exact height.
Water Intake Calculator
How much water you should drink a day from your body weight, exercise and climate — in litres, ounces and glasses.