Health tool

Macro calculator

Protein · Carbs · Fat·On-device only·Reference only

Enter your daily calorie target, pick a ratio or drag the sliders, and get protein, carb and fat grams per day — plus a per-meal split.

Calories and ratio

Preset ratios (P/C/F)
30%
40%
30%

How to use

  1. Enter your daily calorie target — or come over from the BMI/TDEE tool and the field arrives pre-filled.
  2. Pick a preset ratio or drag the three sliders — they are linked so protein, carbs and fat always add up to 100%.
  3. Read the grams and calories for each macro, check the donut chart, and choose meals per day for a per-meal split.
  4. Copy the result, download a PNG card, or save the setup as a record on this device.

Example

At 2,000 kcal on the balanced 30/40/30 split, protein is 2000 × 30% ÷ 4 = 150 g, carbohydrate 2000 × 40% ÷ 4 = 200 g, and fat 2000 × 30% ÷ 9 ≈ 67 g. Across 3 meals that is about 50 g protein, 67 g carbs and 22 g fat each.

Method and sources

Method / source
Grams use the standard energy factors — protein and carbohydrate about 4 kcal/g, fat about 9 kcal/g; preset ratios sit inside or near the adult Acceptable Macronutrient Distribution Ranges (protein 10–35%, carbohydrate 45–65%, fat 20–35%).
Who it suits
Adults who already have a daily calorie target and want it as protein/carb/fat grams.
Who it does not suit
Minors, pregnancy or breastfeeding, medicated diabetes, kidney or liver disease, and eating disorders — all cases for a doctor or registered dietitian.
Limitations
A general-purpose conversion, not a diet prescription; individual needs vary widely and records stay in this browser.
Explanation updated
Explanation updated: 2026-11-23 (not clinically reviewed)

Frequently asked questions

How are the gram amounts calculated?

With the standard energy factors: protein and carbohydrate about 4 kcal per gram, fat about 9 kcal. Daily calories × percentage ÷ factor gives each macro's grams per day.

Which ratio should I choose?

There is no single right answer. The Acceptable Macronutrient Distribution Ranges for adults are protein 10–35%, carbohydrate 45–65%, fat 20–35% of energy; the presets sit in or near those ranges — start with one, then adjust to taste.

Why not base protein on body weight?

Grams-per-kilogram is a common sports-nutrition convention; this tool works from calorie share because it is more intuitive. If you have a g/kg protein target, nudge the sliders until the gram figure matches.

Can I carry calories over from the BMI/TDEE tool?

Yes. After calculating TDEE there, follow the “split these calories into macros” link in the results — it pre-fills the calorie field. You can also type any target directly.

Where are saved records stored?

Only in this device's browser storage — nothing is uploaded. Clearing browser data deletes them; keep any exported PNG or copied text safe yourself.

Is this a diet prescription?

No. The figures are a general-purpose conversion against published reference ranges, not individualized nutrition therapy. Minors, pregnancy, medicated diabetes, kidney or liver disease, and eating disorders all call for a doctor or registered dietitian.