Intermittent Fasting Window Calculator: When to Eat and When to Fast
Enter the time of your first meal and the hours you want to fast. You will see when your eating window closes, when the fast starts and ends, and the window for each common routine.
Last reviewed
16:8 routine: eat between
noon and 8:00 pm
8 hours of eating, 16 hours of fasting
- Eating window
- 12:00 to 20:00
- Fast begins
- 20:00
- Fast ends
- 12:00
- Hours of eating
- 8
| Fast : eat | Eating window |
|---|---|
| 12:12 | 12:00 to 00:00 |
| 14:10 | 12:00 to 22:00 |
| 16:8 | 12:00 to 20:00 |
| 18:6 | 12:00 to 18:00 |
| 20:4 | 12:00 to 16:00 |
This is clock arithmetic, not advice. Fasting is not right for everyone. If you are pregnant, have diabetes or take medicines, have had an eating disorder, or are unsure, speak to a doctor before you start.
What this calculator does
Time-restricted eating, a form of intermittent fasting, means eating only within a window each day and fasting for the rest. The routines are named by the hours of fasting and eating: 16:8 is 16 hours without food and an 8-hour eating window. A 2019 review in the New England Journal of Medicine by Rafael de Cabo and Mark Mattson describes the most commonly studied intermittent-fasting regimens, including daily time-restricted eating.
This page does only the clock arithmetic. Tell it when you will eat your first meal and how many hours you want to fast, and it gives the time your eating window closes and when the fast starts and ends. It makes no claim about what a routine will do for you.
The calculation
- Eating window = 24 − hours of fasting.
- Last meal at the end of the window = time of the first meal + the eating window. If this passes midnight, the clock wraps around.
- The fast starts when the eating window ends and finishes at the next first meal.
Worked example
You have your first meal at 12:00 and choose a 16-hour fast.
- The eating window is 24 − 16 = 8 hours, from 12:00 to 20:00 (noon to 8:00 pm).
- The fast runs from 20:00 until 12:00 the next day, which is 16 hours.
If your first meal were at 07:30, the same routine would give an eating window of 07:30 to 15:30.
Common routines from a 12:00 first meal
| Fast : eat | Eating window |
|---|---|
| 12:12 | 12:00 to 00:00 |
| 14:10 | 12:00 to 22:00 |
| 16:8 | 12:00 to 20:00 |
| 18:6 | 12:00 to 18:00 |
| 20:4 | 12:00 to 16:00 |
Points to check
- Start gradually. The authors of the review suggest that people lengthen the fasting period gradually over several months rather than starting abruptly.
- Fit it to your day. A window that clashes with work, family meals or training is hard to keep. Pick one you can repeat.
- Water and drinks. What counts as breaking a fast depends on the routine you follow. Check its own rules.
- It is not for everyone. If you are pregnant, have diabetes or take medicines, have had an eating disorder, or have any health condition, speak to a doctor before you change when you eat.
- Not medical advice. The calculator does not say whether a routine is safe or useful for you.
Related tools: the calorie calculator, the TDEE calculator, the BMR calculator and the time calculator.
When the window crosses midnight
A first meal at 15:00 with a 12-hour fast gives an eating window of 15:00 to 03:00 the next day, which the calculator marks as ending on the next day. A first meal at 09:30 with a 14-hour fast gives 09:30 to 19:30, and a first meal at 17:00 with a 20-hour fast gives 17:00 to 21:00.
A 16:8 routine kept every day adds up to 16 × 7 = 112 hours of fasting and 8 × 7 = 56 hours of eating in a week. The calculator shows only the clock times and says nothing about whether that suits you.
Frequently asked questions
What does 16:8 mean?
It means 16 hours of fasting and an 8-hour eating window in each 24-hour day. If your first meal is at noon, you eat between noon and 8 pm and fast from 8 pm until noon the next day. Other routines, such as 14:10 or 18:6, follow the same pattern.
How is the eating window worked out?
The eating window is 24 minus the hours of fasting. It starts at your first meal and ends that many hours later, and the clock wraps around midnight if it needs to. The fast begins when the window ends and finishes at your next first meal.
Does this tell me if fasting is good for me?
No. It is clock arithmetic only. A 2019 review in the New England Journal of Medicine describes the most commonly studied intermittent-fasting regimens, but whether a routine suits you depends on your health, medicines and circumstances, and this page cannot judge that.
Who should not fast?
If you are pregnant, have diabetes or take medicines, have had an eating disorder, or have any medical condition, speak to a doctor before you change when you eat. The page does not list every case, so ask when in doubt.
How long should I fast to start with?
The authors of the NEJM review suggest that clinicians advise patients to lengthen the fasting period and its frequency gradually over several months. A shorter routine, such as 12:12 or 14:10, is an easier start than a long fast. Ask your doctor what suits you.
Why does the window sometimes end after midnight?
If your first meal is late and the eating window is long, the end falls past midnight and shows as a time such as 00:00 or 02:00. The page marks this so you know the window ends on the next calendar day.
Related calculators
- Calorie CalculatorEnter your sex, age, height, weight and activity level to see the calories you are estimated to use, then choose a daily difference to see a target.
- TDEE CalculatorEnter your sex, age, height and weight and choose how active you are.
- BMR CalculatorEnter your sex, age, height and weight.
- Time CalculatorList lengths of time, one per line, to add and subtract them, or take a time of day and add or subtract a length of time.
- Sleep CalculatorChoose your age group and a wake-up time or a bedtime.
- Protein CalculatorEnter your weight and choose a goal.
Sources
This tool is for information only and is not medical advice. Speak to a doctor or a qualified professional about your own health.