Macro Calculator
Enter your daily calorie target and pick a split. You will get grams of protein, carbs, and fat, plus the percentage breakdown.
How the split is calculated
Each macro gets a share of your calories, then calories convert to grams:
- Protein grams = calories × protein% ÷ 4
- Carb grams = calories × carb% ÷ 4
- Fat grams = calories × fat% ÷ 9
Fat uses 9 because it is more energy-dense than protein or carbohydrate. That is also why keto's 70% fat still comes out to fewer grams than you might expect.
The four presets
| Preset | Protein / Carb / Fat | Good for |
|---|---|---|
| Balanced | 30 / 40 / 30 | General health, most training |
| High protein | 40 / 35 / 25 | Fat loss, muscle gain, staying full |
| Low carb | 40 / 20 / 40 | Appetite control, lower-activity days |
| Keto | 25 / 5 / 70 | A specific low-carb approach |
Worked example
On a 2,000-calorie target with the balanced preset: protein = 2,000 × 0.30 ÷ 4 = 150 g; carbs = 2,000 × 0.40 ÷ 4 = 200 g; fat = 2,000 × 0.30 ÷ 9 = 67 g. Switching to keto: carbs drop to 2,000 × 0.05 ÷ 4 =25 g, fat rises to about 156 g.
Getting your calorie number
This tool starts from a calorie target rather than your body stats. Work the target out first with the calorie calculator, then bring it here to divide into macros. Track for a couple of weeks and adjust the calorie number, not the split, if your weight is not moving the way you want.
Related tools
Related guides
Frequently asked questions
What are macros?
How much protein do I need?
How much fat is the minimum?
Which split should I choose?
Do carbs and fat matter beyond calories?
Do the grams need to be exact every day?
Last reviewed: September 2026. Figures and formulas are checked against their published sources; see the site's data notes.