Keto Calculator - Ketogenic Diet Macro Calculator

Calculate your personalized keto diet macros. Get exact fat, protein, and carb targets for ketosis with meal plans and food guides.

Medically Reviewed by: Health Calculator Medical Team | Last Review: January 2026
Share:

Keto Calculator

Calculate your ketogenic diet macro targets

yrs
cm
kg
%

Sidebar Top

300x600

⚕️ Medical Disclaimer

This keto calculator is designed for educational and informational purposes only and should not be used as a substitute for professional medical advice, diagnosis, or treatment. The ketogenic diet is a significant dietary change that can affect blood sugar levels, blood pressure, cholesterol, and medication effectiveness. If you are taking medications for diabetes, hypertension, or any chronic condition, consult your healthcare provider before starting a ketogenic diet, as medication dosages may need immediate adjustment. The ketogenic diet is not recommended for people with certain metabolic disorders, liver disease, pancreatitis, or gallbladder disease without medical supervision. Pregnant and breastfeeding women should not follow a strict ketogenic diet without guidance from their obstetrician or midwife. If you experience severe symptoms such as persistent vomiting, chest pain, extreme fatigue, or confusion while on a ketogenic diet, seek medical attention immediately. Never discontinue prescribed medications based on dietary changes without consulting your healthcare provider. This calculator provides estimates only and individual nutritional needs may vary significantly.

What is it?

The ketogenic (keto) diet is a high-fat, moderate-protein, very-low-carbohydrate eating plan that shifts your body's primary fuel source from glucose to fat. By drastically reducing carbohydrate intake to typically 20-50 grams per day, your body enters a metabolic state called ketosis, where it produces ketone bodies from fat stores to fuel the brain and body. Originally developed in the 1920s as a treatment for epilepsy, the ketogenic diet has gained enormous popularity for weight loss, blood sugar management, and cognitive performance. The standard ketogenic diet (SKD) follows a macronutrient ratio of approximately 70% fat, 25% protein, and 5% carbohydrates. This keto calculator determines your personalized macronutrient targets based on your body composition, activity level, and goals, whether you want to lose weight, maintain your physique, or build muscle while staying in ketosis.

Formula Details

The keto calculator employs multiple formulas working together. The Mifflin-St Jeor equation (1990) is used for BMR calculation as it has been validated as the most accurate formula for modern populations. BMR represents the calories your body burns at complete rest. The activity multiplier adjusts for daily movement: Sedentary (1.2), Lightly Active (1.375), Moderately Active (1.55), Active (1.725), Very Active (1.9). Macronutrient distribution follows evidence-based keto ratios: each gram of fat provides 9 calories, while protein and carbohydrates each provide 4 calories. For a 2,000 calorie diet on standard keto: Fat = 2000 x 0.70 / 9 = 156g, Protein = 2000 x 0.25 / 4 = 125g, Net Carbs = 2000 x 0.05 / 4 = 25g. Body fat estimation (when not provided) uses: Men BF% = 1.20 x BMI + 0.23 x Age - 16.2, Women BF% = 1.20 x BMI + 0.23 x Age - 5.4. Water intake is calculated at 40ml per kg of body weight, higher than the standard 30-35ml recommendation because the keto diet has a diuretic effect that increases water and electrolyte loss.

How to Calculate

This keto calculator uses the Mifflin-St Jeor equation to determine your Basal Metabolic Rate (BMR), then multiplies it by an activity factor to estimate your Total Daily Energy Expenditure (TDEE). For men: BMR = 10 x weight(kg) + 6.25 x height(cm) - 5 x age + 5. For women: BMR = 10 x weight(kg) + 6.25 x height(cm) - 5 x age - 161. Your TDEE is then adjusted based on your goal (20% deficit for weight loss, maintenance for weight maintenance, or 10% surplus for muscle gain). The calculator then distributes your target calories across three macronutrients using keto-specific ratios. For Standard Keto (SKD): 70% fat, 25% protein, 5% carbs. For Targeted Keto (TKD): 65% fat, 25% protein, 10% carbs. For Cyclical Keto (CKD): alternating between strict keto days and higher-carb refeed days. If you provide your body fat percentage, the calculator uses it directly; otherwise, it estimates body fat using a BMI-based formula to calculate lean body mass.

Categories

BMI RangeCategory
5-10%
Net Carbs / Day
20-25%
Protein
65-75%
Fat

Interpretation

Your keto macro results show three different ketogenic diet approaches tailored to your body and goals. The Standard Ketogenic Diet (SKD) is recommended for most people, especially beginners and those focused on weight loss. It provides the most consistent ketosis with the lowest carbohydrate intake. The Targeted Ketogenic Diet (TKD) is best for active individuals who exercise regularly and need extra carbohydrates around workout times to fuel performance without disrupting ketosis. The Cyclical Ketogenic Diet (CKD) alternates between strict keto days and higher-carb refeed days, suitable for advanced athletes and bodybuilders who need periodic glycogen replenishment. Your daily calorie target is based on your TDEE adjusted for your goal. The water intake recommendation is higher than normal because ketosis increases fluid loss. Monitor how you feel and adjust macros gradually, keeping net carbs below 50g daily to maintain ketosis.

Limitations

The keto calculator provides estimates based on population-level formulas and may not perfectly match individual metabolic rates. Several factors can affect accuracy: the Mifflin-St Jeor equation has a margin of error of approximately 10% compared to measured BMR. Activity level multipliers are approximations and individual energy expenditure varies significantly. Body fat percentage estimation from BMI is less accurate than direct measurement methods like DEXA scans. The calculator does not account for metabolic adaptation that occurs during prolonged caloric restriction. Individual carbohydrate tolerance for achieving ketosis varies, some people may need as few as 15g net carbs while others can stay in ketosis at 50g. Protein requirements depend on individual factors including muscle mass, training intensity, and recovery needs. Medical conditions, medications (particularly diabetes medications, blood pressure drugs, and anti-seizure medications), and hormonal factors can significantly affect how your body responds to a ketogenic diet. This calculator should be used as a starting point, with adjustments made based on actual results, ketone measurements, and professional guidance.

Health Risks

While the ketogenic diet has demonstrated benefits for weight loss, blood sugar control, and certain neurological conditions, it is not without risks. Short-term side effects include the "keto flu" (headache, fatigue, nausea, brain fog) during the adaptation period, typically lasting 1-2 weeks. Dehydration and electrolyte imbalances are common if fluid and mineral intake is not carefully managed. Constipation may occur due to reduced fiber intake. Long-term concerns include potential nutrient deficiencies (vitamins C, K, folate, and certain minerals), elevated LDL cholesterol in some individuals (though HDL and triglycerides often improve), kidney stones from increased protein metabolism and calcium excretion, and possible negative effects on gut microbiome diversity. The keto diet is contraindicated for people with pancreatitis, liver failure, fat metabolism disorders, primary carnitine deficiency, porphyria, and pyruvate kinase deficiency. Pregnant and breastfeeding women, children, and those with eating disorder history should avoid strict keto without medical supervision. People with type 1 diabetes risk diabetic ketoacidosis (DKA) on very low-carb diets and must work closely with their endocrinologist.

Alternative Body Composition Measures

Several methods can help you track your ketosis status beyond macro calculations. Blood ketone meters measure beta-hydroxybutyrate (BHB), the primary ketone body, and are considered the gold standard for ketosis measurement. Nutritional ketosis is generally defined as BHB levels between 0.5-3.0 mmol/L. Urine ketone strips measure acetoacetate and are inexpensive but become less accurate as your body becomes fat-adapted, since fewer ketones are excreted in urine. Breath ketone meters measure acetone levels and offer a non-invasive alternative, though they are less precise than blood meters. The glucose-ketone index (GKI) divides blood glucose by blood ketones and provides a comprehensive metabolic picture; a GKI below 9 indicates mild ketosis, below 6 moderate, and below 3 deep ketosis. Beyond ketone measurement, body composition analysis through DEXA scans or bioelectrical impedance can track changes in fat mass and lean mass more accurately than scale weight alone, which fluctuates significantly on keto due to water balance changes.

Demographic Differences

Ketogenic diet requirements vary significantly across different populations. Women may experience different responses to keto than men, partly due to hormonal fluctuations. Some women report menstrual irregularities on very strict keto, and a slightly higher carb allowance (30-50g net carbs) may be more sustainable. During the luteal phase of the menstrual cycle, carb cravings increase naturally and slightly relaxing carb limits during this time may improve adherence without disrupting ketosis. Older adults (65+) may need higher protein intake (1.0-1.2g per pound of lean mass) to prevent muscle loss and should be monitored for kidney function. Athletes and physically active individuals generally benefit from the Targeted or Cyclical keto approaches, as very low carb intake can impair high-intensity performance. Individuals with insulin resistance or type 2 diabetes often respond exceptionally well to keto, sometimes requiring medication adjustments within days of starting. Genetic factors also play a role: some people are "hyper-responders" whose LDL cholesterol increases significantly on high-fat diets, requiring monitoring and potential dietary modifications. Cultural and regional food availability also affects keto implementation; Mediterranean-style keto emphasizing olive oil, fish, and vegetables may be more sustainable and heart-healthy than approaches relying heavily on processed meats and dairy.

Tips

  • Start with 20g net carbs per day for the first two weeks to enter ketosis quickly, then gradually find your personal carb tolerance
  • Focus on whole, unprocessed foods rather than "keto-friendly" packaged products which often contain hidden carbs and artificial ingredients
  • Track your macros carefully for the first month using an app, then you can estimate more intuitively once you learn portion sizes
  • Supplement electrolytes (sodium, potassium, magnesium) especially during the first 2-4 weeks to prevent or minimize keto flu symptoms
  • Eat adequate fiber from low-carb vegetables (25-35g daily) to support digestive health and gut microbiome
  • Measure your ketone levels with blood strips to confirm you are in nutritional ketosis (0.5-3.0 mmol/L BHB)
  • Prepare keto meals and snacks in advance to avoid making poor food choices when hungry
  • Consider intermittent fasting alongside keto for enhanced fat burning and autophagy benefits

Frequently Asked Questions

How long does it take to enter ketosis?

Most people enter ketosis within 2-7 days of restricting carbohydrates to 20-50g per day. The exact time depends on your glycogen stores, activity level, and metabolism. Factors that speed up ketosis include exercise, fasting, and consuming MCT oil or exogenous ketones. You can verify ketosis using blood, urine, or breath ketone testing devices.

Is the keto diet safe for long-term use?

Studies of up to 2 years show the keto diet is generally safe for healthy adults when followed properly with adequate nutrition. However, long-term data beyond 2 years is limited. Key concerns include nutrient deficiencies (supplement as needed), kidney stone risk (stay hydrated), and LDL cholesterol changes in some individuals. Regular blood work monitoring is recommended. People with pre-existing medical conditions should work with healthcare providers.

What is the difference between net carbs and total carbs?

Net carbs equal total carbohydrates minus fiber and sugar alcohols. On keto, you track net carbs because fiber and most sugar alcohols don't significantly impact blood sugar or insulin levels. For example, a cup of broccoli has 6g total carbs but only 2.4g net carbs (6g minus 3.6g fiber). Some sugar alcohols like maltitol do partially affect blood sugar, so be cautious with processed "keto" products.

Can I exercise on the keto diet?

Yes, but expect a temporary decrease in performance during the first 2-4 weeks of adaptation. Once fat-adapted, endurance performance often improves while high-intensity performance may remain slightly lower. For intense training, consider the Targeted Keto Diet (TKD) which adds 25-50g of fast-acting carbs around workouts. Strength training is highly recommended on keto to preserve and build muscle mass.

What should I eat if I feel the "keto flu"?

The keto flu (headache, fatigue, nausea, irritability) is primarily caused by dehydration and electrolyte imbalances. Increase sodium intake (add salt, drink bone broth), take magnesium supplements (400mg daily), eat potassium-rich keto foods (avocado, spinach), drink plenty of water, and rest. Symptoms typically resolve within 1-2 weeks. If symptoms are severe or persist beyond 2 weeks, consult a healthcare provider.

How much weight can I lose on keto?

Initial weight loss of 2-5kg in the first week is common but largely water weight from glycogen depletion. After the initial phase, sustainable fat loss is typically 0.5-1kg per week with a calorie deficit. Individual results vary based on starting weight, metabolic rate, activity level, and adherence. Focus on body composition changes rather than scale weight, as keto can simultaneously reduce fat and preserve or build muscle.

Can I drink alcohol on keto?

Some alcoholic drinks are keto-compatible in moderation. Dry wines (5-6g carbs per glass), spirits like vodka, whiskey, and tequila (0g carbs when consumed straight or with zero-carb mixers), and light beers (3-6g carbs) can fit within keto macros. However, alcohol is processed preferentially by the liver, temporarily halting fat burning. Alcohol tolerance decreases on keto, so drink less than you normally would. Avoid cocktails with sugary mixers, regular beer, and sweet wines.

References & Sources

  1. [1]Mifflin MD, St Jeor ST, et al. A new predictive equation for resting energy expenditure in healthy individuals. Am J Clin Nutr. 1990;51(2):241-247.
  2. [2]Volek JS, Phinney SD. The Art and Science of Low Carbohydrate Living. Beyond Obesity LLC. 2011.
  3. [3]Paoli A, Rubini A, Volek JS, Grimaldi KA. Beyond weight loss: a review of the therapeutic uses of very-low-carbohydrate (ketogenic) diets. Eur J Clin Nutr. 2013;67(8):789-796.
  4. [4]Gibson AA, et al. Do ketogenic diets really suppress appetite? A systematic review and meta-analysis. Obes Rev. 2015;16(1):64-76.
  5. [5]Westman EC, et al. The effect of a low-carbohydrate, ketogenic diet versus a low-glycemic index diet on glycemic control in type 2 diabetes mellitus. Nutr Metab. 2008;5:36.
  6. [6]National Lipid Association. Statement on the ketogenic diet for weight management. J Clin Lipidol. 2019.
  7. [7]Harvey CJDC, et al. The use of nutritional supplements to induce ketosis and reduce symptoms associated with keto-induction. PeerJ. 2018;6:e4488.

These references are provided for educational purposes. Always consult healthcare professionals for medical advice.