Keto Macro Calculator
Calculate your ideal keto macros. Enter your daily calories to get fat, protein, and carb targets for the ketogenic diet. Free fitness and health tool.
What is Ketosis and How Does the Ketogenic Diet Work?
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.
Ketogenic Macros: Standard Calculation
Setting up ketogenic macros follows a specific hierarchy:
- Carbohydrates: 20–50g total carbs/day (or 20–30g net carbs = total carbs − fiber). This is the non-negotiable constraint that determines whether ketosis is achieved.
- Protein: 1.2–1.7g/kg body weight. Adequate to maintain muscle mass. Excessive protein (>2.0g/kg) can be gluconeogenic (converted to glucose), potentially interfering with ketosis.
- Fat: Fill remaining calories. Fat is the metabolic lever — eat enough to feel satisfied without a calorie surplus (if weight loss is the goal).
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%).
Ketosis Testing Methods
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.
Keto and Athletic Performance: The Evidence
The relationship between ketogenic dieting and athletic performance is complex and context-dependent:
- Low-intensity endurance (less than 65% VO2max): Keto-adapted athletes can match carbohydrate-fueled performance after 3–6 weeks of adaptation. Fat oxidation capacity increases dramatically. This has led some ultra-endurance athletes to adopt keto for very long-duration events.
- Moderate-high intensity running (above 70% VO2max): Carbohydrate remains essential. Research by Burke et al. (2017) showed keto-adapted elite race walkers had significantly impaired performance at race pace intensities compared to high-carb athletes. The primary reason: fat oxidation cannot supply energy quickly enough for high-intensity effort.
- Strength training: Moderate evidence that keto impairs acute strength performance. Long-term (6+ months) adaptation may reduce this effect.
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.
'Keto Flu': Managing the Adaptation Period
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:
- Electrolytes: Sodium (3,000–5,000mg/day), potassium (3,500–4,700mg/day), magnesium (300–500mg/day). Keto diets are diuretic early on — significant electrolyte losses occur. Bone broth, salting food liberally, and electrolyte supplements help.
- Gradual carb reduction: Reducing from 200g to 50g carbs over 2 weeks (rather than cutting cold turkey) reduces keto flu severity.
- Fat adaptation time: Full keto adaptation — where the brain and muscles operate efficiently on ketones — takes 3–6 weeks, not the 3–5 days many sources claim.
Foods on a Ketogenic Diet
Keto-compatible foods (high fat, low carb):
- Proteins: All meats, fish, eggs, full-fat dairy (cheese, butter, cream)
- Fats: Avocado, olive oil, coconut oil, nuts, seeds
- Vegetables: Leafy greens, broccoli, cauliflower, zucchini, peppers (avoid high-starch vegetables)
- Avoid: Grains, legumes, fruit (except small amounts of berries), root vegetables, sugar, most dairy (milk contains lactose)
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 30g net carb limit with fiber included allows consumption of significant amounts of non-starchy vegetables.
Types of Ketogenic Diets
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.
Keto Macros Reference Table by Calorie Level
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.
Micronutrient Considerations on Keto
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.
Tips for Getting Accurate Results
For the most accurate calculations, use precise inputs. Body weight should be measured at the same time each day (morning, after using the bathroom, before eating). Height should be measured standing straight against a wall. For calculations involving body fat percentage, use consistent measurement methods — if using bioelectrical impedance scales, measure at the same hydration level each time. If tracking changes over time, compare measurements taken under identical conditions.
Remember that all calculators provide estimates based on population averages and validated formulas. Individual variation is real — genetic factors, hormonal status, training history, and gut microbiome composition all affect how your body responds to diet and exercise. Use calculator outputs as starting points and adjust based on your real-world results over 4–8 weeks.
When to Consult a Healthcare Professional
These calculators are educational tools for general health and fitness guidance. They are not medical devices and do not replace professional medical advice. Consult a healthcare professional if: your results indicate values outside healthy ranges (BMI under 17 or over 35, body fat under 5% for men or 10% for women); you're experiencing symptoms that concern you; you're pregnant, have a chronic medical condition, or take medications that affect metabolism; or you're planning significant dietary or exercise changes alongside a medical condition.
For personalized nutrition advice, a registered dietitian (RD/RDN) can provide individualized guidance based on your complete health picture. For performance optimization, a sports medicine physician or certified strength and conditioning specialist (CSCS) can assess your fitness and create appropriate programming.
Frequently Asked Questions
How many carbs can I eat on keto?
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.
How long does it take to get into ketosis?
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.
Is keto good for runners?
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.
What happens when you cheat on keto?
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.
Is keto safe long-term?
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.
How often should I recalculate?
Recalculate when your weight changes by 5+ kg, when your activity level changes significantly, or every 3–6 months to account for age-related metabolic changes. For athletes, recalculate training-related values (VDOT, training zones, VO2max estimates) after each significant race or every 6–8 weeks of structured training.
Are these calculations accurate for everyone?
All calculations use validated scientific formulas but are estimates based on population averages. Individual variation means any estimate could be off by 10–20% for a specific person. Use the results as starting points and adjust based on real-world outcomes over several weeks of monitoring.