How to use the Macro Calculator
- Enter your daily calories. If you don't know them, use the calorie calculator first.
- Choose a split, or pick Custom and enter your own percentages.
- Read the grams of each macro per day and per meal.
How it works
Each macronutrient has a fixed energy value: protein and carbohydrate have 4 calories per gram and fat has 9. The calculator takes the share of calories for each macro and divides by its calories per gram.
The US Dietary Guidelines set acceptable ranges of 45–65% of calories from carbohydrate, 10–35% from protein and 20–35% from fat. Higher-protein splits are popular for weight loss because protein keeps you fuller and helps keep muscle, and keto diets cut carbohydrate to around 5% or less.
Formula
Carbs (g) = calories × carb% ÷ 4 Protein (g) = calories × protein% ÷ 4 Fat (g) = calories × fat% ÷ 9
Example
On 2,200 calories a day with a balanced 50/20/30 split you'd eat 2,200 × 0.50 ÷ 4 = 275 g of carbs, 2,200 × 0.20 ÷ 4 = 110 g of protein and 2,200 × 0.30 ÷ 9 ≈ 73 g of fat.
Grams per day at 2,200 calories
| Split | Carbs / protein / fat | Carbs | Protein | Fat |
|---|---|---|---|---|
| Balanced | 50/20/30% | 275 g | 110 g | 73 g |
| High protein | 40/30/30% | 220 g | 165 g | 73 g |
| Low carb | 25/35/40% | 138 g | 192 g | 98 g |
| Keto | 5/25/70% | 28 g | 138 g | 171 g |
Frequently asked questions
What should my macros be?
There's no single best split. A balanced 50/20/30 fits the US guidelines. For fat loss, many people raise protein to 25–35% so they stay full and keep muscle.
How many calories are in a gram of each macro?
Protein and carbohydrate have 4 calories per gram. Fat has 9. Alcohol has 7.
Do I need to count macros to lose weight?
No. Total calories matter most for weight loss. Tracking macros helps make sure you eat enough protein while you cut.
What are keto macros?
A typical keto split is about 70–75% fat, 20–25% protein and 5% carbohydrate, usually under 50 g of carbs a day.
Last reviewed December 3, 2026. Spotted an error? Tell us.
Add this calculator to your website
Free for blogs, schools and businesses. Copy the code and paste it into your page (in WordPress, use a Custom HTML block). Please keep the credit link.