Macronutrient Ratio Calculator: Protein, Carbs & Fat

simulator beginner ~6 min
Loading simulation...
P 165g / C 220g / F 73g — 30/40/30 split

At 2,200 kcal with a 30/40/30 split: 165g protein (2.2 g/kg), 220g carbs, and 73g fat. Thermic effect burns approximately 178 kcal from digestion alone.

Formula

Protein (g) = total_calories × protein_pct / 100 / 4
Carbs (g) = total_calories × carb_pct / 100 / 4
Fat (g) = total_calories × (100 - protein_pct - carb_pct) / 100 / 9
TEF = protein_kcal × 0.25 + carb_kcal × 0.075 + fat_kcal × 0.02

The Three Macronutrients

Every calorie you consume comes from one of three macronutrients: protein (4 kcal/g), carbohydrate (4 kcal/g), or fat (9 kcal/g). Their ratio profoundly affects body composition, athletic performance, hormonal health, and satiety. Yet most calorie trackers treat a calorie as a calorie — ignoring the metabolic reality that 100 kcal of protein and 100 kcal of sugar behave very differently in your body.

Protein: The Muscle-Sparing Macro

Protein stands apart because of its dual role: it provides energy and serves as the building block for muscle tissue. Research consistently shows that 1.6–2.2 g/kg of body weight maximizes muscle protein synthesis. Protein also has the highest thermic effect — your body expends 20–30% of protein calories just digesting it. This makes high-protein diets effective for fat loss even at identical total calories.

Carbohydrates and Fat: The Energy Partners

Carbohydrates fuel high-intensity exercise by replenishing glycogen stores, while fat supports endurance activity and hormonal health. The ratio between them is flexible — low-carb and low-fat diets both work for fat loss when protein and total calories are matched. The key is finding a sustainable ratio that supports your training demands and food preferences.

Using This Simulator

Adjust the percentage sliders to see how grams of each macronutrient change. Note that fat percentage is calculated as the remainder (100% minus protein and carb percentages). Watch how the thermic effect changes — a high-protein diet can burn 150–200 extra kcal per day through digestion alone, equivalent to a 20-minute jog.

FAQ

What is the ideal macronutrient ratio?

There is no single ideal ratio — it depends on goals. For muscle gain, 30% protein / 40% carbs / 30% fat is a common starting point. For fat loss, higher protein (35–40%) helps preserve muscle. For endurance athletes, carbs may rise to 55–65%.

How many grams of protein per kilogram of body weight?

Research supports 1.6–2.2 g/kg for muscle building, 1.2–1.6 g/kg for general fitness, and up to 2.4 g/kg during aggressive fat loss to preserve lean mass. Above 2.2 g/kg shows diminishing returns in most studies.

What is the thermic effect of food?

The thermic effect of food (TEF) is the energy required for digestion. Protein has the highest TEF at 20–30% of its calories, carbohydrates at 5–10%, and fat at 0–3%. A high-protein diet effectively reduces net calorie absorption.

Can I eat too little fat?

Yes. Dietary fat is essential for hormone production (testosterone, estrogen), absorption of vitamins A, D, E, and K, and cell membrane integrity. Most guidelines recommend at least 20% of calories from fat, with a minimum around 0.5 g/kg body weight.

Sources

Embed

<iframe src="https://homo-deus.com/lab/nutrition-science/macronutrient-ratio/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub