Toolkit Shelf
Find

Health Calculators

Macro Calculator

Use this macro calculator to convert a calorie target and macro split into grams of protein, carbs, and fat.

Method and assumptions documentedDeterministic methodSource note includedNo expert review claimed

Live calculator

Macro calculator

Protein165 g

Protein calories divided by 4 calories per gram.

Carbs and fat220 g carbs

73 g fat. Fat uses 9 calories per gram.

Macro split100%

Aim for 100% total when using macro percentages.

Use this as a planning estimate, not medical advice. Medical conditions, medication, pregnancy, eating disorder history, or disease-specific nutrition needs should be handled with a qualified professional.

Quick answer

Macro Calculator: what it calculates

Macro Calculator calculates macro grams from daily calories, protein percent, carb percent, and fat percent. The visible formula is Protein grams = protein calories / 4; carb grams = carb calories / 4; fat grams = fat calories / 9.

ResultMacro grams
InputsDaily calories, Protein percent, Carb percent, Fat percent
FormulaMacro gram formulas

Formula

Macro gram formulas

Protein grams = protein calories / 4; carb grams = carb calories / 4; fat grams = fat calories / 9

Protein and carbohydrates use about 4 calories per gram. Fat uses about 9 calories per gram.

How to use

Steps

  1. Enter a daily calorie target.
  2. Enter protein, carbohydrate, and fat percentages.
  3. Check that the percentages total about 100%.
  4. Use grams as a planning estimate, not medical nutrition advice.

Example

Sample calculation

Calories2,200/day
Macro split30/40/30
Protein165 g/day

Calculator use

Best for

  • Use this macro calculator to convert a calorie target and macro split into grams of protein, carbs, and fat.
  • Estimating body, hydration, protein, calorie, macro, or fitness planning numbers with assumptions visible.
  • Comparing rough scenarios before tracking trends or discussing the result with a qualified professional.
  • Keeping formula inputs visible so the number can be checked later instead of treated as a diagnosis.

Before relying on it

Check first

  • Treating a screening or planning estimate as medical, nutrition, eating-disorder, pregnancy, or disease-specific advice.
  • Ignoring age, sex, medication, body composition, training status, medical history, heat, illness, or measurement method.
  • Changing diet, hydration, or training aggressively from one calculator result without appropriate context.

Details

What to know before using the result

Calories per gram4 / 4 / 9

Protein and carbohydrates are commonly estimated at 4 calories per gram, while fat is commonly estimated at 9 calories per gram.

Percent totalAim for 100%

If macro percentages do not add to 100%, the grams will not represent the full calorie target cleanly.

Nutrition contextPlanning estimate

Macro targets can vary with health status, training, appetite, food access, and medical needs.

Benchmarks

How to read the result

Protein: 4 cal/g.

Commonly estimated at 4 calories per gram.

Carbs: 4 cal/g.

Commonly estimated at 4 calories per gram.

Fat: 9 cal/g.

Fat is more calorie-dense, so grams are lower for the same calorie share.

Calculator accuracy

Methodology and assumptions

Formula

Protein grams = protein calories / 4; carb grams = carb calories / 4; fat grams = fat calories / 9

Inputs used

Daily calories, Protein percent, Carb percent, Fat percent

Limitations

Health results are screening or planning estimates. Age, body composition, medication, medical history, pregnancy, and professional guidance can change the right interpretation.

Review record

Method and sources checked on July 12, 2026. The documented method, source timing, validity conditions, and reliance limits were checked on this date.

Method provenanceDeterministic · toolkitshelf.macro-calorie-conversion.v1
Maintained by
Toolkit Shelf
Calculation class
Deterministic
Method version
toolkitshelf.macro-calorie-conversion.v1
Source date
January 2020
Source checked
July 12, 2026
Intended audience
Adults converting a self-selected daily calorie total and protein, carbohydrate, and fat percentages into gram amounts.
Valid when
The calorie input and percentages must reflect the user's chosen plan, and the percentages should total 100%. The general energy factors do not model every nutrient-label exception.
Reliance boundary
The arithmetic does not recommend a calorie target or macro ratio and is not medical nutrition therapy, a disease-specific diet, or an assessment of food quality.
Data freshness
FDA's general 4-calorie protein, 4-calorie carbohydrate, and 9-calorie fat factors were checked on July 12, 2026. Special fibers, sugar alcohols, and other exceptions are outside this calculator.
Cite this page

Toolkit Shelf. Macro Calculator. https://toolkitshelf.com/tools/macro-calculator

FAQ

Common questions

How do I calculate macros?

Split calories into protein, carbs, and fat, then divide by calories per gram for each macro.

Should macro percentages add to 100%?

Yes. The split should generally add to 100% of calories.

Is this medical nutrition advice?

No. It is a planning estimate. Use professional guidance for medical or disease-specific nutrition needs.

When should I ask a clinician?

Ask a clinician or qualified nutrition professional when pregnancy, medication, medical history, eating disorder risk, symptoms, or disease-specific guidance matters.

Why can health formulas be misleading?

Health formulas simplify age, sex, body composition, training status, measurement method, pregnancy, and medical context into a planning estimate.

Is this medical advice?

No. Health calculators are screening or planning tools and do not diagnose, treat, or replace professional medical or nutrition guidance.