Keto Calculator

Get your personalized keto macros — daily fat, protein, and net carb targets — based on your body, activity, and goal. Includes a keto calorie deficit calculator, TDEE, and net carbs vs total carbs explainer.

🥑 Keto macros fat / protein / carbs 🔥 Carb limit for ketosis 📉 Keto deficit calculator Net carbs vs total carbs guide
Last updated: March 2026

📝 Enter Your Details

Fill in all required fields to get your personalized keto macros. Body fat % is optional but improves protein accuracy.

Please enter a valid age (15–90).
Please enter a valid height (120–220 cm).
Please enter a valid weight (35–300 kg).
If provided, protein target uses lean body mass instead of total weight.
Please enter a valid body fat % (3–65%).
Please select your activity level.
Please select your goal.
Lower carbs = more likely to stay in ketosis.

Your Keto Macros & Results

Macros update live as you fill in your details.

👈 Fill in your details to get your keto macros

Required: age, height, weight, activity level, goal.
🥑 Keto-optimized calculations

Know your exact macros — before you start keto

Keto is more than "eat less carbs." Fat must become your primary fuel source, protein needs to be carefully moderated, and carbs must stay low enough to trigger and sustain ketosis. This calculator gives you precise, personalized numbers — not generic ratios — so you actually hit ketosis and stay there.

What Is a Keto Calculator?

A keto calculator computes your personalized fat, protein, and net carb targets for a ketogenic diet. Unlike a standard macro calculator, a keto calculator accounts for the specific macro ratios needed to enter and maintain ketosis — the metabolic state where your body burns fat for fuel instead of glucose.

This calculator uses your BMR (Basal Metabolic Rate), TDEE (Total Daily Energy Expenditure), body weight, goal, and chosen keto strictness to generate a macro plan tailored to you — not a one-size-fits-all template.

How to Use This Keto Calculator

  1. Choose your unit system: Metric (kg/cm) or Imperial (lbs/ft&in).
  2. Select biological sex: Used in the Mifflin-St Jeor BMR formula (different constants for male/female).
  3. Enter age, height, and weight: All three are required for accurate BMR calculation.
  4. Body fat % (optional): If you know it, protein targets will be based on lean body mass — more accurate for keto.
  5. Select activity level: Determines your TDEE multiplier. When in doubt, choose "Lightly Active" and adjust after a week.
  6. Choose your goal: Weight loss, maintenance, or lean muscle gain adjusts your total daily calories.
  7. Set keto strictness: Strict (20g), Standard (30g), or Liberal (50g) net carbs per day. Beginners usually start with Strict or Standard.
  8. Read your results: Calorie target, fat/protein/net carb grams, BMR/TDEE, and personalized recommendations.

How the Keto Calculator Works (Formulas)

Step 1 — BMR (Mifflin-St Jeor)

Male: BMR = (10 × kg) + (6.25 × cm) − (5 × age) + 5

Female: BMR = (10 × kg) + (6.25 × cm) − (5 × age) − 161

BMR is the calories your body burns at complete rest — just to keep organs functioning. It's the foundation of every calorie calculation.

Step 2 — TDEE (Activity Multiplier)

TDEE = BMR × Activity Factor

Activity factors: Sedentary 1.2 · Light 1.375 · Moderate 1.55 · Very Active 1.725 · Extra Active 1.9

TDEE is your total daily calorie burn including all movement and exercise.

Step 3 — Calorie Target (Goal)

Aggressive loss: TDEE × 0.75 | Loss: TDEE × 0.85 | Maintenance: TDEE × 1.0 | Gain: TDEE × 1.10

Your calorie target is adjusted from TDEE based on whether you want to lose weight, maintain, or gain lean muscle.

Step 4 — Keto Macro Split

Net Carbs: Fixed at your chosen limit (20g / 30g / 50g) → Carb calories = net carbs × 4

Protein: 1.6–1.9g per kg of (lean) body weight → capped at 35% of calories

Fat: Fills remaining calories → Fat g = remaining ÷ 9

Net Carbs vs Total Carbs on Keto — Explained

One of the most important concepts on keto is understanding net carbs. Not all carbohydrates affect blood sugar and insulin the same way.

The Formula

Net Carbs = Total Carbohydrates − Dietary Fiber − Sugar Alcohols (most types)

Why Fiber Doesn't Count

Dietary fiber passes through the digestive system largely undigested. It does not significantly raise blood glucose or trigger an insulin response, so it doesn't disrupt ketosis. Most keto approaches subtract fiber from total carbs.

Sugar Alcohols — Partial Subtraction

Common sugar alcohols like erythritol and xylitol have minimal glycemic impact and are typically fully subtracted. Others like maltitol have a higher glycemic index and may only be partially subtracted. When in doubt, subtract 50% of sugar alcohol grams.

FoodTotal CarbsFiberSugar AlcoholsNet Carbs
Avocado (100g)9g7g0g2g
Almonds (30g)6g3g0g3g
Broccoli (100g)7g3g0g4g
Keto bread (1 slice)14g8g2g (erythritol)4g
Banana (medium)27g3g0g24g ⚠️

Keto Macro Reference Table

Keto TypeFatProteinNet CarbsBest For
Standard Keto (SKD)70–75%20–25%≤20–30gWeight loss, general health
Targeted Keto (TKD)65–70%20–25%+25g around workoutsActive gym-goers
Cyclical Keto (CKD)70% on keto days20–25%50–150g on carb daysAthletes, bodybuilders
High-Protein Keto60–65%30–35%≤30gMuscle preservation/gain
Liberal Keto60–65%20–25%≤50gActive individuals, maintenance

Percentages are approximate. Individual ketosis thresholds vary. Always adjust based on real-world results and how you feel.

Frequently Asked Questions — Keto Calculator

Most standard keto protocols recommend keeping net carbs under 20–50g per day. Strict keto (20g) is ideal for beginners or those focused on therapeutic ketosis. Standard (30g) works for most people, and liberal (50g) suits active individuals. The lower your carbs, the deeper and more consistent your ketosis.
A classic keto macro split is approximately 70–75% fat, 20–25% protein, and 5–10% carbohydrates. However, these are starting points — your personal ideal ratio depends on your metabolism, activity level, body composition, and goals. This calculator personalizes these ratios using your actual stats.
Net carbs = Total carbs − Dietary fiber − Sugar alcohols (most types). Fiber passes through undigested and doesn't raise blood glucose significantly. Most sugar alcohols (like erythritol) have minimal glycemic impact. On keto, you track net carbs, not total carbs, which allows you to eat more fibrous vegetables and certain keto-friendly foods.
Most people enter ketosis within 2–4 days of keeping net carbs under 20–50g per day. This depends on your current glycogen stores, metabolism, and how strictly you adhere to the carb limit. Exercising in a fasted state can speed up the process by depleting glycogen faster.
Yes. Excess protein can be converted to glucose through gluconeogenesis, which may reduce ketone production and kick you out of ketosis. This calculator keeps protein at a moderate level (1.6–1.9g per kg of body weight) — enough to preserve muscle, but not so high it disrupts ketosis. The protein cap is set at 35% of total calories.
The keto flu refers to flu-like symptoms (fatigue, headaches, brain fog, muscle cramps) in the first 1–2 weeks of keto. It's primarily caused by electrolyte depletion — when carbs drop, insulin falls, and kidneys excrete more sodium, potassium, and magnesium. Prevention: drink more water, add salt to food, eat potassium-rich keto foods (avocado, leafy greens), and consider a magnesium supplement.
Keto is not suitable for everyone. People with kidney disease, pancreatitis, gallbladder issues, or a history of disordered eating should proceed with caution or avoid keto. Those with type 1 diabetes or taking glucose-lowering medications must only attempt keto under close medical supervision due to risk of ketoacidosis. Pregnant or breastfeeding women should consult a clinician before any significant dietary change.
Lazy keto focuses only on keeping net carbs under 20–50g without tracking fat or protein. It's simpler and sustainable for many people but may not optimize results. Strict keto tracks all macros (fat, protein, carbs) to hit specific ratios, giving more control over weight loss rate and ketosis depth. This calculator helps you practice strict keto by giving you all three macro targets.