Macro Calculator
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.
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.
Maintenance · 2,200 kcal/day
165P · 220C · 73F
30% protein · 40% carbs · 30% fat
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.
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:
| Macronutrient | AMDR Range (% of Calories) |
|---|---|
| Protein | 10% – 35% |
| Carbohydrates | 45% – 65% |
| Fat | 20% – 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 kcal | 113 g | 150 g | 50 g |
| 1,800 kcal | 135 g | 180 g | 60 g |
| 2,000 kcal | 150 g | 200 g | 67 g |
| 2,200 kcal | 165 g | 220 g | 73 g |
| 2,500 kcal | 188 g | 250 g | 83 g |
| 3,000 kcal | 225 g | 300 g | 100 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.
Related Calculators
More tools from Health



