How to use this calculator
- Enter your own values in the labeled fields. Check the units and assumptions before comparing results. Only the fields needed for your selected calculation mode are shown.
- Your answer updates automatically. Review the calculation steps to see exactly how it was calculated.
- Copy, share, save, or download your result. Saved inputs stay on this device.
How the calculation works
Choose your own calorie target and protein and fat percentages; carbohydrate receives the remaining percentage. The tool converts that allocation into grams using general energy factors. It does not select a suitable intake, recommend a diet or account for individual medical needs. Percentages must leave a nonnegative carbohydrate share.
A worked example
At 2,000 kcal with 25% protein and 30% fat, protein is 125 g, fat about 66.67 g, and carbohydrates 225 g.
Reading your result
Use the main result together with its units and supporting figures. Display values are rounded; calculations keep their underlying precision. A change in inputs or assumptions can change the answer. Compare the step-by-step working with your intended use before relying on an estimate.
Frequently asked questions
Does it choose my calorie target?
No. Enter your own target; TDEE provides a separate rough maintenance estimate.
Why can labels differ?
Fiber, alcohol and specific labeling energy factors can change declared calories.
Sources & methodology
FDA: food labeling energy factors (21 CFR 101.9) ↗
Formula review: October 24, 2026. Read our methodology.