Everyday Utilities

Eating Window Calculator

Plan the clock times of an eating window from a first or last meal and the number of fasting hours.

Your numbers

Result

Eating window

12:00 PM to 8:00 PM

8 h eating, 16 h fasting

First meal
12:00 PM
Last meal
8:00 PM
Hours eating
8
Hours fasting
16
Fast starts and ends
8:00 PM to 12:00 PM the next day
How this was calculated
  1. Eating hours = 24 - 16 fasting hours = 8.
  2. Last meal = first meal + eating hours = 12:00 PM + 8 h = 8:00 PM.
  3. The fast runs from the end of one eating window to the start of the next.
  • This only does the clock arithmetic. It is not medical advice and does not say a fasting schedule is right for you. Fasting is not suitable for everyone, including children, people who are pregnant or have a history of eating disorders, and people on certain medications or with diabetes. Talk with a doctor first.

Calculated using SumPanda.com · https://sumpanda.com/fasting-window-calculator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the eating window calculator

  1. Choose a schedule, such as 16:8, which means 16 hours of fasting and 8 hours of eating. Pick Custom to enter your own number of fasting hours.
  2. Choose whether you know your first meal or your last meal time.
  3. Enter that time.
  4. Read your eating window, the fasting hours and when each fast starts and ends.

Formula

Eating hours = 24 - fasting hours

Window closes = first meal + eating hours

Window opens = last meal - eating hours

The fast runs from the close of one window to the opening of the next

This is only clock arithmetic. It does not evaluate whether a fasting plan is healthy, effective or right for you.

Worked example

On a 16:8 plan with a first meal at 12:00 PM, the eating window is 8 hours and closes at 8:00 PM. The fast lasts from 8:00 PM until noon the next day.

On an 18:6 plan where your last meal is at 7:00 PM, the window opens 6 hours earlier, at 1:00 PM.

A 14:10 plan that starts at 6:00 PM runs through the night and ends at 4:00 AM, which is a good example of a window that crosses midnight.

What the schedule names mean

The first number is the hours without food and the second is the hours in which you eat. A 12:12 plan is a gentle start, and an overnight break of 12 hours is common for many people. Longer plans such as 16:8 or 20:4 compress eating into a shorter part of the day.

Water, plain tea and black coffee are usually allowed during a fast, but plans differ, so follow the rules of the plan you are using. This tool does not tell you what to eat or drink.

Planning around real life

A schedule only works if it fits your day. Use the calculator to see the clock times and adjust.

  • Count the sleep hours. Many people find that a window which ends a few hours before bed is easier to follow.
  • Look at your workouts, meetings and family meals, and move the window rather than the other way round.
  • Change gradually. Moving the start time by thirty minutes a day is gentler than a jump of several hours.
  • Skip a day when you need to, such as for illness or a special event.

Assumptions and limits

  • This is an estimate for general information only. It is not medical advice and it is not a diagnosis.
  • Fasting is not suitable for everyone, including children, people who are pregnant or breastfeeding, people with a history of eating disorders, and people with diabetes or on certain medications. Talk to a doctor before trying it.
  • Times use a 24 hour clock for the arithmetic and are shown in 12 hour format with AM and PM.
  • The schedule repeats every day and does not model weekends, time zone changes or different plans for different days.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

What is a 16:8 eating window?

It is 16 hours without food followed by an 8 hour window in which you eat. If your window opens at noon, it closes at 8:00 PM, and the fast runs from 8:00 PM until noon the next day.

Does the fasting window include sleep?

Yes, the time you spend asleep counts as fasting hours. That is why many plans put the end of the eating window a few hours before bedtime, so part of the fast is already covered by sleep.

How do I find my window if I know when I want to stop eating?

Choose Last meal time, enter when you want to finish eating and pick your plan. The calculator counts back by the eating hours to give you the time the window opens.

Can I change my fasting hours a little each day?

You can. Enter the number of hours as a custom value and try small changes. The calculator gives the clock times for any number of fasting hours from 1 to 23, and decisions about what is safe for you belong with your doctor.