Macronutrient Calculator
Turn your daily calorie target into gram goals for carbs, protein, and fat.
kcal
Macro split
Carbohydrates
60%
Protein
24%
Fat
16%
- 1
Carbohydrate calories
2,000 × 50% = 1,00050% of daily calories allocated to carbohydrate. - 2
Carbohydrates in grams
1,000 ÷ 4 = 250Carbohydrate provides 4 kcal per gram (Atwater factor).
Formula
How this is calculated
You supply two inputs: a daily calorie target (kcal) and a macro split. The split sets what percentage of those calories should come from carbohydrate, protein, and fat — for example the balanced preset is 50% carbs, 20% protein, 30% fat. The three percentages always sum to 100%, so the calculator simply partitions your single calorie number into three energy buckets.
Each bucket of calories is then divided by that macronutrient's energy density (its Atwater factor) to convert energy back into mass in grams: carbohydrate and protein both yield about 4 kcal per gram, while fat yields about 9 kcal per gram. So grams = (calories × percent) ÷ 4 for carbs and protein, and ÷ 9 for fat.
The Atwater values are rounded population averages, and results are shown to the nearest gram. The tool assumes your calorie target is already correct — it does not estimate your needs — and it ignores alcohol, fiber adjustments, and individual metabolic variation. Use it to translate a goal, not to define one.
Examples
| Input | Result |
|---|---|
| 2,000 kcal, balanced (50/20/30) | Carbs 250 g, Protein 100 g, Fat 67 g |
About this calculator
Macronutrients — carbohydrates, protein, and fat — are the energy-providing components of food. Each gram of carbohydrate or protein supplies about 4 calories, while each gram of fat supplies about 9 calories. By choosing a percentage split and dividing your calorie target by these factors, you can translate a calorie goal into concrete daily gram targets.
Different goals favor different splits. A balanced split suits general health, low-carb plans raise fat and protein, and high-protein splits support muscle retention while dieting or building lean mass. There is no single best ratio; consistency and total calories matter most, so pick a split you can sustain and adjust protein upward if you train hard.
Frequently asked questions
Fat is more energy-dense than carbohydrate or protein, providing about 9 calories per gram versus 4, so it is divided by 9 to get grams.
It depends on your goals and preferences. Higher protein helps preserve muscle; total calories remain the main driver of weight change.
Use a TDEE or daily calorie calculator first, then feed that total here to break it into macronutrient grams.
Also known as
TG we-Calculate Editorial Team. (2026). Macronutrient Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/macro-calculator
TG we-Calculate Editorial Team. "Macronutrient Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/macro-calculator.
TG we-Calculate Editorial Team, "Macronutrient Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/macro-calculator
@misc{wecalculate_macro_calculator, title = {Macronutrient Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/macro-calculator}}, year = {2026}, note = {TG we-Calculate} }
Did this calculator help you?
