Protein/carb/fat split from total calories. Free online Macro Calculator. Calculate macro online — fast, accurate, mobile-friendly, no signup needed.
Protein (g)
165
Carbs (g)
220
Fat (g)
73.333333
Derivation
├── 01Givencals = 2200, p = 30, c = 40, f = 30
├── 02FormulaProtein (g): e.cals × e.p / 100 / 4
├── 03Substitutee.2200 × e.30 / 100 / 4
├── 04Compute Protein (g)165
├── 05FormulaCarbs (g): e.cals × e.c / 100 / 4
├── 06Substitutee.2200 × e.40 / 100 / 4
├── 07Compute Carbs (g)220
├── 08FormulaFat (g): e.cals × e.f / 100 / 9
├── 09Substitutee.2200 × e.30 / 100 / 9
└── 10Compute Fat (g)73.333333
Did you know?
Every calculator here runs 100% in your browser — nothing is sent to a server or stored in a database.
§01What is
Understanding the Macro Calculator
The Macro Calculator computes Protein (g) from 4 inputs: calories, protein %, carb %, fat %. Protein/carb/fat split from total calories.
Health metrics give us objective checkpoints against a body that can feel unreliable. Used alongside professional guidance — not in place of it — these numbers help you track progress and spot trends that matter.
The Macro Calculator sits in that toolkit — it protein/carb/fat split from total calories. Enter your numbers above and the result updates instantly; every step of the math is shown in the Derivation panel so you can see exactly how the answer was reached.
Apply the formula to a realistic set of inputs: Calories = 2200, Protein % = 30, Carb % = 40, Fat % = 30.
01Start by noting the input — Calories: 2200.
02Start by noting the input — Protein %: 30.
03Start by noting the input — Carb %: 40.
04Start by noting the input — Fat %: 30.
05Substitute these values into the formula: Protein (g) = e.cals × e.p / 100 / 4 | Carbs (g) = e.cals × e.c / 100 / 4 | Fat (g) = e.cals × e.f / 100 / 9
06Compute Protein (g): the calculator returns 165.
07Compute Carbs (g): the calculator returns 220.
08Compute Fat (g): the calculator returns 73.3333.
09Cross-check the answer by opening the Derivation panel above — every line of math is shown so you can follow the computation end-to-end.
§04Variants
Common Macro Problems
The formula gets rearranged depending on which variable you need. Here are the patterns you’ll run into in the real world — find the one that matches your problem and follow the worked steps.
01 · PATTERN
Calories halved
cals = 1100 (from 2200)
Keep every other input at its default and halve the calories. See how protein (g) responds.
01New Calories: 1100
02Baseline Protein (g): 165
03New Protein (g): 82.5
04Protein (g) decreases by 50% → use this sensitivity to plan for real-world variation.
02 · PATTERN
Calories doubled
cals = 4400 (from 2200)
Keep every other input at its default and double the calories. See how protein (g) responds.
01New Calories: 4400
02Baseline Protein (g): 165
03New Protein (g): 330
04Protein (g) increases by 100% → use this sensitivity to plan for real-world variation.
03 · PATTERN
Protein % halved
p = 15 (from 30)
Keep every other input at its default and halve the protein %. See how protein (g) responds.
01New Protein %: 15
02Baseline Protein (g): 165
03New Protein (g): 82.5
04Protein (g) decreases by 50% → use this sensitivity to plan for real-world variation.
04 · PATTERN
Protein % doubled
p = 60 (from 30)
Keep every other input at its default and double the protein %. See how protein (g) responds.
01New Protein %: 60
02Baseline Protein (g): 165
03New Protein (g): 330
04Protein (g) increases by 100% → use this sensitivity to plan for real-world variation.
§05FAQ
Frequently asked questions
Yes. The calculator implements the standard formula as documented and returns exact floating-point results. No approximations are used unless noted in the formula.
Your feedback
How useful was this calculator?
Your ratings stay in your browser — they help us learn which tools people actually rely on.