Ekuation

diet

Ketogenic Diet Macro Calculator

Calculate your optimal keto macros for ketosis and fat adaptation.

Back to Macro Calculator

Select the calculation method that best fits your needs

years

Your typical weekly physical activity level

Your primary fitness objective.

How protein target is determined.

Calculation Tips

Click to show tips

Try an Example

Pick a scenario to see how the calculator works, then adjust the values

Muscle Building

High-protein plan for a moderately active male aiming to gain lean mass

Key values: 30yo male · 80 kg · +15% surplus

Weight Loss

Balanced deficit plan for a lightly active female targeting steady fat loss

Key values: 28yo female · 65 kg · -25% deficit

Keto Diet

Very low carb, high fat plan for metabolic adaptation

Key values: 35yo male · 90 kg · Ketogenic

Documentation

What Is Ketosis?

When carbohydrate intake drops below approximately 20–50 grams per day, the body depletes its glycogen stores and shifts to burning fat as its primary fuel. The liver converts fatty acids into ketone bodies (acetoacetate, beta-hydroxybutyrate, acetone), which the brain and muscles use for energy.

Fatty acidsliverKetone bodiesbloodBrain + Muscles\text{Fatty acids} \xrightarrow{\text{liver}} \text{Ketone bodies} \xrightarrow{\text{blood}} \text{Brain + Muscles}

Standard Keto Macro Ratios

Macro% of caloriesGrams (on 2,000 cal)Cal per gram
Fat70–75%156–167 g9
Protein20–25%100–125 g4
Carbohydrates5–10%25–50 g4

The carb limit is the defining constraint. Everything else adjusts around it.


Calculating Your Keto Macros

  1. Set carbs: 20–50 g/day (start at 20 for reliable ketosis).
  2. Set protein: 1.21.7 g/kg1.2\text{–}1.7 \text{ g/kg} of lean body mass.
  3. Fill the rest with fat:
Fat (g)=Target cal(4×protein g)(4×carb g)9\text{Fat (g)} = \frac{\text{Target cal} - (4 \times \text{protein g}) - (4 \times \text{carb g})}{9}

Example: 1,800 cal target, 120 g protein, 25 g carbs:

Fat=18004801009=12209136 g\text{Fat} = \frac{1800 - 480 - 100}{9} = \frac{1220}{9} \approx 136 \text{ g}

Net Carbs vs. Total Carbs

Fiber and certain sugar alcohols are not digested and don't raise blood sugar significantly. Many keto practitioners count net carbs:

Net carbs=Total carbsFiberSugar alcohols\text{Net carbs} = \text{Total carbs} - \text{Fiber} - \text{Sugar alcohols}

Caution: Not all sugar alcohols are equal. Erythritol has virtually zero glycemic impact and can be fully subtracted. Maltitol has a substantial glycemic impact and should be only partially subtracted.


Keto Adaptation Timeline

PhaseDurationWhat happens
Glycogen depletion1–3 daysBody burns stored glycogen; water weight drops
Keto flu3–7 daysFatigue, headaches as metabolism shifts; electrolyte loss
Early ketosis1–2 weeksKetone production ramps up; energy stabilizes
Fat-adapted3–6 weeksEfficient fat/ketone burning; sustained energy, reduced cravings

Performance (especially high-intensity exercise) may dip during the first 2–4 weeks before adaptation restores it. Endurance exercise often recovers fully; peak power may remain slightly reduced.


Frequently Asked Questions

How many carbs can I eat on keto?

Most people enter ketosis at 20 to 50 grams of net carbs per day. Starting at 20 grams provides the most reliable entry into ketosis. Net carbs are total carbs minus fiber and non-digestible sugar alcohols.

What is ketosis?

Ketosis is a metabolic state where the body shifts from burning glucose to burning fat as its primary fuel. The liver converts fatty acids into ketone bodies, which the brain and muscles use for energy when carbohydrate intake is very low.

How long does it take to get into ketosis?

Glycogen depletion takes 1 to 3 days, followed by the “keto flu” phase (fatigue, headaches) lasting 3 to 7 days. Early ketosis begins at 1 to 2 weeks, and full fat adaptation takes 3 to 6 weeks with sustained energy and reduced cravings.

What is the difference between net carbs and total carbs?

Net carbs equal total carbs minus fiber and certain sugar alcohols. Fiber is not digested and does not raise blood sugar. However, not all sugar alcohols are equal. Erythritol can be fully subtracted, but maltitol has substantial glycemic impact and should only be partially subtracted.

How do I calculate my fat intake on keto?

Set carbs first (20-50 g), then protein (1.21.71.2\text{--}1.7 g/kg lean body mass), then fill the remaining calories with fat. The formula is: fat (g)=target cal4×protein (g)4×carb (g)9\text{fat (g)} = \frac{\text{target cal} - 4 \times \text{protein (g)} - 4 \times \text{carb (g)}}{9}.

Related diet Variants

Explore more diet options

More Health & Fitness Calculators

Explore the category

Calculator Search

Search and find calculators