Macro Calculator
Calculate daily grams of protein, carbohydrates, and fat from your calorie target. Choose from balanced, high-protein, low-carb, keto, or endurance macro splits.
How to Use
- Enter your daily calorie target (use our TDEE Calculator first if you don't have one).
- Pick a macro split from the dropdown — balanced 30/40/30, high-protein 40/30/30, low-carb 35/20/45, keto 25/5/70, or endurance 20/60/20.
- The calculator returns daily grams of protein, carbs, and fat plus the per-macro calorie share.
- Use these as targets in a tracking app like MyFitnessPal, Cronometer, or MacroFactor.
- Hit protein within ±10g; carbs and fat have more flexibility — meet calorie target without obsessing over the exact split.
- Re-run when your calorie target changes (after a TDEE recalculation).
Energy Densities & Math
A Brief History of Macronutrients
The concept of "macronutrients" — protein, carbohydrate, and fat as the three main caloric components of food — was established by Carl von Voit and Max Rubner in the late 19th century, building on the calorimetry work of Antoine Lavoisier and others. Wilbur Atwater's USDA studies in the 1890s established the calorie counts (4-4-9 kcal/g) we still use on food labels today, though the underlying biochemistry varies slightly from food to food.
Specific macro recommendations have shifted dramatically. The original USDA Food Pyramid (1992) recommended 6–11 servings of grains daily, demonizing dietary fat — an emphasis that aged poorly as later research found that refined carbohydrates and added sugars were larger drivers of metabolic disease than total fat intake. The Atkins diet (1972, popularized 1990s and 2000s) and ketogenic diets popularized very low carbohydrate macros for weight loss. Today's mainstream nutrition science generally accepts a wide range of macro ratios as compatible with health, with food quality and total caloric intake as the primary drivers.
Sports nutrition is where macro tracking is most rigorous and where the modern "if it fits your macros" (IIFYM) approach originated, around the bodybuilding community in the 2010s. Apps like MyFitnessPal (founded 2005), Cronometer, and MacroFactor have brought macro tracking from niche to mainstream — for better and for worse. The math hasn't changed since Atwater; what's changed is the audience and the access.
About This Calculator
This calculator splits a calorie target across protein, carbohydrate, and fat using the standard Atwater factors (4-4-9 kcal/g) and your chosen percentage split. Outputs are in grams suitable for direct entry into food-tracking apps. Fiber, alcohol, and water are not part of the macro split — track those separately with their own minimums.
This is informational, not medical advice. Macro recommendations vary widely by individual goals, training, body composition, and health status. For personalized planning — especially with medical conditions like diabetes, kidney disease, or eating disorders — work with a qualified registered dietitian. Everything runs entirely in your browser; no data is transmitted or stored.
Frequently Asked Questions
How much protein do I actually need?
For sedentary adults, the RDA is 0.8 g/kg body weight (~50–60g for most). For weight loss with strength training, 1.6–2.2 g/kg (~150g+ for many) preserves muscle. Athletes can benefit from up to 2.5 g/kg during cuts. Most calorie-restricted people under-eat protein; getting it right is more important than arguing about exact carb/fat ratios.
Is keto better than a balanced diet?
Depends on your goals and biochemistry. For weight loss, keto and balanced diets produce similar results at matched calories — what works is what you'll stick with. Some people feel mentally clearer on low-carb; others struggle with energy and exercise capacity. Type 2 diabetes and certain seizure disorders have specific medical reasons to use keto. For general health, the macro split matters less than total intake and food quality.
Why is high-protein recommended for fat loss?
Three reasons: protein is the most satiating macronutrient (you eat less without trying), it has the highest thermic effect (10–15% of calories burned in digestion vs. 5% for carbs and 2% for fat), and it preserves muscle mass during a calorie deficit. The combination means you lose more fat and less muscle on a high-protein cut.
How important is the timing of carbs and fat?
Marginal at best for most people. Total daily intake matters far more than timing within the day. Athletes around heavy training sessions can benefit from peri-workout carbs, and people with sleep issues sometimes do better with slow carbs in the evening. For everyday fitness, eat your meals on whatever schedule you actually adhere to.
What about fiber?
Aim for 25–35g daily from real food — fruits, vegetables, whole grains, legumes. Fiber supports satiety, gut health, and stable blood sugar but doesn't 'count' against your calorie target the way other carbs do. The calculator's carb gram total includes fiber; track 'net carbs' (carbs minus fiber) only if you're on a specific keto protocol that calls for it.
Should I track macros for life?
Probably not. Tracking is a useful learning tool — most people only need 4–8 weeks of careful tracking to internalize portion sizes and macro composition. Long-term, intuitive eating informed by that learning works better for most. Track when goals change (cuts, bulks, recomp); coast on intuition during maintenance.
Common Use Cases
Setting up a fat-loss cut
Use a high-protein split (40/30/30 or higher protein) to preserve muscle while in a calorie deficit.
Lean bulking for muscle
Balanced or slightly carb-leaning split to fuel training while gaining at a controlled rate.
Endurance training fueling
Endurance athletes often need 60%+ of calories from carbs to support high training volumes.
Type 2 diabetes management
Some clinicians prescribe low-carb or keto for blood-sugar control. Always consult your physician for medical macros.
Athletic transition to off-season
Rebalance macros from sport-specific (carb-heavy) to maintenance/recomp ratios during off-seasons.
Vegetarian or vegan planning
Use the protein target to ensure plant-based diets hit minimum protein needs (legumes, tofu, seitan, supplements as needed).
Last updated: