The ketogenic diet dramatically restricts carbohydrates to 20–50g per day (typically 5–10% of calories), replacing them with fat (70–80% of calories) and moderate protein (20–25%). This carbohydrate restriction depletes liver glycogen within 24–48 hours, forcing the liver to produce ketone bodies (beta-hydroxybutyrate, acetoacetate, acetone) from fat as an alternative fuel source. When ketones are elevated in the blood (typically 0.5–3.0 mmol/L), you're in nutritional ketosis.
The appeal: fat provides virtually unlimited fuel even for lean individuals (body fat stores = 50,000–100,000+ kcal), eliminating the energy crashes associated with glycogen depletion. Additionally, ketosis reduces hunger hormones, potentially making calorie reduction easier.
Setting up ketogenic macros follows a specific hierarchy:
Example: 75 kg person, TDEE 2,400 kcal, keto fat loss goal (deficit 400 kcal): Carbs: 25g × 4 = 100 kcal (4%). Protein: 1.5g × 75 = 112.5g × 4 = 450 kcal (22%). Fat: (2000 − 100 − 450) / 9 = 161g fat (74%).
Verifying ketosis requires measuring ketone levels:
| Method | Ketone Measured | Accuracy | Cost |
|---|---|---|---|
| Blood ketone meter | BHB (most metabolically active) | High | $30 device + $1–2/strip |
| Urine test strips | Acetoacetate | Moderate (decreases with adaptation) | $0.10/strip |
| Breath acetone meter | Acetone | Moderate | $100–200 device, free per test |
Nutritional ketosis: blood BHB 0.5–3.0 mmol/L. This range is safe and associated with keto's metabolic benefits. Above 5.0 mmol/L (diabetic ketoacidosis range) indicates a medical emergency — only occurs in type 1 diabetes without insulin, not in healthy individuals on keto diets.
The relationship between ketogenic dieting and athletic performance is complex and context-dependent:
Bottom line for competitive runners: standard carbohydrate-periodized approaches outperform keto at most race distances and intensities. Keto may have a niche for ultra-endurance events at lower intensities.
The first 1–2 weeks of ketogenic dieting often produce flu-like symptoms: headache, fatigue, brain fog, irritability, muscle cramps, and nausea. This 'keto flu' results from three mechanisms: (1) electrolyte loss from rapid glycogen/water depletion, (2) the metabolic transition from glucose to ketone utilization, and (3) potential gut microbiome disruption.
Managing keto flu:
Keto-compatible foods (high fat, low carb):
Tracking net carbs (total carbs minus fiber) rather than total carbs allows more vegetable consumption — fiber doesn't meaningfully raise blood glucose or interfere with ketosis. A 30 g net carb limit with fiber included allows consumption of significant amounts of non-starchy vegetables.
Not all ketogenic diets follow the same macronutrient split. Several variations exist, each targeting different populations and goals:
| Keto Variation | Fat % | Protein % | Carb % | Best For |
|---|---|---|---|---|
| Standard Ketogenic Diet (SKD) | 70–75% | 20–25% | 5–10% | Weight loss, general health, beginners |
| Targeted Ketogenic Diet (TKD) | 65–70% | 20–25% | 10–15% | Athletes who need carbs around workouts |
| Cyclical Ketogenic Diet (CKD) | 75% (5 days) / 25% (2 days) | 15–20% | 5% / 55% | Bodybuilders, high-intensity athletes |
| High-Protein Keto | 60–65% | 30–35% | 5% | Muscle preservation during fat loss |
| Medical/Therapeutic Keto | 85–90% | 6–8% | 2–4% | Epilepsy management (physician-supervised) |
Targeted Ketogenic Diet (TKD) allows 20–50g of fast-digesting carbs 30–60 minutes before intense exercise. This provides glycogen for high-intensity work while maintaining ketosis during the remaining 22+ hours. Studies show TKD athletes perform comparably to high-carb athletes at moderate intensities while retaining fat-adaptation benefits.
Cyclical Ketogenic Diet (CKD) alternates between 5–6 days of strict keto and 1–2 days of carbohydrate refeeding (400–600g carbs). The refeed replenishes glycogen stores for intense training, supports thyroid function (T3 levels can drop on prolonged keto), and provides psychological relief. CKD is popular among competitive athletes and bodybuilders who need periodic high-intensity performance.
For most people starting keto, the Standard Ketogenic Diet is recommended for the first 4–8 weeks to achieve full fat-adaptation before experimenting with targeted or cyclical approaches.
Use this pre-calculated reference table to quickly find your daily macro targets at common calorie levels using the standard 75/20/5 keto split:
| Daily Calories | Fat (g) | Protein (g) | Carbs (g) | Fat (kcal) | Protein (kcal) | Carb (kcal) |
|---|---|---|---|---|---|---|
| 1,400 kcal | 117g | 70g | 18g | 1,050 | 280 | 70 |
| 1,600 kcal | 133g | 80g | 20g | 1,200 | 320 | 80 |
| 1,800 kcal | 150g | 90g | 23g | 1,350 | 360 | 90 |
| 2,000 kcal | 167g | 100g | 25g | 1,500 | 400 | 100 |
| 2,200 kcal | 183g | 110g | 28g | 1,650 | 440 | 110 |
| 2,500 kcal | 208g | 125g | 31g | 1,875 | 500 | 125 |
| 2,800 kcal | 233g | 140g | 35g | 2,100 | 560 | 140 |
| 3,000 kcal | 250g | 150g | 38g | 2,250 | 600 | 150 |
These values assume the standard 75% fat / 20% protein / 5% carb split. Adjust protein upward (to 25–30%) if you are strength training or trying to preserve lean mass during a caloric deficit. When increasing protein percentage, reduce fat percentage proportionally — carbs should remain at 5–10% regardless of other adjustments.
Protein calculation by body weight: A more precise method than percentage-based macros is calculating protein from lean body mass. The NIH-recommended range for ketogenic dieters is 1.2–2.0g protein per kg of lean body mass (total weight minus fat mass). For a 75 kg person at 20% body fat: lean mass = 60 kg, protein target = 72–120g/day. This approach prevents excessive protein intake in heavier individuals while ensuring adequate intake for lighter ones.
The ketogenic diet's restriction of fruits, whole grains, and legumes can create micronutrient gaps if not addressed through careful food selection or supplementation. Key nutrients to monitor:
| Nutrient | Risk on Keto | RDA | Best Keto Sources |
|---|---|---|---|
| Magnesium | High — grains/legumes restricted | 400–420mg (M) / 310–320mg (F) | Spinach, pumpkin seeds, dark chocolate, avocado |
| Potassium | High — fruits/potatoes restricted | 2,600–3,400mg | Avocado, salmon, spinach, mushrooms |
| Fiber | Very high — grains/legumes eliminated | 25–38g | Flaxseed, chia seeds, leafy greens, cauliflower |
| Vitamin C | Moderate — fruit restricted | 75–90mg | Bell peppers, broccoli, Brussels sprouts |
| Calcium | Low-moderate — dairy allowed | 1,000mg | Cheese, sardines, almonds, kale |
The WHO recommends at least 25g of dietary fiber daily for digestive health and microbiome diversity. Many keto practitioners consume fewer than 10g — which long-term research associates with reduced gut microbial diversity, increased constipation, and potentially elevated colorectal cancer risk. Prioritize high-fiber keto vegetables (broccoli, cauliflower, leafy greens) and supplement with psyllium husk or ground flaxseed (both virtually zero net carbs) to reach adequate fiber intake while maintaining ketosis.
Sodium and hydration: The diuretic nature of ketosis means sodium requirements increase significantly compared to standard diets. The American Heart Association's 2,300mg sodium limit is designed for high-carb diets where insulin promotes sodium retention. On keto, sodium excretion increases dramatically — most keto-adapted individuals need 3,000–5,000mg of sodium daily to maintain proper electrolyte balance, blood pressure, and exercise performance. Symptoms of inadequate sodium on keto include headaches, dizziness, fatigue, and muscle cramps — often mistakenly attributed to "keto flu" when they persist beyond the initial adaptation period.
To turn the calculator output into a working meal plan, follow these keto-specific rules:
This calculator is an educational tool, not medical advice. The ketogenic diet is a significant metabolic intervention and is not appropriate for everyone. Consult a physician or registered dietitian before starting keto if any of the following apply:
The American Diabetes Association recognises low-carb and very-low-carb eating patterns as options for type 2 diabetes management, but specifies that medication adjustment, particularly of sulfonylureas and insulin, must be done with a clinician to avoid hypoglycemia. The WHO recommends that total saturated fat intake remain below 10% of total energy for cardiovascular risk reduction (WHO — Guidelines on Fats and Carbohydrates); if you follow keto long-term, prioritise mono- and poly-unsaturated fats (olive oil, avocado, nuts, fatty fish) over saturated fat sources.
20–50g total carbs per day (or 20–30g net carbs for most people). Individual variation exists — some people achieve ketosis at 50g, others need to go under 20g. The reliable way to know: test your blood ketones after 3–4 days of a specific carb level.
Light ketosis begins within 24–48 hours of cutting carbs below 50g, once liver glycogen is depleted. Measurable blood ketones (0.5+ mmol/L) typically appear within 2–3 days. Full fat-adaptation (efficient use of ketones for brain and muscle function) takes 3–6 weeks of sustained ketosis.
For easy/recreational running, keto can work adequately after full adaptation. For competitive runners targeting fast race times at any distance from 5K to marathon, high-carb approaches outperform keto due to the critical role of glycogen at race intensities. Ultra runners at very slow paces may find keto viable.
A single high-carb meal kicks you out of ketosis temporarily. Blood glucose rises, insulin spikes, and ketone production stops. Return to ketosis typically takes 1–2 days after resuming low-carb eating. Glycogen stores don't fully reload from one cheat meal — it takes multiple high-carb days to fully replenish glycogen.
Current evidence suggests keto is safe for most healthy adults long-term, though studies beyond 2 years are limited. Potential concerns for athletes: bone density (some studies show decreased BMD), reduced fiber intake if vegetables aren't prioritized, and potential performance impairment at high intensities. Regular blood work monitoring is recommended for long-term keto practitioners.
Every 4–6 weeks, or after a body-weight change of ≥3 kg, or when your training volume changes meaningfully. On keto, a drop in body mass produces a drop in TDEE (fewer calories burned at lower weight), so static macros stall progress. Also recalculate if you change the split — for example, moving from a Standard (75/20/5) to a High-Protein (60/35/5) approach to preserve muscle during a longer fat-loss phase.
The calculator applies standard ketogenic ratios to your calorie input. Real-world variation of 10–20% is normal because carb tolerance, insulin sensitivity, muscle mass, and activity differ widely between individuals. Treat the output as a starting point: verify ketosis with a blood meter (BHB 0.5–3.0 mmol/L) and adjust carbs down or fat up if you are not producing ketones after 10–14 days.
Yes — monitor both. The WHO recommends saturated fat stay below 10% of total energy. A subset of keto dieters, especially lean individuals, experience large rises in LDL-C. Ask your doctor for a fasting lipid panel before starting and again at 3 and 6 months. Prioritize unsaturated fats (olive oil, avocado, nuts, fatty fish) and limit processed meats and butter-heavy meals. Use our cholesterol calculator to track trends.
"Reducing free sugars to less than 10% of total energy intake is a strong WHO recommendation. Replacing saturated and trans fats with unsaturated fats reduces the risk of cardiovascular disease. Dietary patterns, not single nutrients, drive health outcomes."
"Reducing overall carbohydrate intake for adults with diabetes has demonstrated the most evidence for improving glycemia. Low-carbohydrate and very-low-carbohydrate eating plans are viable approaches; however, they require close monitoring and adjustment of glucose-lowering medications to avoid hypoglycemia."