Macro Split Calculator Formula
Understand the math behind the macro split calculator. Each variable explained with a worked example.
Formulas Used
Protein
protein_g = round(daily_calories * protein_pct / 100 / 4)Fat
fat_g = round(daily_calories * fat_pct / 100 / 9)Carbohydrates
carb_g = round(daily_calories * carb_pct / 100 / 4)Macro Total %
total_check = protein_pct + fat_pct + carb_pctVariables
| Variable | Description | Default |
|---|---|---|
daily_calories | Daily Calories(kcal) | 2500 |
protein_pct | Protein %(%) | 30 |
fat_pct | Fat %(%) | 30 |
carb_pct | Carb %(%) | 40 |
How It Works
How Macro Splits Are Calculated
Formula
Common Splits
Ensure percentages sum to 100%.
Worked Example
2500 kcal with a 30/30/40 split.
daily_calories = 2500protein_pct = 30fat_pct = 30carb_pct = 40
- 01Protein = 2500 * 0.30 / 4 = 188 g
- 02Fat = 2500 * 0.30 / 9 = 83 g
- 03Carbs = 2500 * 0.40 / 4 = 250 g
- 04Check: 30 + 30 + 40 = 100%
Ready to run the numbers?
Open Macro Split Calculator