Calculate your eating window based on wake/sleep times
Intermittent fasting (IF) is a dietary pattern that cycles between periods of eating and fasting. Unlike traditional diets that focus on what you eat, IF focuses on when you eat. This guide explains how fasting works, which protocols are safest, and how this calculator helps you build a schedule that fits your life.
Intermittent fasting works by extending the period your body spends in a "fasted" state—when digestive processes have completed and stored energy (glycogen, fat) begins to be mobilized. The typical eating window for most people is 12+ hours per day, which means the body rarely enters a true fasted state. IF narrows this window, giving your digestive system extended rest.
Why it matters: When you fast for 12+ hours, insulin levels drop, glucagon rises, and your body increasingly relies on fat stores for energy. This is where metabolic benefits emerge: improved insulin sensitivity, reduced inflammation, cellular autophagy (the clearing of old/damaged cells), and potential weight loss.
Important: Intermittent fasting is not suitable for everyone. It should never be attempted by pregnant or breastfeeding women, children, people with a history of eating disorders, or those with certain medical conditions. Always consult a healthcare provider before starting any new dietary pattern.
Your body's 24-hour biological clock (circadian rhythm) regulates metabolism, hormone release, and digestion. Eating aligns with this rhythm: your digestive system is most efficient during daylight and early evening. By contrast, late-night eating fights your natural biology because your metabolism slows as bedtime approaches.
The rule: End your eating window 2–3 hours before sleep. If you sleep at 10:00 PM, stop eating by 8:00 PM. This gives your body time to digest food, stabilize blood sugar, and prepare for rest. Eating closer to bedtime can disrupt sleep quality, delay gastric emptying, and impair autophagy.
This calculator automatically respects this principle: it works backward from your sleep time to determine when your eating window should end, then applies your chosen fasting protocol to calculate when eating begins.
16:8 Leangains (Most Popular)
16 hours fasting, 8 hours eating. Example: eat from 12:00 PM to 8:00 PM, fast from 8:00 PM to 12:00 PM the next day. This is the most sustainable protocol for most people. Beginners often find this easier because it aligns with skipping breakfast, eating lunch, and an early dinner. Benefits: easier to maintain long-term, moderate caloric restriction, improved metabolic health.
18:6 (Intermediate)
18 hours fasting, 6 hours eating. Example: eat from 2:00 PM to 8:00 PM, fast from 8:00 PM to 2:00 PM the next day. More aggressive than 16:8, this protocol deepens fat mobilization and autophagy. Good for people who have adapted to 16:8 and want stronger results. May reduce hunger after adaptation (1–4 weeks).
20:4 Warrior Diet (Advanced)
20 hours fasting, 4 hours eating. Example: one large meal around 4:00 PM to 8:00 PM, then fast until the next day. This is an advanced protocol with more pronounced metabolic effects but higher adherence challenges. Not recommended for beginners. Risk: overeating during the eating window if portion control is lost.
OMAD — One Meal a Day (Most Extreme)
23 hours fasting, 1 hour eating. Typically one large meal per day. This is the most restrictive protocol and can lead to nutrient deficiencies if not planned carefully. Only for experienced fasters with medical supervision. Risks: fatigue, muscle loss if protein intake is insufficient, hormonal disruption.
14:10 (Beginner-Friendly)
14 hours fasting, 10 hours eating. Example: eat from 8:00 AM to 6:00 PM. This is the gentlest protocol and often recommended for women, older adults, or those new to fasting. Aligns well with traditional meal schedules and causes minimal lifestyle disruption. Benefits: sustainable, helps establish a routine, lower barrier to entry.
Autophagy is the process by which cells break down and recycle old, damaged, or dysfunctional components. Think of it as cellular housekeeping. This process is activated during extended fasting periods (typically 14+ hours) and is believed to offer several health benefits:
However, autophagy is still an active area of research. While animal studies show clear benefits, human research is more limited. Do not expect autophagy alone to solve health problems; it works best as part of a broader healthy lifestyle (good nutrition, exercise, sleep, stress management).
Intermittent fasting defines when you eat, not what you eat. To maximize benefits, prioritize nutrient-dense whole foods during your eating window:
Avoid: Ultra-processed foods, sugary drinks, and refined carbohydrates break your fast prematurely (spiking insulin) and negate fasting benefits. Breaking a fast with whole foods prevents blood sugar crashes and digestive stress.
Allowed during fasting: Water, black coffee, unsweetened tea, sparkling water, salt. These contain negligible calories and do not trigger insulin spikes.
Not allowed: Anything with calories, added sugars, or artificial sweeteners. This includes diet soda, sugar-free gum, milk, juice, and protein powder. Even a small amount can technically "break" a fast by triggering minor insulin response and autophagy interruption.
Gray zone: Black coffee with a tiny splash of milk is often tolerated by experienced fasters, as the caloric/insulin impact is negligible. Experiment after you establish a routine.
Hunger (especially days 1–5): Normal. Thirst signals are often mistaken for hunger. Drink water, black coffee, or tea. Hunger typically diminishes after 3–4 days as your body adapts.
Fatigue or brain fog: Often temporary (adaptation phase). Ensure adequate sleep, electrolytes (sodium, potassium, magnesium), and nutrient density in meals. If it persists beyond 2 weeks, consider a gentler protocol (14:10 or 16:8).
Irritability: Common as your body adjusts to new fuel sources. Manage stress, maintain social support, and remember this typically passes.
Headaches: Often linked to dehydration or electrolyte imbalance. Drink more water and consider a pinch of salt in your water.
Workout performance dips: Temporary. If you exercise, eat within 1–2 hours post-workout and time your fasting window to avoid training during deep fasting phases.
When to stop: If you experience severe dizziness, chest pain, persistent fatigue beyond 2 weeks, or irregular heartbeat, break your fast and consult a healthcare provider.
If you have any chronic health condition or take regular medication, consult your doctor before starting intermittent fasting.
Week 1: Use the calculator with a 14:10 protocol. Example: 8:00 AM to 6:00 PM eating window. Observe how you feel. No strict adherence needed—get your body used to the timing.
Week 2–3: Move to 16:8 (12:00 PM to 8:00 PM). You're skipping breakfast, which many people find easy. Stay consistent; your body adapts faster with predictable timing.
Week 4+: If 16:8 feels sustainable, maintain it for at least 8–12 weeks before considering more aggressive protocols. Track how you feel: energy, sleep quality, digestion, mood, workout performance.
Progression: Only move to 18:6 or 20:4 after you've mastered 16:8 for 8+ weeks and your hunger signals have normalized.
Q: Will I lose muscle?
A: Not if you prioritize protein during eating windows and maintain strength training. Muscle is spared during fasting if caloric intake remains adequate and workouts continue.
Q: Can I exercise while fasting?
A: Yes, light activity is fine (walking, yoga). For strength training, eat 1–2 hours before or after workouts. High-intensity exercise requires fuel.
Q: How quickly will I see results?
A: Weight loss (if any) begins within 1–2 weeks. Energy/mental clarity improvements: 3–4 weeks. Metabolic and health biomarker changes: 8–12 weeks. Results vary greatly by individual.
Q: Is intermittent fasting safe long-term?
A: For healthy adults with no medical contraindications, IF has shown safety in studies up to 2+ years. Long-term safety for some groups (post-menopausal women, those with a history of amenorrhea) is less certain. Regular check-ups with your doctor are wise.
Q: What if I skip a day?
A: No problem. IF is a lifestyle, not a rigid protocol. One missed day won't erase benefits. Consistency matters more than perfection.
This calculator and guide are for informational purposes only and should not be construed as medical advice. Intermittent fasting is not appropriate for everyone, and individual results vary widely. Before beginning any fasting protocol, consult a qualified healthcare provider, especially if you have:
Your doctor can help determine if intermittent fasting is safe for your individual situation and can monitor your health during fasting.