Skip to main content

Macro Calculator

Blake Boege
Written by Blake Boege · Founder, Calculator Answers

A macronutrient (macro) calculator is a dietary tool that breaks down a user's daily caloric target into specific ratios of proteins, carbohydrates, and fats. It first estimates daily energy expenditure, then allocates calories based on chosen dietary protocols (e.g., high-protein, ketogenic, or balanced). Fitness enthusiasts and athletes use it to optimize body composition, ensure adequate muscle recovery, and manage energy levels.

Enter a daily calorie target, pick a goal preset, and we'll split the calories into grams of protein, carbs, and fat. Tweak the protein and fat percentages directly; carbs auto-fill from the remainder.

Quick Answer

Calculate your optimal daily targets for protein, carbs, and fats. Get a customized macronutrient breakdown designed for weight loss, muscle gain, or athletic performance.

kcal

Use your TDEE for maintenance, or your goal calories for fat loss or muscle gain.

Goal preset

%
%

Carbs auto-fill from the remainder (100% − protein − fat). Protein and carbs are 4 kcal/g; fat is 9 kcal/g.

Daily macros

Maintenance · 2,200 kcal/day

165P · 220C · 73F

30% protein · 40% carbs · 30% fat

Protein165 g · 660 kcal
Carbs220 g · 880 kcal
Fat73 g · 660 kcal
Total2,200 kcal

Estimate, not nutrition advice. Macro targets work best as a starting point you adjust by feel and outcomes over weeks. Speak with a registered dietitian for medical conditions, an eating disorder, pregnancy, or special nutrition needs.

Was this helpful?

Examples

2,200 kcal · maintenance · 30/40/30

165P · 220C · 73F (g/day)

1,800 kcal · fat loss · 40/30/30

180P · 135C · 60F (g/day)

2,800 kcal · muscle gain · 30/45/25

210P · 315C · 78F (g/day)

2,500 kcal · custom 35/35/30

219P · 219C · 83F (g/day)

How it works

Each macro percentage is converted to calories, then to grams using its calorie density.

protein g/day · P% × calories ÷ 4

carb g/day · (100% − P − F) × calories ÷ 4

fat g/day · F% × calories ÷ 9

Goal presets: fat loss 40/30/30 (P/C/F) · maintenance 30/40/30 · muscle gain 30/45/25.

What are macros?

Macros (short for macronutrients) are the primary nutrients that your body needs in large quantities to function: proteins, carbohydrates, and fats. Each of these macros provides a specific amount of metabolizable energy per gram, which are represented by the standard Atwater general factors used in USDA and FDA nutrition labeling:

  • Protein: Provides 4 calories per gram. It is the building block for muscle tissue, enzymes, and skin.
  • Carbohydrates: Provide 4 calories per gram. They are the body’s preferred source of quick energy.
  • Fat: Provides 9 calories per gram. It is crucial for hormone production, brain health, and cell structure.

This macro calculator takes your daily calorie target and splits it into precise gram recommendations for all three categories based on these energy densities.

How the presets compare to dietary guidelines

The Dietary Guidelines for Americans, 2025-2030 edition (published by the USDA and HHS, and the current edition since January 2026) establish the Acceptable Macronutrient Distribution Ranges (AMDR) to ensure sufficient vitamin and mineral intake while lowering the risk of chronic diseases. Here is how standard federal guidelines compare:

MacronutrientAMDR Range (% of Calories)
Protein10% – 35%
Carbohydrates45% – 65%
Fat20% – 35%

Note that fitness-focused presets (such as our Fat Loss preset at 40% protein) often sit at or slightly above the higher end of the AMDR. Higher protein is commonly utilized in physical training contexts to support muscle preservation and satiety. The custom fields allow you to set any split that matches your individual requirements.

Maintenance-preset grams at common calorie targets

Below is a breakdown of macronutrient targets in grams at common daily calorie levels using the Maintenance preset (30% protein, 40% carbohydrates, 30% fat):

Calorie Target (kcal)Protein (g)Carbs (g)Fat (g)
1,500 kcal113 g150 g50 g
1,800 kcal135 g180 g60 g
2,000 kcal150 g200 g67 g
2,200 kcal165 g220 g73 g
2,500 kcal188 g250 g83 g
3,000 kcal225 g300 g100 g

Worked example

Calculating daily macro targets manually is simple. For example, if you eat 2,200 kcal on the Maintenance preset (30% protein, 40% carbs, 30% fat):

  • Protein: 2,200 kcal × 0.30 = 660 kcal from protein. Divided by 4 kcal/g = 165 g
  • Carbohydrates: 2,200 kcal × 0.40 = 880 kcal from carbs. Divided by 4 kcal/g = 220 g
  • Fat: 2,200 kcal × 0.30 = 660 kcal from fat. Divided by 9 kcal/g ≈ 73 g

These manual totals match the calculator's output exactly.

Where your calorie target comes from

This tool assumes you already have a target daily calorie target in mind. If you do not have one, you should estimate your energy needs using our TDEE Calculator or our Calorie Calculator first. Alternatively, if your goal focuses mainly on protein milestones, use our Protein Intake Calculator.

Common mistakes

  • Using percentages that do not total 100%: If your inputs sum to something else, you will not allocate your daily calories accurately. Fortunately, this tool auto-fills carbohydrates as the remaining balance to guarantee alignment.
  • Treating gram targets as strict prescriptions: Daily numbers are guidelines. Natural food variances make precise tracking to the single gram impossible; focus on matching ranges.
  • Forgetting alcohol calories: Pure alcohol contains roughly 7 kcal/g. Drinking alcohol adds calories to your daily total without contributing to your protein, carbohydrate, or fat totals.

Related calculators

Sources: the macronutrient distribution ranges are the AMDR published by the National Academies and carried in the Dietary Guidelines for Americans; energy densities use the USDA Atwater general factors of 4, 4 and 9 kcal per gram. The calorie deficit and surplus figures above are this page's own and are not drawn from either. Page written June 2026, sources reviewed August 2026. No clinician or dietitian has reviewed this page.

Estimate, not nutrition advice. Macro targets are starting points, not prescriptions. Total calories, protein adequacy, and food quality usually matter more than the exact macro split. If you have a medical condition, an eating disorder, are pregnant, or have any nutrition concern, talk to a registered dietitian rather than relying on a calculator.

Frequently asked questions

Yes, in the sense that matters. IIFYM, if it fits your macros, is the practice of hitting daily protein, fat and carbohydrate targets rather than following a prescribed food list, and flexible dieting is the same idea under another name. The percentage splits this page produces are those targets. It sets the numbers; what you eat to reach them is not something a calculator decides.

That is what the goal control does. Cutting is the fat-loss setting, which lowers total calories and holds protein relatively high; bulking is the muscle-gain setting, which raises calories and shifts more of them into carbohydrate to fuel training. The words on the buttons are fat loss, maintenance and muscle gain, and they are the same three things.

Macronutrients, meaning protein, carbohydrates and fat, are the calorie-bearing components of food that provide energy. Protein and carbohydrates deliver approximately 4 calories (kcal) per gram, while fat delivers approximately 9 calories per gram.

Splitting by percentage keeps your macronutrient targets scaled proportionally to your total calorie intake if your daily energy goals change. Grams-per-kilogram models anchor protein to body weight (e.g., 1.6 to 2.2 g/kg), which is highly precise but requires manual re-adjustment when total calories shift.

For most active adults, a daily protein target of 1.2 to 2.2 grams per kilogram of body weight is widely recommended. Our fat loss preset (40% protein) is on the higher end to support muscle retention during a calorie deficit, while maintenance and muscle gain presets align at a standard 30% protein.

You can find your baseline calorie target by using our TDEE calculator to estimate your maintenance calories, and then adding or subtracting calories depending on your goals. The deficit and surplus figures on this page are its own, and here is what the named bodies actually publish. For weight loss the NHLBI obesity guideline recommends "a deficit of 500 to 1,000 kcal/day", and its lowest figure anywhere is 300 to 500 for patients with a BMI of 27 to 35; the 2013 AHA/ACC/TOS guideline prescribes a 500 or 750 kcal/day deficit. So the 250 to 500 this page uses sits at or below the floor of both, and its lower half is below every number either publishes. For muscle gain there is no published figure to match: the ISSN position stand on diets and body composition gives no calorie number at all, and the nearest published range is 200 to 300 for highly trained athletes. This page previously cited that second-hand through a 2019 review, saying the primary could not be obtained; the primary has since been read, and reading it changes what the figure is worth. It is Garthe and colleagues in the European Journal of Sport Science in 2013, and the sentence is the last one in their conclusion: they "speculate that 200-300 kcal per day surplus may be more appropriate than 500 kcal per day for the elite athlete". SPECULATE IS THEIR WORD. It is not what the study tested. What the study actually did was add about 500 a day, and the surplus its intervention group achieved was 544 plus or minus 31. So the 200 to 300 is a suggestion at the end of a paper that used twice as much. Treat every figure here as a starting point to adjust from, and read the NHLBI and AHA numbers as the ones with a guideline behind them.

No, many different macro distributions work effectively depending on individual metabolic health, dietary preferences, and activity types. Total calories, protein adequacy, and overall food quality are generally more critical than achieving an exact percentage split.

You calculate macros from calories by multiplying your daily calorie target by each macro's percentage and then dividing the resulting calories by its energy density (4 kcal/g for protein/carbs, 9 kcal/g for fat). For example, 30% protein of a 2,200 kcal diet equals 660 kcal, which is 165 grams.

Fat has 9 calories per gram because its molecular structure contains more carbon-hydrogen bonds than proteins or carbohydrates, making it a more concentrated form of metabolizable energy. This higher chemical density has been verified by standard calorimetry tests.

Yes, the macro percentages must sum to exactly 100% to represent your entire daily calorie target, and this calculator automatically adjusts carbohydrates as the remaining balance.

You should choose a macro split that aligns with your personal fitness goals and sits comfortably within the Acceptable Macronutrient Distribution Ranges (AMDR). For general health, these ranges are 10–35% protein, 45–65% carbohydrates, and 20–35% fat.

You should estimate your daily calorie number using our TDEE (Total Daily Energy Expenditure) calculator, which takes into account your Basal Metabolic Rate and daily physical activity level.

A 30% protein target on a 2,000-calorie diet is exactly 150 grams of protein per day. This is calculated as: 2,000 kcal × 0.30 = 600 kcal from protein, divided by 4 kcal/g = 150 g.

The Atwater general factors are standard energy values (4 kcal/g for protein and carbohydrates, 9 kcal/g for fat) used to calculate metabolizable energy in foods. These values represent the historical calorie-density benchmarks defined by W.O. Atwater.