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

ProteinCarbsFat
Copied!

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%) ÷ 4
Carbs (g) = (Total Calories × Carb%) ÷ 4
Fat (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 Balanced30%40%30%General health, moderate exercise
High Protein40%30%30%Muscle building, body recomposition
Low Carb35%25%40%Fat loss, blood sugar control
Ketogenic25%5%70%Fat adaptation, epilepsy management
High Carb (Endurance)20%55%25%Runners, cyclists, swimmers
Zone Diet30%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

Disclaimer: This calculator provides estimates for informational purposes only and does not constitute medical or dietary advice. Consult a healthcare professional or registered dietitian before making significant changes to your diet.

Frequently Asked Questions

Related Calculators

Calorie Calculator Protein Calculator TDEE Calculator Carbohydrate Calculator BMR Calculator