Free · Local calculation only · No account required

Macro Calculator

Convert a chosen daily calorie amount into carbohydrate, protein and fat grams. Compare percentage splits with general adult reference ranges and view an optional meal-by-meal distribution.

Energy-distribution arithmetic — this tool does not determine your calorie needs, prescribe a diet or guarantee changes in body composition.

Use the calculator
Calories to grams See the 4 / 4 / 9 calculation
Editable percentages Three shares must total 100%
Local only Entries stay in your browser

Calculate Your Macro Distribution

General adult calculations for ages 19+.

Your input, not a recommendation. Estimate daily calories separately; seek individual advice if needed. Tool limits are not safe-intake thresholds.

Options are comparisons, not an optimal diet for everyone.

Percentage total: 100.0%.

This divides the displayed grams; it does not recommend meal frequency or nutrient timing.

This calculator script does not upload entries or save them to browser storage.

Your estimate will appear here

Enter a calorie amount and choose a split. The result shows grams, energy shares and general adult range comparisons.

Daily macro grams

Convert energy shares using 4 kcal/g for carbohydrate and protein, and 9 for fat.

Range comparison

Compare shares with established adult AMDR values, without a suitability guarantee.

Meal arithmetic

Distribute displayed daily grams into equal portions while preserving their totals.

Built and maintained by Bhavin Sheth
Last updated:

Medical disclaimer: This is an educational calorie-to-gram calculation, not a nutrition prescription or a method for deciding a safe calorie intake. Do not use it for children, pregnancy, breastfeeding, eating disorders or medically supervised nutrition. Seek individual advice from a qualified clinician or registered dietitian when health conditions or nutrition goals require it.

Percent of calories is different from grams of food

First allocate energy, then divide by the macronutrient’s general energy factor.

General energy factors used by this calculator; a food label can use more specific factors and rounding rules.
Macronutrient Calculation At 2,000 kcal with 50/20/30
Carbohydrate Energy × carbohydrate % ÷ 100 ÷ 4 1,000 kcal ÷ 4 = 250 g
Protein Energy × protein % ÷ 100 ÷ 4 400 kcal ÷ 4 = 100 g
Fat Energy × fat % ÷ 100 ÷ 9 600 kcal ÷ 9 ≈ 66.7 g
Example 1 · energy conversion

Trace a 50/20/30 split

2,000 kcal with 50% carbohydrate, 20% protein and 30% fat gives 250 g, 100 g and about 66.7 g respectively. The 2,000 kcal input is illustrative, not a recommendation for everyone.

Example 2 · same energy

Compare 45/30/25

At the same 2,000 kcal, a 45% carbohydrate, 30% protein and 25% fat split gives 225 g, 150 g and about 55.6 g. A different ratio does not prove better weight loss or muscle retention.

Example 3 · custom arithmetic

Divide a custom split

2,400 kcal with 50% carbohydrate, 25% protein and 25% fat gives 300 g, 150 g and about 66.7 g. Four portions share the displayed totals, with small rounding remainders.

Use adult ranges as context, not as a diet score

The established AMDR values are percentages of total energy for adults aged 19+.

Established adult Acceptable Macronutrient Distribution Ranges, reproduced in the National Academies’ 2024 framework review.
Macronutrient Adult AMDR Limit of interpretation
Carbohydrate 45–65% of energy Not the same as a fibre target or a percentage of food weight.
Protein 10–35% of energy A percentage comparison does not check an individual gram-based protein requirement.
Fat 20–35% of energy Does not assess saturated fat, essential fatty acids or overall food quality.

Verify the AMDR table and its framework discussion. These established ranges describe energy shares; individual nutrition needs require additional assessment.

Custom does not mean clinically approved

Custom shares must total 100%. Values outside a general adult range are flagged, but the calculation is still arithmetic. It does not establish that a restrictive pattern is appropriate or that an in-range pattern meets all nutrition needs.

Food weight is not nutrient weight

100 g of a food does not mean 100 g of protein or carbohydrate. Use the actual food’s nutrient entry or label, its serving size and its preparation state. Mixed foods can supply all three macros.

Check USDA FoodData Central for a matching food and FDA label guidance for serving-size interpretation.

Labels and 4/4/9 may not match exactly

General factors simplify energy conversion. Fibre, sugar alcohols, food-specific factors and label rounding can affect displayed calories. This calculator allocates its chosen energy among three macros; it does not add alcohol or separately calculate fibre energy.

Equal portions are bookkeeping

The portion table divides daily displayed grams and distributes tenths-of-a-gram remainders. It does not recommend how many meals to eat, when to eat them or how to manage glucose, sports performance or a medical condition.

Helpful resources

Related nutrition calculators and primary sources for checking energy factors and reference ranges.

Questions about calorie-to-macro calculations

Energy shares, rounding and individual nutrition limits.

Does this calculator choose my calorie intake?

No. It converts the daily energy amount you enter into macro grams. Estimate calories separately or use individual professional advice. The calorie input limits are product limits, not safe-intake thresholds.

How are macro grams calculated?

The calorie amount is multiplied by each energy percentage. Carbohydrate and protein energy are divided by 4 kcal per gram, and fat energy by 9 kcal per gram. These are general energy factors.

Are the preset ratios optimal for everyone?

No. They are illustrative splits for comparison. A ratio does not guarantee weight loss, muscle retention, hormone health or a suitable diet.

What does an outside-AMDR message mean?

The selected energy share is outside the established general adult reference range. It is not a diagnosis. A result inside all three ranges also does not establish calorie adequacy, protein adequacy or individual suitability.

Do percentages describe the weight of food on my plate?

No. They describe shares of the calorie amount entered. A food’s weight includes water and other components; use food-specific nutrient data or its label to find macro grams.

Why can rounded grams reconstruct slightly different calories?

Grams are displayed to one decimal place. Multiplying those rounded amounts by 4, 4 and 9 may produce a slightly different calorie total. Core calculations use unrounded values; the portion table preserves the displayed gram totals.

Is the portion table a meal-frequency recommendation?

No. It divides displayed daily grams into the number of equal portions you select. Small 0.1 gram remainders are allocated across rows. It does not prescribe meal timing or a clinical eating plan.

Are my calorie and ratio entries saved?

This calculator script processes entries in browser memory. It does not upload entries or save them to browser storage. Other website scripts and services are outside the calculator’s scope.