Home / Health / Macro Calculator
Macro Calculator: Protein, Fat and Carbohydrate Grams
Enter a daily calorie target, pick a goal and an eating style, and see how many grams of protein, fat and carbohydrate that target splits into, checked against the National Academies ranges.
How calories become grams
Energy in food is counted with the Atwater factors: protein and carbohydrate give about 4 kcal per gram and fat about 9 kcal per gram. If a style assigns a percentage of the calorie target to a nutrient, grams are calories × share ÷ kcal per gram. For 2,000 kcal at 20% protein that is 2,000 × 0.20 ÷ 4 = 100 g.
The three shares always add to 100%. This tool starts from fixed splits for each goal and style rather than from body weight, so it is a quick planning aid and not a personalised prescription. Alcohol (about 7 kcal per gram) is not a macronutrient column here; if you drink, it takes calories from the budget.
The National Academies ranges
The Acceptable Macronutrient Distribution Ranges (AMDR) from the US National Academies are 10-35% of energy from protein, 20-35% from fat and 45-65% from carbohydrate for adults. The balanced style stays inside all three for every goal. The higher-protein and lower-carb styles keep protein and fat in range but take carbohydrate below 45% on purpose, so they sit outside the carbohydrate range by design.
Being outside an AMDR is not automatically harmful, but the ranges describe intakes associated with meeting nutrient needs while keeping chronic disease risk low. Fibre, food quality and total calories matter at least as much as the split.
What each goal changes
- Maintain: a middle split that you can follow with ordinary foods.
- Lose weight: shifts about five percentage points from carbohydrate to protein, because protein is generally more filling per calorie. Enter a calorie target that is already below your maintenance level; the goal setting changes only the split.
- Gain: trims fat slightly and raises carbohydrate to support training and a calorie surplus.
Individual needs differ. People with kidney disease, diabetes, pregnancy, a history of disordered eating or a medical diet should follow the plan given by their clinician or dietitian instead of any generic split.
Putting the grams to use
Grams are a target for the day, not for each meal, and day-to-day variation is normal. Many people find it easier to hit the protein figure first and let fat and carbohydrate fill the rest. Food labels list grams per serving, so the totals can be tracked with a label or an app. If you hit your calories but miss the protein target, check portion sizes before changing the style.
This page is educational and does not give medical or dietetic advice.
Worked example
A person aiming at 2,200 kcal a day while losing weight chooses the higher-protein style.
Inputs
| Daily calorie target | 2200 kcal |
|---|---|
| Goal | Lose weight |
| Eating style | Higher protein |
Result
Higher protein split for 2,200 kcal a day.
| Protein | 193 g (35% of energy, 770 kcal) |
|---|---|
| Fat | 73 g (30% of energy, 660 kcal) |
| Carbohydrate | 193 g (35% of energy, 770 kcal) |
| National Academies ranges | Outside the carbohydrate range of 45-65% by design for this style |
All three styles for your goal
| Style | Protein | Fat | Carbs | P / F / C % | Inside all ranges? |
|---|---|---|---|---|---|
| Balanced | 138 g | 73 g | 248 g | 25 / 30 / 45 | Yes |
| Higher protein | 193 g | 73 g | 193 g | 35 / 30 / 35 | No |
| Lower carb | 193 g | 86 g | 165 g | 35 / 35 / 30 | No |
- Conversion used: protein 4 kcal per gram, carbohydrate 4 kcal per gram, fat 9 kcal per gram.
Medical disclaimer: This tool is for education and general planning. It is not medical advice and does not diagnose any condition. If you are pregnant, under 18, have an eating-disorder history or a medical condition, speak to a doctor or registered dietitian before changing your diet or exercise.
Frequently asked questions
What are macros?
Macros, short for macronutrients, are the three nutrients that supply energy in quantity: protein, carbohydrate and fat. Each has its own calories per gram, so a split in percentages can be converted to grams.
Which macro split is best for weight loss?
No single split is best for everyone. Total calories decide weight change, and a split that you can follow consistently while getting enough protein and fibre is the practical choice. A clinician or dietitian can personalise it.
Why is the lower-carb style outside the carbohydrate range?
Lower-carb eating by definition takes carbohydrate below the 45% lower end of the National Academies range. The tool says so openly rather than hiding it, and it keeps fat and protein inside their ranges.
How many calories are in a gram of protein, carbohydrate and fat?
Protein and carbohydrate each provide about 4 kcal per gram and fat provides about 9 kcal per gram. These are rounded Atwater values, so real foods vary slightly.
Is this suitable for children or pregnancy?
No. Children, teenagers and pregnant or breastfeeding women have different needs, and people with medical conditions or eating disorders should be guided by their care team.
Related calculators
References and sources
- Institute of Medicine (2005). Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids. National Academies Press (Acceptable Macronutrient Distribution Ranges).
- Atwater energy conversion factors for protein, carbohydrate and fat, as used in food labelling by FAO and national food agencies.