Calculator Hero

Keto Calculator

Calculates your daily keto macros — net carbs, protein, and fat — based on your TDEE, activity level, and goal, with electrolyte recommendations for ketosis.

Last updated: June 11, 2026

Keto Calculator

Height unit:
ft
in
Fill in all fields to calculate your keto macros

How This Keto Macro Calculator Works

The keto calculator on this page uses the Mifflin-St Jeor formula to estimate your BMR from weight, height, age, and sex, then applies an activity factor to get TDEE and adjusts for your goal. It splits your daily calories using the standard ketogenic macro ratio: 5% from net carbs, 25% from protein, and 70% from fat — capping net carbs at 50g regardless of total calories.

Understanding Keto Macros

The keto macro split is dramatically different from standard dietary guidelines. Here is why each ratio matters:

  • 5% carbs (20–50g net carbs/day): Depletes glycogen and switches fuel to ketones. The lower limit (20g) is nearly universally effective; the upper limit (50g) works for metabolically healthy, active individuals.
  • 25% protein: Preserves lean muscle mass while in a caloric deficit. Excess protein can be converted to glucose (gluconeogenesis), disrupting ketosis — so the upper limit matters.
  • 70% fat: Provides the bulk of energy. On keto, fat becomes your primary calorie source. Focus on healthy fats: olive oil, avocado, nuts, fatty fish, and butter.
AdvertisementResponsive Ad

Keto vs. Standard Macro Calculator

The standard macro calculator uses a 30/40/30 protein/carb/fat split appropriate for most people. Keto inverts the carb/fat ratio dramatically, which changes the entire food selection strategy. On keto, foods that dominate a standard diet — bread, pasta, rice, potatoes, fruit — are largely eliminated. Instead, meats, fish, eggs, dairy, oils, non-starchy vegetables, and nuts form the foundation. If you are unsure which approach to take, try both calculators and compare the calorie targets.

The Keto Flu: What It Is and How to Prevent It

During the first 3–7 days of keto, many people experience "keto flu" — symptoms including fatigue, headache, brain fog, irritability, and muscle cramps. This is caused primarily by electrolyte losses, not by ketosis itself. The fix is aggressive electrolyte supplementation:

  • Sodium: Add salt to meals, drink broth, or use electrolyte supplements. Aim for 2,000–4,000mg/day.
  • Potassium: Leafy greens, avocado, and salmon are keto-friendly potassium sources. Target 1,000–3,500mg/day.
  • Magnesium: Almonds, pumpkin seeds, and dark chocolate (90%+ cacao). Target 300–500mg/day.
AdvertisementResponsive Ad

Keto-Friendly Foods by Macro Category

  • High fat proteins: Beef, pork, lamb, salmon, sardines, eggs, cheese, full-fat Greek yogurt
  • Pure fats: Olive oil, coconut oil, avocado oil, butter, ghee, heavy cream
  • Non-starchy vegetables: Spinach, kale, broccoli, cauliflower, zucchini, bell peppers, asparagus
  • Low-carb dairy: Hard cheeses, sour cream, cream cheese
  • Nuts and seeds: Macadamia, pecans, walnuts, chia seeds, flaxseeds
  • Avoid: Bread, pasta, rice, potatoes, most fruit, beans, and sugary drinks

Track your weight loss percentage weekly to assess whether your keto calorie targets are working for your individual metabolism.

What Happens in Your Body During Ketosis

When carbohydrate intake drops below your individual threshold (typically 20–50g net carbs), liver glycogen is depleted within 24–48 hours. The liver then shifts to producing ketone bodies — specifically beta-hydroxybutyrate (BHB), acetoacetate, and acetone — from fatty acids. The brain, heart, and muscles begin using BHB as a primary fuel source instead of glucose. Blood BHB levels above 0.5 mmol/L indicate nutritional ketosis; optimal therapeutic ketosis (used for epilepsy) is 2–5 mmol/L.

The adaptation process takes 2–6 weeks for most people. During this "fat adaptation" period, exercise performance often temporarily declines as the muscles learn to use fat as fuel more efficiently. After full adaptation, endurance performance typically returns to baseline or improves for long-duration aerobic activities.

Keto and Long-Term Health: What the Research Says

Short-term keto (under 6 months) has strong evidence for weight loss, improved insulin sensitivity, reduced triglycerides, and increased HDL cholesterol. Long-term evidence (1–2+ years) is less clear, with some studies showing benefits persist while others show the advantage over other diets narrows once calories are equalized.

Keto is most strongly supported for type 2 diabetes management — some studies show full remission in a subset of patients. It has well-established therapeutic use for drug-resistant epilepsy, where very high ketone levels reduce seizure frequency. For general weight loss without metabolic dysfunction, the macro calculator offers a more flexible dietary approach that many find easier to sustain long-term.

Sources & References

  1. Ketogenic Diet and its Metabolic EffectsDiabetes & Metabolic Syndrome: Clinical Research & Reviews
  2. Dietary Reference Intakes for MacronutrientsNational Academies of Sciences
  3. Very Low-Carbohydrate Ketogenic Diet ReviewJournal of the International Society of Sports Nutrition

Frequently Asked Questions

Related Calculators

Advertisement

320 × 50 — Mobile Anchor