Health
Macro Calculator
Last updated: June 19, 2026
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 (published by the USDA and HHS) 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: Macronutrient ranges align with the Dietary Guidelines for Americans 2020–2025 (AMDR) published by the USDA and HHS. Metabolizable energy density values utilize the USDA Atwater general factors. Last reviewed: June 2026.
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
Frequently asked questions
Macronutrients — 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. Deficits of 250 to 500 calories are recommended for weight loss, and surpluses of 250 to 300 calories support muscle gain.
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.
Related calculators
Health
Waist to Hip Ratio Calculator
Calculate waist-to-hip ratio (WHR) from waist and hip measurements. Returns the ratio and a screening category using common WHO thresholds.
Health
Blood Pressure Calculator
Classify a blood pressure reading using AHA-style adult categories: Normal, Elevated, Stage 1, Stage 2, and Hypertensive crisis.
Health
Calorie Deficit Calculator
Estimate the daily calorie deficit needed to reach a target weight by a target date or at a chosen weekly loss rate. Returns daily deficit and calorie target.