Macro calculator with grams, calories and AMDR context
Enter daily calories plus protein and fat percentages. Carbohydrate fills the remainder. HitEquals converts each share to calories and grams and graphs the complete 100% energy distribution.
Inputs used by this calculator
Macro Calculator uses the fields below. The starting values reproduce the page example; replace them with values from the same units and time period before using the result.
| Input | Starting example | Accepted value | How it is used |
|---|---|---|---|
| Daily calorie target (kcal) | 2,200 | 500 to 20000 | Supplies the daily calorie target (kcal) quantity used by the published equation or result breakdown. |
| Protein (% of calories) | 25 | 0 to 100 | Supplies the protein (% of calories) quantity used by the published equation or result breakdown. |
| Fat (% of calories) | 30 | 0 to 100 | Supplies the fat (% of calories) quantity used by the published equation or result breakdown. |
What macronutrients are
Protein, carbohydrate and fat provide most food energy. A macro split describes their percentage of total calories; it does not describe fiber, vitamins, minerals or food quality.
Calories per gram
Protein and carbohydrate use 4 kcal per gram in this calculation. Fat uses 9 kcal per gram. Multiplying total calories by a percentage gives macro calories before conversion to grams.
protein g=calories×protein%÷4carb g=calories×carb%÷4fat g=calories×fat%÷9Worked example
For 2,200 kcal at 25% protein and 30% fat, carbohydrate is 45%. Protein receives 550 kcal or 137.5 g; fat receives 660 kcal or 73.3 g; carbohydrate receives 990 kcal or 247.5 g.
AMDR reference ranges
National Academies adult AMDRs provide broad energy ranges: carbohydrate 45–65%, fat 20–35% and protein 10–35%. The calculator flags whether each entered share falls inside those general ranges.
Why carbohydrate is the remainder
Using the remainder guarantees the three shares total exactly 100%. Protein plus fat must stay below 100; otherwise no energy remains for carbohydrate.
From grams to foods
A grams target is not a menu. Food choices also affect fiber, essential fatty acids, amino acids, micronutrients, sodium and dietary pattern. Individual guidance may differ from a general AMDR.
Adult AMDR and energy conversion
| Macro | AMDR | Energy factor |
|---|---|---|
| Protein | 10–35% | 4 kcal/g |
| Carbohydrate | 45–65% | 4 kcal/g |
| Fat | 20–35% | 9 kcal/g |
Frequently asked questions
How are macro grams calculated?
Assign calories by percentage, then divide protein and carbohydrate by 4 kcal/g and fat by 9 kcal/g.
Why is carbohydrate automatic?
It receives the percentage remaining after protein and fat so the total stays at 100%.
What is AMDR?
It is the Acceptable Macronutrient Distribution Range expressed as a percentage of energy.
Does this create a meal plan?
No. It only divides a calorie target among macronutrients.
Are macro needs the same for everyone?
No. Age, health, pregnancy, training and clinical needs can change appropriate intake.
What question does this Macro Calculator answer?
Convert a calorie target and macronutrient percentages into grams of protein, carbohydrate and fat.
What to keep in mind
This calculator divides energy; it does not determine an individualized nutrient requirement or meal plan. Medical conditions, pregnancy, sport and age can change appropriate targets.
Results are rounded for display in US format, with money in dollars and cents; CSV exports keep full calculation precision. This is a calculation summary, not an official certificate.