Public tool

Macro calculator

Convert chosen calories and a percentage split into grams of protein, fat and carbohydrate. The calculation runs only in this browser.

Calculation details

Positive number; a comma or period is accepted.

Whole number from 0 to 100.

Whole number from 0 to 100.

The three percentages must total 100.

Enter the details and select Calculate. Your result will appear here.

Formula and limits

Protein and carbohydrate: calories × share ÷ 4. Fat: calories × share ÷ 9. Results are rounded to 0.1 g; percentages must be whole numbers that total 100.

This calculator only translates the values you chose. It does not recommend a macro split, account for health status, or give a personal recommendation.

Frequently asked questions

Why must percentages total 100?

It makes sure the whole calorie figure is assigned across the three macronutrients.

Can calorie input include a decimal?

Yes. A comma or period is accepted for calories, while percentages remain whole numbers.

Is this a meal plan?

No. It does not create a meal plan or replace a conversation with a qualified professional.

Important

This result is for information only, does not replace medical care, and is not intended for people under 18, during pregnancy or breastfeeding, with eating disorders, health conditions, or medicines that affect weight.