Macro Calculator
Quick Answer
Macros (macronutrients) are split by calories: protein and carbohydrates provide 4 calories per gram, and fat provides 9 calories per gram, per USDA. A standard balanced split is roughly 30% protein, 40% carbs and 30% fat. For a 2,000 calorie day that equals 150 g protein, 200 g carbs and 67 g fat.
Also searched as: macro calculator, macros calculator, iifym calculator
Daily Calorie Target
0 cal
Protein
0g
0 cal
Carbs
0g
0 cal
Fat
0g
0 cal
Macro Split
How Macro Calculation Works
Macronutrients (macros) are the three categories of nutrients your body requires in large quantities: protein, carbohydrates, and fat. Each macronutrient provides energy measured in calories -- protein and carbohydrates supply 4 calories per gram, while fat provides 9 calories per gram. By choosing the right ratio of these three macros relative to your total calorie intake, you can optimize your nutrition for specific goals such as fat loss, muscle gain, or athletic performance.
According to the USDA Dietary Guidelines for Americans, the Acceptable Macronutrient Distribution Ranges (AMDR) are 10-35% of calories from protein, 45-65% from carbohydrates, and 20-35% from fat. However, these broad ranges serve the general population. Research published in the Journal of the International Society of Sports Nutrition supports more specific ratios based on training goals, body composition targets, and individual metabolic responses.
This calculator lets you choose from four evidence-based diet styles or enter custom ratios. First, determine your total daily calorie target using our TDEE Calculator or Calorie Calculator, then use this tool to break those calories into specific gram targets for each macro.
The Macro Calculation Formula
Macro Gram Calculations:
Protein (g) = (Total Calories × Protein%) ÷ 4Carbs (g) = (Total Calories × Carb%) ÷ 4Fat (g) = (Total Calories × Fat%) ÷ 9
Worked example: A 2,200 calorie target with Standard split (30% protein / 40% carbs / 30% fat). Protein = (2,200 × 0.30) ÷ 4 = 165 g. Carbs = (2,200 × 0.40) ÷ 4 = 220 g. Fat = (2,200 × 0.30) ÷ 9 = 73 g. Verification: (165 × 4) + (220 × 4) + (73 × 9) = 660 + 880 + 657 = 2,197 calories (the 3-calorie discrepancy is due to rounding).
Key Terms You Should Know
Protein provides 4 calories per gram and is essential for muscle repair and growth, enzyme production, immune function, and hormone synthesis. It has the highest thermic effect of food (20-30%), meaning your body burns more calories digesting protein than other macros. Use our Protein Calculator for detailed protein targets.
Carbohydrates provide 4 calories per gram and are the body's preferred energy source, especially for high-intensity exercise and brain function. They are stored as glycogen in muscles and the liver. Complex carbs (whole grains, vegetables, legumes) provide sustained energy, while simple carbs (sugar, white bread) cause rapid blood sugar spikes.
Fat provides 9 calories per gram (the most energy-dense macro) and is essential for hormone production (including testosterone and estrogen), vitamin absorption (A, D, E, K are fat-soluble), cell membrane structure, and brain health. A minimum of 20% of calories from fat is necessary for normal hormonal function.
Flexible Dieting (IIFYM) stands for "If It Fits Your Macros" -- a nutritional approach that allows any food as long as it fits within your daily macro targets. While this provides dietary flexibility, research emphasizes that food quality still matters for micronutrient intake, gut health, and long-term health outcomes.
Popular Macro Splits Compared
The following table compares common macro ratio strategies. The best split depends on your goals, activity level, and personal preferences:
| Diet Style | Protein | Carbs | Fat | Best For |
|---|---|---|---|---|
| Standard Balanced | 30% | 40% | 30% | General health, moderate exercise |
| High Protein | 40% | 30% | 30% | Muscle building, body recomposition |
| Low Carb | 35% | 25% | 40% | Fat loss, blood sugar control |
| Ketogenic | 25% | 5% | 70% | Fat adaptation, epilepsy management |
| High Carb (Endurance) | 20% | 55% | 25% | Runners, cyclists, swimmers |
| Zone Diet | 30% | 40% | 30% | Anti-inflammatory, general wellness |
Practical Examples
Example 1 -- Fat loss with high protein: A 70 kg woman with a TDEE of 2,000 calories wants to lose fat while preserving muscle. She chooses a 500-calorie deficit (1,500 cal) with a high-protein split (40/30/30). Protein = (1,500 × 0.40) ÷ 4 = 150 g. Carbs = (1,500 × 0.30) ÷ 4 = 113 g. Fat = (1,500 × 0.30) ÷ 9 = 50 g. Her protein target of 150 g equals 2.1 g/kg, which research shows preserves muscle during cutting.
Example 2 -- Muscle gain with standard split: An 80 kg man with a TDEE of 2,800 wants to gain muscle with a 300-calorie surplus (3,100 cal). Standard split (30/40/30): Protein = 233 g (2.9 g/kg), Carbs = 310 g, Fat = 103 g. The high carb intake fuels intense training while the surplus supports muscle growth.
Example 3 -- Keto for a sedentary person: A 65 kg woman eating 1,800 calories on a ketogenic diet (25/5/70). Protein = 113 g, Carbs = 23 g (very restricted), Fat = 140 g. The extremely low carb intake forces the body into ketosis, burning fat as its primary fuel. This requires careful food selection and is typically used under supervision.
Tips for Hitting Your Macro Targets
- Prioritize protein first. Protein is the hardest macro to overconsume and the most important for body composition. Plan your meals around protein sources first, then fill in carbs and fats. This is especially important during caloric deficits.
- Use a food scale for the first 2-4 weeks. Portion estimation is notoriously inaccurate. Studies show people underestimate calorie intake by 30-50% on average. A food scale eliminates guesswork and builds accurate intuition over time.
- Meal prep for consistency. Preparing 3-4 days of meals in advance makes it dramatically easier to hit your macro targets because every meal is pre-portioned and logged. Focus on simple, repeatable meals with known macro content.
- Allow flexibility within your targets. Aim to be within 5-10 g of each macro target rather than hitting exact numbers. Perfection is unnecessary -- consistency over weeks and months produces results, not daily precision.
- Do not fear any macro group. Extreme restriction of carbs or fat is unnecessary for most people. Both macros serve essential functions. Unless you have a medical reason (such as keto for epilepsy or low-carb for diabetes management), a balanced approach is usually more sustainable.
- Adjust based on progress. If you are not seeing results after 3-4 consistent weeks, adjust your ratios. More protein during a cut, more carbs before heavy training, or slightly lower fat if total calories need to decrease -- small tweaks based on real-world feedback are more effective than chasing the "perfect" ratio.