How this calculation works
Split a daily calorie target into protein, carbohydrate, and fat grams. The result is calculated locally in your browser from the visible inputs, and the method below remains available for checking.
Worked example
At 2,000 kcal with a 30/40/30 split, targets are 150 g protein, 200 g carbohydrate and about 66.7 g fat.
Assumptions and limits
- Inputs use the units shown beside each field.
- Intermediate values retain precision; displayed values are rounded for readability.
Questions people ask
How does the Macro Calculator work?
It applies this displayed method: Protein and carbohydrate provide 4 kcal/g; fat provides 9 kcal/g; entered shares must total 100%. Values stay in your browser and are not submitted to a server.
What should I check before using the Macros result?
Inputs use the units shown beside each field. Intermediate values retain precision; displayed values are rounded for readability. This is a general adult estimate, not a diagnosis or personalised medical advice. Seek a qualified clinician for health decisions.
Does this Macros calculator save my information?
No. Calculation inputs are processed on this device. Sharing creates a URL only when you choose the share action.