Free tools

Macro calculator

Turn a calorie total and your chosen percentages into grams of protein, fat and carbohydrates.

English
Your starting details

Carbohydrates use the remaining percentage.

Your inputs stay on this page. They are not saved or sent to TrainAI.

Your result

Enter your details to see a result.

How it works

Protein and carbohydrates provide about 4 kcal per gram; fat provides 9. The percentages are your choices, not recommended targets. Rounded grams may not add up exactly to the calorie total.

protein / carbs: kcal × % / 100 / 4 = g
fat: kcal × % / 100 / 9 = g

Source: USDA: Food and Nutrition Information Center

These tools provide general information, not medical advice. Nutrition estimates are not intended for children, pregnancy, breastfeeding or managing a medical condition.