Introduction
Jake, a 26-year-old software engineer in Austin, started lifting weights six months ago. He knows he needs more protein but has no idea how many grams to aim for. His fitness app says 180 grams per day, his gym buddy says 220, and a bodybuilding forum says 250. He is 5 feet 11 inches, 175 lbs, and works out four times per week. The numbers are all over the map because none of them account for his actual calorie needs, activity level, or specific goal.
The Dietary Guidelines for Americans, 2025-2030, released in January 2026 by the USDA and HHS, recommends consuming 1.2 to 1.6 grams of protein per kilogram of body weight per day for general health. That is higher than the previous RDA of 0.8 g/kg, reflecting growing evidence that more protein supports muscle mass, metabolic health, and healthy aging. For Jake at 175 lbs (79.4 kg), that means 95 to 127 grams per day for general health. But for his muscle gain goal, this calculator goes further by factoring in his activity level and applying evidence-based macro ratios.
Inputs Required
- Sex, Age, Height, Weight: Used to calculate BMR and TDEE
- Activity Level: Scales BMR to your actual daily energy use
- Goal: Weight Loss, Maintenance, Muscle Gain, or Athletic Performance
Outputs Provided
- Daily Calorie Target: Adjusted for your goal
- Protein (grams): Daily target in grams and percentage of calories
- Carbohydrates (grams): Daily target in grams and percentage of calories
- Fat (grams): Daily target in grams and percentage of calories
- Visual Macro Breakdown: Proportional bar showing the ratio
How the Calculation Works
Step 1: Calculate TDEE
The calculator uses the Mifflin-St Jeor equation, which the National Institutes of Health identifies as the most accurate predictive equation for resting metabolic rate in healthy adults:
BMR (male) = 10W + 6.25H - 5A + 5
BMR (female) = 10W + 6.25H - 5A - 161
TDEE = BMR x Activity Factor
Where W is weight in kg, H is height in cm, and A is age in years. The activity factor ranges from 1.2 for sedentary individuals to 1.9 for very active individuals who train twice per day.
Step 2: Adjust Calories for Goal
Weight Loss: TDEE - 500 cal
Maintenance: TDEE
Muscle Gain: TDEE + 300 cal
Athletic: TDEE + 200 cal
The 500-calorie deficit for weight loss produces approximately 1 lb of fat loss per week, which the American College of Sports Medicine considers a safe and sustainable rate. The 300-calorie surplus for muscle gain supports lean tissue growth without excessive fat accumulation.
Step 3: Apply Macro Ratio
Protein grams = (Calories x Protein%) / 4
Fat grams = (Calories x Fat%) / 9
Carb grams = (Remaining calories) / 4
Macro Ratios Used by Goal
- Weight Loss: 40% protein, 30% fat, 30% carbs. High protein preserves muscle during a deficit. The 2025-2030 Dietary Guidelines emphasize protein at every meal for satiety and muscle maintenance
- Maintenance: 30% protein, 30% fat, 40% carbs. Balanced for general health and consistent with the Dietary Guidelines' recommendation to prioritize whole grains, vegetables, and fruits
- Muscle Gain: 30% protein, 25% fat, 45% carbs. Carb-rich to fuel training and recovery. The extra calories support glycogen replenishment and protein synthesis
- Athletic Performance: 35% protein, 25% fat, 40% carbs. Supports frequent high-intensity training with adequate protein for recovery
For tracking your overall body composition, use our BMI Calculator. For a simpler calorie-only target, try our Calorie Calculator.
How to Use the Calculator
- Select your unit system, sex, and enter your age, height, and weight
- Choose the activity level that reflects your typical week (be honest, not optimistic)
- Select your goal from the four presets
- View your daily calorie target, macro grams, and percentage breakdown
- Use the gram targets as daily nutrition goals when tracking your diet in an app like MyFitnessPal or Cronometer
Example Calculations
Example 1: Muscle Gain for Active Male
Jake is 26, male, 5 feet 11 inches (180 cm), 175 lbs (79.4 kg), moderately active (works out 4x per week), muscle gain goal. BMR = 10 x 79.4 + 6.25 x 180 - 5 x 26 + 5 = 1,724 cal. TDEE = 1,724 x 1.55 = 2,672 cal. Target calories = 2,672 + 300 = 2,972 cal. Protein (30%) = 892 cal / 4 = 223 g. Fat (25%) = 743 cal / 9 = 83 g. Carbs (45%) = 1,337 cal / 4 = 334 g. Jake's protein target of 223 g equals 2.8 g/kg, which is well above the Dietary Guidelines recommendation of 1.2 to 1.6 g/kg but consistent with sports nutrition research for resistance-trained individuals aiming for hypertrophy.
Example 2: Weight Loss for Sedentary Female
Maria is 42, female, 5 feet 4 inches (163 cm), 165 lbs (74.8 kg), sedentary (office job, no exercise), weight loss goal. BMR = 10 x 74.8 + 6.25 x 163 - 5 x 42 - 161 = 1,416 cal. TDEE = 1,416 x 1.2 = 1,699 cal. Target calories = 1,699 - 500 = 1,199 cal. Protein (40%) = 480 cal / 4 = 120 g. Fat (30%) = 360 cal / 9 = 40 g. Carbs (30%) = 360 cal / 4 = 90 g. Maria's protein target of 120 g equals 1.6 g/kg, which aligns with the upper end of the Dietary Guidelines recommendation and helps preserve muscle mass during her calorie deficit.
Real-World Scenarios
Cutting Phase for a Bodybuilder
Derek, a 31-year-old competitive bodybuilder in Miami, is 12 weeks out from a show. He weighs 198 lbs at 5 feet 9 inches and trains six days per week. His TDEE is approximately 3,400 cal. Using the weight loss preset with a 500-calorie deficit, his target is 2,900 cal. The 40% protein ratio gives him 290 g of protein per day, which equals 3.2 g/kg. This is at the upper end of what research supports for preserving lean mass during an aggressive cut. He tracks everything in Cronometer and adjusts his carbs downward by 50 g every two weeks as his weight plateaus.
Endurance Athlete Fueling Strategy
Aisha, a 29-year-old marathon runner in Denver, runs 50 miles per week. She is 5 feet 6 inches, 132 lbs, and uses the athletic performance preset. Her TDEE is approximately 2,800 cal, and her target is 3,000 cal. The 40% carb allocation gives her 300 g of carbohydrates per day, which supports glycogen replenishment between sessions. She front-loads carbs before long runs and adds 30 to 50 g of extra carbs on training days above what the calculator suggests, since endurance training has higher carbohydrate demands than the calculator's general athletic preset accounts for.
Recomposition at Maintenance
Tom, a 38-year-old office worker in Chicago, wants to lose fat and build muscle simultaneously without tracking every calorie. He is 5 feet 10 inches, 185 lbs, lightly active (walks 30 minutes per day, lifts twice per week). He uses the maintenance preset, which gives him 2,400 cal with 180 g protein. By hitting his protein target consistently and lifting progressively, he loses 2 lbs of fat and gains 1 lb of muscle over three months. His weight barely changes, but his waist measurement drops by an inch. This is body recomposition, and it works best at maintenance calories with high protein.
Why This Calculation Matters
Many people track calories but neglect macros, which can lead to outcomes like muscle loss during a diet or sluggish performance during training. Hitting your protein target is especially important during a calorie deficit to ensure that weight loss comes primarily from fat rather than lean tissue. The 2025-2030 Dietary Guidelines for Americans explicitly recommends prioritizing protein at every meal, noting that 1.2 to 1.6 g/kg per day supports muscle mass, satiety, and metabolic health. This calculator translates those recommendations into specific gram targets based on your body and goals.
Common Mistakes to Avoid
- Obsessing over exact gram targets: Hitting within 5 to 10 grams of your target is close enough. Consistency over days and weeks matters more than daily precision
- Cutting fat too low: Fat is essential for hormonal health. Dropping below 20% of calories from fat can impair testosterone and estrogen production. The Harvard T.H. Chan School of Public Health notes that the 2025-2030 Guidelines retain the recommendation to limit saturated fat to 10% of total calories, but total fat should not be cut below 20%
- Ignoring fiber within carb targets: At least 25 to 35g of daily fiber should come from your carbohydrate allowance to support digestive health. The Dietary Guidelines recommend 14 g of fiber per 1,000 calories consumed
- Not adjusting as weight changes: Your calorie and macro targets change as your weight changes. Recalculate every 10 to 15 lbs to keep your plan accurate
- Overestimating activity level: Most people overestimate how active they are. If you work a desk job and exercise 3 to 4 times per week, you are moderately active, not very active. Choosing too high an activity factor leads to eating more calories than you need
Limitations of This Calculator
This calculator uses the Mifflin-St Jeor equation, which has a standard error of approximately 10% for predicting resting metabolic rate. Individual variation in metabolism, body composition, thyroid function, and genetics means your actual calorie needs may differ by 200 to 400 calories from the estimate. The macro ratios are general presets that work well for most people but may not be optimal for specific populations such as pregnant women, individuals with diabetes, or those following ketogenic diets. The calculator does not account for medical conditions, medications that affect metabolism, or the thermic effect of food, which varies by macro composition. If you have a medical condition or are making significant dietary changes, consult a registered dietitian.