🏠
🏠 Home & living

Intermittent Fasting Window Calculator (16:8, 18:6, 20:4)

Results update as you type.

Your numbers

Understanding the intermittent fasting window calculator — concept and principle

This calculator turns your last meal time and the number of fasting hours into a daily eating window: when you may eat again, when the window closes and how long it lasts. It is designed for time-restricted eating plans such as 16:8 or 18:6, where the fast is repeated every day.

Intermittent fasting window on a 24-hour clockLast meal at 20:00 plus 16 hours of fasting opens the eating window at 12:00, which closes at 20:00: 8 hours.16:8 on a 24-hour clock0612182024 hfast 16 heat 8 hLast meal20:00Fast+ 16 hWindow opens12:00 next dayWindow closes20:00Not for everyone — check with a doctor first
Sixteen hours of fasting leave an eight-hour eating window from 12:00 to 20:00.

How it is calculated

Times are entered as decimal hours on a 24-hour clock: 20 means 8 pm and 19.5 means 7:30 pm. Fasting hours should be between 0 and 24.

The principle

In time-restricted eating, a day of 24 hours is split into a fasting part and an eating part, so the two always add up to 24. The notation 16:8 means 16 hours of fasting and 8 hours of eating; 18:6 means 18 and 6. Adding the fasting length to the time of the last meal gives the moment the fast ends, and the clock arithmetic "modulo 24" moves it into the next day when needed. The 5:2 plan is different: it involves eating normally on five days and greatly reducing energy intake on two non-consecutive days, so it is planned by days of the week rather than by hours and is not calculated here.

Worked example

  1. Inputs: last meal at 20 (8 pm), fasting 16 hours.
  2. Window opens = 20 + 16 = 36 → 36 − 24 = 12:00 the next day.
  3. Window closes = 20 + 24 = 44 → 44 − 24 = 20:00.
  4. Window length = 24 − 16 = 8 hours (a 16:8 schedule).

How to read the result

Eat your meals between the opening and closing times, then start the next fast at the closing time. A 12-hour fast (12:12) is a gentle starting point, 14:10 and 16:8 are the most common, and 18:6 or longer is more demanding. Studies suggest that much of the weight benefit comes from eating less overall; the timing helps some people achieve that, but it does not cancel out a large calorie surplus inside the window.

Common mistakes

Keep in mind: Intermittent fasting is not suitable for everyone, including during pregnancy or breastfeeding, for people with diabetes on glucose-lowering medication, and for anyone with a history of eating disorders. This is not medical advice; check with a doctor first.

Frequently asked questions

Can I drink water or black coffee while fasting?

Most plans allow water, plain tea and black coffee because they provide almost no energy.

Is 16:8 better than eating three meals a day?

Trials comparing time-restricted eating with ordinary calorie reduction often find similar weight loss when total intake is similar.

Does it matter when the window is?

An earlier window, such as 8:00–16:00, fits some people's sleep and work better; consistency usually matters more than the exact hours.

Sources: de Cabo R., Mattson M.P., Effects of Intermittent Fasting on Health, Aging, and Disease, New England Journal of Medicine 381:2541–2551, 2019

Checked 8 Nov 2026. Typical coverage rates and standard formulas. Always check the product label and local building rules; buy 5–10% extra for waste.

🏠 All home & living tools →🌍 Calculators by country →