Macro calculator: turn percentages into grams

Explore how a chosen energy scenario divides into carbohydrate, protein and fat. Enter your own percentages and see the arithmetic, without receiving a prescribed intake.

Atwater 4/4/9 · AMDR validated

Macro Calculator

Turn your calorie target and split percentages into exact daily grams. Grounded in the Atwater system of 4 kcal per gram of protein and carbohydrate, and 9 kcal per gram of fat — the same values used on every Nutrition Facts label.

Your setup
1 Calorie target your daily energy budget
2 Macro split percentage of calories
Protein 150 g 30%
Carbohydrate 200 g 40%
Fat 67 g 30%
Split total · must equal 100% 100%
3 Body weight for the protein per kg check
70 kg

Used to check whether your protein grams land in the evidence-backed 1.2–2.2 g/kg range. Follows the unit selected under gender.

Live conversion — no safety scores, just arithmetic.

Your macro split divides your daily calorie budget between protein, carbohydrate and fat. The conversion uses the Atwater factors — the same values used on Nutrition Facts labels: protein and carbohydrate provide 4 kcal per gram, and fat provides 9 kcal per gram. Grams are calculated as calories × percentage ÷ calories-per-gram. The Acceptable Macronutrient Distribution Ranges (AMDR) published by the Institute of Medicine place protein at 10–35% of energy, carbohydrate at 45–65%, and fat at 20–35% — the range bars above show where your split lands. Protein intake evidence, summarised in the 2018 BJSM meta-analysis on protein and resistance training, supports 1.6–2.2 g per kilogram of body weight for active adults, with 1.2 g/kg as a sedentary baseline. No single split is magic: adherence matters more than optimisation, and total calories still drive weight change. These targets are a reference, not a prescription.

How to use the calculator

Enter an energy scenario in kilocalories, then set carbohydrate, protein and fat percentages. The percentages must add up to exactly 100. Select Calculate grams. Adjusting one percentage usually means changing another to keep the same total. The initial 2,000 kcal and 50/20/30 split demonstrate the controls; they are not a recommendation for your body or goals.

The calculation

For each nutrient, multiply energy by its percentage divided by 100. Divide carbohydrate and protein energy by 4 kcal per gram, and fat energy by 9 kcal per gram. These are general energy factors used in nutrition labeling. The output rounds grams to one decimal only at display. Alcohol, fiber and specific food labeling rules can involve different factors; this simple scenario is not a food-label analysis.

A worked example

At 2,000 kcal with a 50% carbohydrate, 20% protein and 30% fat split, the arithmetic gives 250 g carbohydrate, 100 g protein and about 66.7 g fat. Changing the protein share to 25% while reducing carbohydrate to 45% gives 125 g protein and 225 g carbohydrate, with fat unchanged. The example explains a conversion, not a suggested menu.

Choosing a scenario responsibly

This tool does not determine energy needs, nutrient adequacy or a suitable diet. Percentage splits omit food quality, micronutrients, preferences and medical context. If you need an individual target, ask a qualified dietitian. Children, pregnancy, breastfeeding, eating-disorder concerns and medical nutrition therapy are outside the purpose of this calculator.

Why does the form reject my percentages?

A total above or below 100 would allocate more or less than the energy you entered. Check all three fields, including decimal values. A zero share is allowed to explore the arithmetic; it is not an endorsement of excluding a nutrient.

Sources and next steps

General calorie factors are described by the FDA Nutrition Facts guidance. For a practical food outline, use the meal planner; for the meaning of resting energy, read the calorie calculator.

Editorial information

Prepared with AI assistance for Everyday Wellness Planner. Last checked: 9 October 2026. No independent clinical review is claimed. Read our editorial policy and educational disclaimer. Calculator inputs remain in this browser tab; ordinary site logs and analytics are described in the privacy notice.

Explore related tools

Return to Nutrition tools, browse the tool directory, or build a weekly routine.

Scroll to Top