What this calculator does
This macro calculator is built for the moment you need a defensible number — quoting a client, comparing options, or checking someone else's math — not a generic estimate.
Macros split total calories between protein, carbs and fat.
How to use the Macro Calculator
- Enter your values in the fields on the left.
- Results update automatically.
- Use the action buttons to copy, share or print.
The formula
Grams = (cal × %) / (4 protein/carbs, 9 fat)
Worked example
2,200 kcal at 30/40/30 = 165P / 220C / 73F.
Common mistakes
- Percentages not summing to 100
- Underestimating protein needs
- Fear of dietary fat
When to use it
Use to plan macro-tracking diet.
Pro tips for the Macro Calculator
- The chart updates live — drag values up and down to build intuition for how the formula behaves.
- Change one input at a time to see which lever actually moves the answer the most.
- Round-trip check: reverse the inputs to confirm the formula matches what you'd compute by hand.
Frequently asked questions
›Protein target?
1.6–2.2 g/kg body weight.
›Low-carb?
20–30% carbs typical.
›Keto?
70/5/25 approximately.
›Track?
Weigh food for accuracy.
›Cheat meals?
Fit within weekly totals.
›Is the Macro Calculator free to use?
Yes. Every calculator on CalcPilot, including the Macro Calculator, is free with no sign-up, no watermark, and no export limit.
›Can I use this on mobile?
Yes — the macro calculator is fully responsive, and results, charts, and the share button all work on phones and tablets.
Embed this calculator
Drop the Macro Calculator into your own site or blog post. Free to use — a small “Powered by CalcPilot” link is appreciated.
<iframe src="https://calcpilot.tools/calculators/macro-calculator?embed=1" width="100%" height="720" style="border:1px solid #e5e7eb;border-radius:12px;max-width:720px;" loading="lazy" title="Macro Calculator — CalcPilot"></iframe>Related calculators
Hand-picked next steps if you found the Macro Calculator useful.