How to Calculate Macros for a Ketogenic Diet

The ketogenic diet shifts your body from burning carbohydrates to burning fat for fuelโ€”a metabolic state called ketosis. Getting your macronutrient ratios right is essential to achieving and maintaining ketosis consistently.

Standard Keto Macro Split

Macronutrient% of Daily Calories
Fat65โ€“75%
Protein20โ€“30%
Carbohydrates5% or less

Step-by-Step Calculation

Step 1: Calculate your TDEE (see the weight loss article for Mifflin-St Jeor formula)

Assume TDEE = 2,200 kcal/day, goal = maintain weight

Step 2: Set carbohydrate limit Most people enter ketosis at < 20โ€“50g net carbs/day. Use 5% of calories: 2,200 ร— 0.05 = 110 kcal รท 4 = 27.5g carbs (round to 25g for safety)

Step 3: Set protein (to preserve muscle) Protein at 25% of calories: 2,200 ร— 0.25 = 550 kcal รท 4 = 137.5g protein

Step 4: Fill remaining calories with fat Remaining: 2,200 โˆ’ 110 โˆ’ 550 = 1,540 kcal รท 9 = 171g fat

Final macros: 25g carbs / 138g protein / 171g fat

Net Carbs vs. Total Carbs

Net Carbs = Total Carbs โˆ’ Fiber โˆ’ Sugar Alcohols

Most keto practitioners track net carbs, not total carbs, since fiber isn't digested and doesn't raise blood sugar.

Signs You're in Ketosis

  • Reduced hunger and carb cravings
  • "Keto breath" (acetone smell)
  • Urine or blood ketone readings > 0.5 mmol/L (measurable with test strips)
  • Initial water weight loss (carbs store water; losing carbs releases it)

Common Keto Mistakes

  • Too much protein: Excess protein can convert to glucose (gluconeogenesis), preventing ketosis
  • Hidden carbs: Sauces, condiments, and some vegetables add up quickly
  • Not enough electrolytes: Reduced insulin on keto causes sodium, potassium, and magnesium excretion

Use our keto calculator to find your personalized macro targets.