Skip to main content
ilovecalcs logoilovecalcs.

Fitness · Live

Intermittent Fasting Calculator, your perfect eating window.

Enter your wake-up time, bedtime, and preferred protocol (16:8, 18:6, 20:4, or OMAD). Get your exact eating window with a visual 24-hour clock schedule — optimized for your sleep routine.

The scienceReal-time

Settings

Your schedule

Protocol

Start eating

1:00PM

13:00

Start fasting

9:00PM

21:00

16h fasting8h eating windowProtocol 16:8

24-hour schedule

Sleep
Fasting
Eating
12a6a12p6pFASTING16hEATING 8h
12a6a12p6p12a

Your daily schedule

Sleep

11:00 PM7:00 AM

8h

Morning fast

7:00 AM1:00 PM

6h

Eating window

1:00 PM9:00 PM

8h

Evening fast

9:00 PM11:00 PM

2h

💧

Stay hydrated

Water, black coffee, and plain tea are permitted during fasting. They won't break your fast.

🔁

Ease into it

Start with 16:8 for 2–4 weeks before progressing to a stricter protocol.

🛌

Sleep counts

You're already fasting 8h overnight — build on that.

Science of fasting

How intermittent fasting works — the biology, the protocols, and what the evidence says.

Intermittent fasting has become one of the most evidence-backed dietary interventions of the past decade — not because it is metabolically magical, but because it works with the body's natural circadian architecture and makes caloric control sustainable for many people without constant counting.

The metabolic switch

Within 8–12 hours of your last meal, your liver depletes its glycogen stores. At that point, your metabolism executes what researchers call the “metabolic switch”: it shifts from glucose as the primary fuel to fat-derived ketones. This transition is measurable in the blood — beta-hydroxybutyrate levels begin rising within 10–12 hours of fasting and substantially increase after 24 hours. Ketones are not just fuel; they also act as signaling molecules that suppress inflammation, activate BDNF (brain-derived neurotrophic factor), and induce stress-resistance pathways.

Autophagy: the cellular recycling system

When nutrients are scarce, cells activate autophagy — a process in which damaged proteins, misfolded aggregates, and dysfunctional organelles are engulfed by autophagosomes and digested by lysosomes. The amino acids recovered are either recycled into new proteins or used for energy. Yoshinori Ohsumi was awarded the 2016 Nobel Prize for elucidating this mechanism. In practical terms, autophagy is the mechanism behind IF's proposed anti-aging and disease-prevention effects. It is suppressed by insulin and activated by AMPK (an energy-sensing enzyme that activates when cellular energy falls). Extended fasting protocols (18:6 and beyond) are generally thought to provide more robust autophagic stimulation than 16:8, though human in-vivo data remains limited.

The four main protocols

16:8 (Leangains protocol). Fast for 16 hours, eat within an 8-hour window. Popularized by Martin Berkhan, this protocol is the most studied and the most practical starting point. For most people, skipping breakfast and eating from noon to 8 PM satisfies the 16-hour fast without any significant disruption to social eating patterns. A 2022 randomized controlled trial in New England Journal of Medicine found 16:8 produced equivalent weight loss to caloric restriction in participants with obesity.

18:6. The 6-hour eating window begins to provide additional metabolic benefits beyond what 16:8 offers — earlier time-restricted eating research (eating between 8 AM and 2 PM, for instance) showed improvements in insulin sensitivity, blood pressure, and oxidative stress markers even without weight loss. This suggests that the circadian alignment of eating — not just the duration — matters.

20:4 (Warrior Diet). Only 4 hours of eating, based on Ori Hofmekler's 2002 book. The original protocol allowed small raw fruits and vegetables during the fast — a modification many practitioners adopt. Modern implementations typically involve one large meal with one small snack, both in the evening. Adherence is the main challenge.

OMAD (One Meal A Day). The most extreme time-restricted protocol: a single meal consumed within a 1-hour window. Claimed benefits include maximum autophagy stimulation, simplified meal planning, and significant appetite re-training effects. Risks include difficulty meeting protein targets (25–40 g per meal is typical; 160 g in one sitting requires deliberate planning), micronutrient shortfalls, and social inflexibility. OMAD is not recommended for beginners or anyone with a history of disordered eating.

Circadian alignment: timing matters

Research increasingly shows that eating earlier in the day produces better metabolic outcomes than the same calorie load consumed later. Early time-restricted eating (eTRE, eating in the morning and early afternoon) aligns with peak insulin sensitivity and cortisol rhythms. Evening eating is associated with higher postprandial glucose and insulin responses for the same meal. This is why this calculator places your eating window at least 2 hours before bedtime — eating close to sleep suppresses melatonin-driven metabolic shut-down and disrupts sleep quality.

What to drink during your fast

The practical rules for the fasting window:

  • Water — unlimited. Essential. Mild hunger during fasting is frequently thirst.
  • Black coffee — permitted. Zero-calorie; caffeine mildly enhances fat oxidation and may amplify autophagy.
  • Plain tea (green, black, herbal) — permitted. Green tea's EGCG polyphenols may augment IF benefits.
  • Electrolytes (sodium, potassium, magnesium without calories) — permitted for extended fasts.
  • Anything with calories — breaks the fast. Cream, milk, MCT oil, sugar, fruit juice: all end the fasting state regardless of quantity.

Exercise and protein timing

Protein synthesis peaks in the hours following training. If you train during your fasting window, try to break your fast within 1–2 hours of your workout with a protein-rich meal (30–50 g of leucine-sufficient protein). The “anabolic window” is not as tight as once claimed, but same-day protein distribution still matters. Aim for at least two distinct protein-containing meals within your eating window — rather than front-loading all protein in one massive serving — for optimal muscle protein synthesis signaling.