Keto Calculator
Free Keto Calculator with medically-sourced formulas. Enter your measurements for personalized, accurate health insights.
Reviewed for accuracy by Rahul Singh, Health & Wellness Specialist
Medical disclaimer: This calculator is provided for educational and informational purposes only and does not constitute medical advice, diagnosis, or treatment. Results are general estimates and may not reflect your individual circumstances. Always consult a qualified healthcare professional before making decisions about your health.
Keto Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: BMR = 370 + (21.6 x Lean Body Mass in kg)
Worked example — Target: 2,208 kcal | Fat: 180g (73%) | Protein: 128g (23%) | Net Carbs: 20g (4%)
Formula
BMR = 370 + (21.6 x Lean Body Mass in kg)
Uses the Katch-McArdle formula which accounts for body composition. Lean Body Mass = Weight x (1 - Body Fat %). TDEE = BMR x Activity Factor. Target calories are adjusted for goals (-500 for fat loss, +300 for muscle gain). Keto macros are set as: Net Carbs = 20-50g fixed, Protein = 1.6-2.6g per kg lean mass, Fat = remaining calories divided by 9.
Worked Examples
Example 1: Keto Macros for Fat Loss
Problem:A 30-year-old male, 85 kg, 178 cm, 25% body fat, moderately active, wants to lose fat on keto with 20g net carbs.
Solution:Lean mass: 85 x (1 - 0.25) = 63.75 kg BMR (Katch-McArdle): 370 + (21.6 x 63.75) = 1,747 kcal TDEE: 1,747 x 1.55 = 2,708 kcal Fat loss target (-500): 2,208 kcal Net carbs: 20g = 80 kcal (4%) Protein (2.0g/kg lean): 63.75 x 2.0 = 128g = 512 kcal (23%) Fat (remainder): (2,208 - 80 - 512) / 9 = 180g = 1,616 kcal (73%) Weekly loss: 500 x 7 / 7,700 = 0.45 kg/week
Result:Target: 2,208 kcal | Fat: 180g (73%) | Protein: 128g (23%) | Net Carbs: 20g (4%)
Example 2: Keto Macros for Maintenance
Problem:A 35-year-old female, 65 kg, 165 cm, 28% body fat, lightly active, wants to maintain weight on keto with 25g net carbs.
Solution:Lean mass: 65 x (1 - 0.28) = 46.8 kg BMR (Katch-McArdle): 370 + (21.6 x 46.8) = 1,381 kcal TDEE: 1,381 x 1.375 = 1,899 kcal Maintenance target: 1,899 kcal Net carbs: 25g = 100 kcal (5%) Protein (2.0g/kg lean): 46.8 x 2.0 = 94g = 376 kcal (20%) Fat (remainder): (1,899 - 100 - 376) / 9 = 158g = 1,423 kcal (75%)
Result:Target: 1,899 kcal | Fat: 158g (75%) | Protein: 94g (20%) | Net Carbs: 25g (5%)
Frequently Asked Questions
What is the ketogenic diet and how does it work for fat loss?
The ketogenic diet is a high-fat, moderate-protein, very-low-carbohydrate eating approach that shifts the body from using glucose as its primary fuel to burning fat and producing ketone bodies for energy. When carbohydrate intake drops below approximately 20-50 grams per day, glycogen stores become depleted within 2-4 days, and the liver begins converting fatty acids into ketone bodies (beta-hydroxybutyrate, acetoacetate, and acetone). These ketones serve as an efficient alternative fuel for the brain, heart, and muscles. This metabolic state, called nutritional ketosis, typically produces blood ketone levels of 0.5-3.0 mmol/L. The diet promotes fat loss through several mechanisms: reduced insulin levels increase fat mobilization, ketones suppress appetite hormones, and protein intake preserves muscle mass during weight loss.
How many net carbs should you eat per day to stay in ketosis?
Most people achieve and maintain nutritional ketosis by consuming 20-50 grams of net carbohydrates per day, though individual thresholds vary based on metabolic health, activity level, and insulin sensitivity. Net carbs are calculated by subtracting fiber and sugar alcohols from total carbohydrates, since these components do not significantly raise blood glucose or insulin levels. Starting at 20 grams of net carbs per day is the most reliable way to enter ketosis quickly, as this level works for virtually everyone. After adapting (typically 2-4 weeks), some people can gradually increase to 30-50 grams while maintaining ketosis, particularly if they are physically active. Athletes and highly active individuals may tolerate up to 50-75 grams due to increased glucose utilization during intense exercise. Testing blood ketones with a meter helps determine your personal carb threshold.
What is the keto flu and how can you prevent or minimize it?
The keto flu refers to a collection of symptoms that commonly occur during the first 1-2 weeks of starting a ketogenic diet as the body transitions from glucose to fat metabolism. Symptoms include headaches, fatigue, brain fog, irritability, nausea, difficulty sleeping, muscle cramps, and constipation. These symptoms primarily result from electrolyte imbalances caused by the diuretic effect of carbohydrate restriction, as lower insulin levels cause the kidneys to excrete more sodium and water. Prevention strategies include supplementing with 3,000-5,000 mg of sodium (from broth, salt, or electrolyte supplements), 3,500-4,700 mg of potassium, and 300-500 mg of magnesium daily. Staying well-hydrated (drinking at least 2.5 liters of water daily), getting adequate sleep, and reducing exercise intensity during the adaptation period also help minimize symptoms.
How much protein should you eat on keto without getting kicked out of ketosis?
A common misconception about the ketogenic diet is that excess protein will convert to glucose through gluconeogenesis and prevent ketosis. While gluconeogenesis does occur, research shows it is a demand-driven process, not a supply-driven one, meaning eating more protein does not automatically increase glucose production. The optimal protein intake on keto is 1.6-2.2 grams per kilogram of lean body mass for most people, with higher amounts (2.2-2.6 grams per kilogram) appropriate during aggressive fat loss to prevent muscle catabolism. For a person with 60 kg of lean mass, this translates to 96-156 grams of protein daily. Prioritizing protein adequacy is critical because insufficient protein leads to muscle loss, reduced metabolic rate, weakened immunity, and poor recovery from exercise. Protein also has the highest thermic effect and greatest satiety impact.
What are the best fat sources for a ketogenic diet?
Quality fat sources are the cornerstone of a well-formulated ketogenic diet and should emphasize monounsaturated and saturated fats from whole food sources. Top choices include avocados and avocado oil (rich in monounsaturated oleic acid and potassium), extra virgin olive oil (polyphenol-rich with cardiovascular benefits), coconut oil and MCT oil (medium-chain triglycerides that convert quickly to ketones), grass-fed butter and ghee (containing butyrate and fat-soluble vitamins), fatty fish like salmon and mackerel (providing omega-3 EPA and DHA), nuts and seeds like macadamia nuts, pecans, and chia seeds (low in carbs, high in healthy fats), and egg yolks (containing choline and vitamin D). Avoid highly processed seed oils like soybean, corn, and canola oils which are high in inflammatory omega-6 fatty acids.
How long does it take to become fully fat-adapted on keto?
Fat adaptation, also called keto-adaptation, is the process by which the body becomes efficient at using fat and ketones as primary fuel sources, and it takes significantly longer than simply entering ketosis. Initial ketosis can begin within 24-72 hours of carbohydrate restriction. However, full fat adaptation typically requires 4-12 weeks of consistent ketogenic eating. During this period, the body upregulates enzymes involved in beta-oxidation (fat burning), increases mitochondrial density in muscle cells, and improves ketone transport and utilization in the brain and muscles. Signs of fat adaptation include sustained energy without carbohydrate cravings, improved mental clarity, stable mood throughout the day, ability to exercise without carbohydrate fueling, comfortable intermittent fasting, and reduced hunger between meals. Breaking ketosis frequently during this adaptation period resets the process.
Can you exercise effectively on a ketogenic diet?
Exercise performance on keto depends heavily on the type and intensity of activity. For low-to-moderate intensity endurance exercise (walking, cycling below 65 percent max heart rate, yoga), fat-adapted individuals often perform as well or better than on high-carb diets because they have virtually unlimited fat fuel stores. For high-intensity anaerobic activities (sprinting, heavy weightlifting, CrossFit), performance may decrease initially because these activities rely heavily on glucose and glycogen. However, after 4-8 weeks of adaptation, most people recover significant performance. Strategies to optimize exercise on keto include the targeted ketogenic diet (consuming 15-30 grams of fast-acting carbs 30 minutes before intense training), ensuring adequate sodium intake before workouts to prevent lightheadedness, and training at slightly lower intensities during the adaptation phase.
What are the potential health benefits of a ketogenic diet beyond weight loss?
Beyond weight loss, the ketogenic diet has demonstrated potential therapeutic benefits across several medical conditions supported by varying levels of evidence. The strongest evidence exists for epilepsy management, where ketogenic diets have been used since the 1920s and can reduce seizure frequency by more than 50 percent in many drug-resistant cases. Type 2 diabetes management benefits include improved insulin sensitivity, reduced fasting blood glucose, lower HbA1c levels, and decreased medication requirements. Emerging research shows potential benefits for neurological conditions including Alzheimer disease, Parkinson disease, and traumatic brain injury through improved mitochondrial function and reduced neuroinflammation. Other investigated areas include polycystic ovary syndrome (PCOS), non-alcoholic fatty liver disease, certain cancers (as adjunct therapy), and inflammatory conditions. However, more rigorous long-term clinical trials are needed for many of these applications.
What are the risks and side effects of long-term ketogenic dieting?
Long-term ketogenic dieting carries several potential risks that should be considered and monitored. Nutrient deficiencies can develop because eliminating many carbohydrate-rich foods also eliminates important sources of fiber, B vitamins, vitamin C, potassium, and magnesium. Kidney stone risk may increase due to changes in urinary pH and calcium excretion, particularly in individuals with predisposing factors. Some people experience elevated LDL cholesterol on keto, particularly the lean mass hyper-responder phenotype, though the clinical significance remains debated. Digestive issues including constipation are common due to reduced fiber intake. Social and psychological challenges include difficulty dining out, social isolation around food, and potential development of disordered eating patterns. Thyroid function may be affected in some individuals, as very low carbohydrate intake can reduce T3 conversion. Regular blood work monitoring every 3-6 months is recommended for long-term keto dieters.
How do you calculate net carbs for keto and which carbs count?
Net carbs represent the carbohydrates that significantly impact blood sugar and insulin levels, and calculating them correctly is essential for maintaining ketosis. The basic formula is: Net Carbs = Total Carbohydrates - Dietary Fiber - Sugar Alcohols (with adjustments). Dietary fiber is fully subtracted because humans lack the enzymes to digest it into glucose. Sugar alcohols require nuanced treatment: erythritol has a glycemic index of zero and is fully subtracted, while maltitol and sorbitol have moderate glycemic impacts and should only be half-subtracted. When reading nutrition labels in the United States, fiber is included in total carbohydrates, so subtraction is necessary. European labels typically show net carbs already. Whole food carb sources like vegetables (spinach, broccoli, cauliflower, zucchini), berries (in small portions), and nuts are preferred because their fiber content reduces net carb impact significantly.
References
Reviewed for accuracy by Rahul Singh, Health & Wellness Specialist · Editorial policy
Related Calculators
🧮Keto Macro Calculator
Calculate ketogenic diet macros from body stats, activity, and desired deficit or surplus.
🧮Addiction Calculator
Calculate addiction with inputs, formulas, and instant results.
🧮Alcohol Unit Calculator
Calculate alcohol unit with inputs, formulas, and instant results.
🧮AUDIT-C Calculator
Calculate audit ccalculator with inputs, formulas, and instant results.
🧮AUDIT Full Questionnaire Calculator
Calculate auditfull questionnaire with inputs, formulas, and instant results.
🧮AUDIT Score Calculator
Calculate audit score with inputs, formulas, and instant results.
🧮CAGE Questionnaire Calculator
Calculate cagequestionnaire with inputs, formulas, and instant results.
🧮Cigarette Calculator
Calculate cigarette with inputs, formulas, and instant results.