Understanding the macro calculator — concept and principle
A macro calculator splits a daily calorie target into grams of carbohydrate, protein and fat. Choose a ratio such as the Korean diet favourite 4:4:2, a lean-bulk 5:3:2, keto, low-fat or the Zone 40:30:30, and the calculator converts percentages into grams you can track.
How it is calculated
- Carbohydrate (g) = calories × carb % ÷ 100 ÷ 4.
- Protein (g) = calories × protein % ÷ 100 ÷ 4.
- Fat (g) = calories × fat % ÷ 100 ÷ 9.
The ratios are written carbohydrate : protein : fat and always add up to 100%.
The principle
The Atwater factors give the usable energy per gram: about 4 kcal for carbohydrate and protein and 9 kcal for fat. So once you decide what share of your calories should come from each nutrient, dividing by the energy per gram gives the weight to eat. A 20% fat share therefore needs far fewer grams than a 40% carbohydrate share. The different presets reflect goals: higher protein supports fullness and muscle retention on a diet, higher carbohydrate fuels training in a bulk, keto keeps carbohydrate very low (usually below about 50 g a day) to promote ketosis, and low-fat suits people who prefer carbohydrate-based eating.
Worked example
- Inputs: 2,200 kcal per day, split 4:4:2 (40% carbohydrate, 40% protein, 20% fat).
- Carbohydrate = 2,200 × 0.40 ÷ 4 = 220 g.
- Protein = 2,200 × 0.40 ÷ 4 = 220 g.
- Fat = 2,200 × 0.20 ÷ 9 = 48.9, shown as 49 g.
| Daily calories | Carbohydrate (g) |
|---|---|
| 550 | 55 |
| 1,100 | 110 |
| 1,650 | 165 |
| 2,200 | 220 |
| 2,750 | 275 |
| 3,300 | 330 |
| 4,400 | 440 |
How to read the result
Check protein against your body weight: 220 g is about 2.9 g/kg for 75 kg, which is high, so many people lower the protein share and raise carbohydrate. Dietary guidelines for adults suggest roughly 45–65% of energy from carbohydrate, 10–35% from protein and 20–35% from fat; diet presets intentionally step outside these ranges. The best split is the one that hits your protein and calorie targets and that you can keep up.
Common mistakes
- Picking a ratio before setting the calorie target; the calories drive the result.
- Forgetting that alcohol (7 kcal/g) is not counted in any of the three.
- Weighing cooked food against raw-food nutrition labels, or the other way round.
Frequently asked questions
What does 4:4:2 mean?
40% of calories from carbohydrate, 40% from protein and 20% from fat.
Is a percentage or a grams-per-kg target better for protein?
Grams per kg is more reliable, because a percentage of a low or high calorie target can give too little or too much.
Do I need to hit macros exactly?
Within about 5–10 g of each target is plenty for most goals.
Sources: U.S. Department of Agriculture and HHS. Dietary Guidelines for Americans, 2020–2025. · Institute of Medicine. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids (2005).