A macro calculator splits a daily calorie target into the three macronutrients (protein, carbohydrates, and fat) in grams. This calculator estimates daily macronutrient targets using your calorie goal and a chosen percent split applied to the Atwater calorie factors, expressed as grams per day of protein, carbs, and fat. Type a calorie target, type the split, read three gram counts.
The Atwater factors are the agreed reference. Protein and carbohydrate each deliver about 4 calories per gram, and fat delivers about 9 calories per gram (per the Food and Agriculture Organization of the United Nations, FAO Food and Nutrition Paper 77, 2003). Alcohol provides 7 calories per gram and is excluded from this calculator. The U.S. National Academies of Sciences set Acceptable Macronutrient Distribution Ranges of 10 to 35 percent of calories from protein, 45 to 65 percent from carbs, and 20 to 35 percent from fat.
Set protein first; the carb-versus-fat split is largely personal preference once protein is locked. Aim for roughly 0.8 to 1.0 grams of protein per pound of bodyweight for muscle preservation during a cut and for general body-composition goals; that floor typically lands between 25 and 35 percent of total calories for most adults. Common splits are 30/40/30 (balanced default), 40/35/25 (high-protein cut), and 25/50/25 (endurance, higher-carb). The percentages should sum to 100; this calculator does not normalize, so a 95 or 105 total will not reconcile to your calorie goal.
Key takeaway
Protein percentage matters most. Hit a protein floor of about 0.8-1 gram per pound of bodyweight (roughly 25-35% of calories for most people) and the carb-vs-fat split becomes a personal preference optimization, high carb favors training performance and recovery; high fat favors satiety and steady energy. The biggest macro mistake is under-eating protein during a cut, which leads to muscle loss disguised as weight loss.
How it's calculated
Each gram of macronutrient delivers a fixed calorie count (the Atwater factors):
- Protein: 4 cal/g
- Carbohydrate: 4 cal/g
- Fat: 9 cal/g
- (Alcohol: 7 cal/g, not included here)
The math:
protein g = (calories × protein% / 100) ÷ 4 carb g = (calories × carb% / 100) ÷ 4 fat g = (calories × fat% / 100) ÷ 9
The percentages should sum to 100, the calculator trusts whatever you enter and doesn't re-normalize. If your three percentages don't add to 100, the gram totals won't reconcile to your calorie target. Common splits: 30/40/30 (balanced), 40/40/20 (higher protein for cuts), 25/50/25 (endurance / high-carb), 30/20/50 (low-carb / keto-leaning).
Source: Atwater calorie factors (4/4/9 cal per gram)
Examples
2,000 cal target, balanced 30/40/30 split
- Target daily calories 2000 kcal/day
- Protein % 30%
- Carb % 40%
- Fat % 30%
At 2,000 cal/day with a balanced 30/40/30 split, the targets are 150 g protein, 200 g carbs, and 67 g fat. The protein number works for an adult around 150 lb (1 g per lb). Easy template for general health, moderate training, and weight maintenance.
1,800 cal cut, high-protein 40/35/25 split
- Target daily calories 1800 kcal/day
- Protein % 40%
- Carb % 35%
- Fat % 25%
On an 1,800 cal cut with 40/35/25 split: 180 g protein, 158 g carbs, 50 g fat. The bumped protein (40% of intake) protects lean mass during the deficit; reduced fat keeps room in the budget without sacrificing the carb floor needed for gym performance.
Frequently asked questions
Do my macro percentages need to add up to exactly 100?
Yes, the calculator trusts what you enter and doesn't re-normalize. If your three percentages add to 95 or 105 instead of 100, the gram totals won't reconcile to your calorie target. Always check that protein% + carb% + fat% = 100 before reading the gram outputs. A common mistake is splitting based on "rough thirds" (33/33/33 = 99), close enough for casual planning, but worth correcting to 34/33/33 if you're being precise.
How much protein do I really need?
For most active adults: 0.7-1 gram per pound of bodyweight per day. Strength athletes and dieters cutting in a deficit do best at the higher end (~1 g/lb); sedentary adults can get by closer to 0.6 g/lb. Sources: lean meat, fish, eggs, dairy, legumes, soy, whey protein. Going significantly above 1.5 g/lb has no documented advantage for muscle protein synthesis and crowds out other macros.
Is fat really 9 calories per gram?
Yes, that's an Atwater factor, the standardized energy content used on nutrition labels worldwide. Protein and carbs are 4 cal/g; fat is 9 cal/g; alcohol is 7 cal/g; fiber is technically 2 cal/g (often rounded into the carb total or subtracted as "net carbs"). The 4/4/9 rule is a simplification, actual digestibility varies by food source, but it's accurate enough for daily macro planning.
Should I use grams per pound of bodyweight instead of percentages?
For protein, yes, fix protein in grams (typically 0.7-1 g/lb), then let the percentage fall out of your calorie target. Carbs and fat are usually managed by percentage or by "fill the remaining calories." The percentage-based approach in this calculator is simplest for newcomers; more advanced lifters often set protein in grams first and split the rest.
What's a "flexible dieting" or IIFYM macro split?
IIFYM = "If It Fits Your Macros." It's a flexible-dieting approach where you hit your daily protein, carb, and fat targets by any food choices that fit (within reason, most coaches recommend 80-90% whole foods, 10-20% discretionary). The macro calculator is the planning tool: set your daily numbers, then let day-to-day food choices vary as long as the gram totals land. Less restrictive than rigid meal plans; works well for adherence.