Intermittent Fasting Window Calculator
Work out the exact clock times your fasting period starts and ends, see your eating window laid out for the day, and compare common schedules side by side before you commit to one.
Build Your Fasting Window
Enter your last meal time and a fasting target. Everything else updates instantly.
Saved Schedules
The hours you spend not eating and the hours you spend eating are two sides of the same 24 hour period, and a small shift in one moves the other by exactly the same amount. Push your last meal an hour earlier and your first meal the next day shifts an hour earlier too. Stretch a fasting target by two hours and your eating window shrinks by two hours in return. Knowing these clock times precisely, rather than roughly, makes it easier to plan a schedule around work meetings, training sessions, family dinners, sleep, and medication timing without accidentally running a longer fast than intended or missing a meal you actually needed.
What this is useful for
Meal Planning
Know exactly when to eat before the day starts, not after you notice you are hungry.
Work Coordination
Check whether a schedule clashes with meetings, commutes, or a fixed lunch break.
Training Timing
See exactly where a workout falls relative to your fasting and eating periods.
Duration Clarity
Confirm the exact number of hours a schedule actually involves, not a rounded guess.
Schedule Comparison
Line up several durations before picking one, rather than trying each blind.
Avoiding Overlong Fasts
Catch a miscalculation before it turns a planned 14 hour fast into an 18 hour one.
Consistent Routine
Save a schedule so the same times repeat instead of drifting a little every day.
Sleep Awareness
See where your eating window sits relative to your usual wake and bed times.
Fasting window guide
How the Formula Works
Two numbers drive everything on this page: the time your last meal ends, and how many hours you intend to fast. Every other figure, your first meal, your eating window, your next fast, follows directly from those two.
Eating Window = 24 hours − Fasting Duration
For a 16:8 schedule, the 16 hours of fasting and the 8 hours of eating always add up to 24, because a day only has 24 hours in it. Change one number and the other adjusts automatically. If your last meal finishes at 8:00 PM and you fast for 16 hours, the calculator adds 16 hours to 8:00 PM, which lands on 12:00 PM the following day. That’s when the fast ends and the eating window opens.
The eating window itself doesn’t cross midnight in the way the fasting period does. It runs from your first meal to your last meal on the same calendar day, and then the fast begins again from that same last meal time. The cycle repeats.
What counts as the last meal: the moment you finish consuming anything with meaningful calories, food or drink. A splash of milk in coffee, a sugary drink, or a snack eaten while cooking all count. Plain water, black coffee, and plain tea are treated as calorie-free by most common approaches to fasting, but this varies by which specific approach someone follows, so check that detail against your own plan rather than assuming.
Assumptions this calculator makes: that you eat on a single, repeating daily cycle rather than an alternating pattern like 5:2, that your last meal time stays reasonably consistent day to day, and that the fasting duration you enter is the one you actually intend to follow rather than a rough estimate. It does not calculate calorie intake, does not recommend what to eat, and does not determine whether a given schedule is medically appropriate for you.
Step-by-Step Calculation
Here is the exact process the calculator runs, using a last meal of 8:00 PM and a 16 hour fasting target.
Understanding Your Schedule
These five durations come up most often. None of them is ranked above the others here, because which one suits a person depends on far more than the number of hours involved: work pattern, sleep, training, medication, and simple day to day preference all matter more than the duration alone.
12:12
A relatively simple schedule that resembles a conventional overnight fasting period. Many people already do something close to this without labeling it, since it usually just means finishing dinner at a normal hour and skipping very early breakfast or very late snacking.
14:10
A moderate schedule that may be easier for some people to maintain than longer fasting periods, since it still leaves a reasonably wide window for two or three meals. It typically means shifting a normal dinner slightly earlier or a normal breakfast slightly later.
16:8
A commonly discussed time-restricted eating pattern. It compresses meals into roughly a third of the day. Some people find this fits naturally around skipping breakfast, while others find it requires more deliberate planning around lunch and dinner.
18:6
A shorter eating window that may be harder for some people to fit around meals, training, medication, or social activities, since it leaves less flexibility for events that fall outside the window.
20:4
A highly restrictive eating window that may not be appropriate for everyone. It requires most or all daily food to fit into a narrow stretch of time, which can be difficult to sustain and may not suit people with certain medical conditions or high activity levels.
Duration alone does not determine whether a schedule is appropriate for a given person. A shorter, less restrictive window that someone can actually stick to consistently is generally more useful to them than a longer one they abandon within a week.
Practical Examples
Three worked scenarios, each using different inputs, show how the same formula plays out against real daily constraints.
0116:8 Office Schedule
This pattern fits reasonably well around a typical 9-to-5 workday, since the eating window opens right around a standard lunch break and closes after a normal dinner hour. A few practical points come up often with this specific timing.
Morning meetings happen entirely inside the fasting period, so anyone used to eating a working breakfast at a desk will need to adjust to attending those meetings without food. Coffee taken black, or with a small splash of milk depending on which specific approach is being followed, is generally treated as compatible with fasting, but a sweetened or milk-heavy coffee drink is not. Lunch timing matters because many workplaces run lunch on a fixed schedule that may not line up exactly with a noon eating window; a 12:30 or 1:00 PM lunch simply shifts the whole window by that same amount. Social dinners that run later than 8:00 PM will occasionally sit outside the planned eating window, and treating an occasional late dinner as a one-off rather than a broken schedule tends to be more sustainable than rigid enforcement. Hunger during the first few days is something some people notice as they adjust to skipping breakfast, though how strongly this is felt and how quickly it settles varies a great deal from person to person, and it doesn’t settle for everyone.
This example describes timing and logistics only. It makes no claim about weight change, since that depends on total calorie intake, food choices, and many factors this calculator does not measure.
02Earlier Eating Window
This timing suits someone who prefers a normal breakfast and an earlier dinner over skipping a morning meal entirely. An 8:30 AM first meal fits comfortably before most standard workday start times, and finishing dinner at 6:30 PM is close to a conventional evening meal for many households.
Work schedule compatibility tends to be straightforward here, since breakfast at home before a commute and an earlier finish to the eating day don’t usually conflict with typical office hours. Family meals can work well if a household already eats dinner on the earlier side, particularly with younger children who are often fed earlier in the evening anyway; it fits less naturally with families whose dinner routine runs closer to 8:00 or 9:00 PM. Bedtime considerations matter too: finishing eating a few hours before sleep, rather than right up against it, is a pattern some people find reduces the temptation to snack late, though the strength of that effect varies by individual. Evening hunger is worth watching for during the adjustment period, since someone accustomed to eating dinner later may notice more hunger in the hours between 6:30 PM and bedtime at first.
03Workout Schedule
Here the fasting period runs from 7:00 PM through 9:00 AM the next day, a 14 hour window, and the workout at 7:00 AM falls about 12 hours into that fast, roughly two hours before the eating window opens.
Meal timing and exercise interact in ways that depend heavily on the type, intensity, and duration of the training involved, along with the individual’s own tolerance and goals. Some people manage moderate training fasted without noticeable issue, while others prefer to eat something small beforehand, or shift their workout time to fall inside the eating window instead. This calculator can show where a workout sits relative to a fasting schedule, but it cannot tell any individual which approach suits their own body, training load, or goals, and it does not attempt to.
People who train intensely, whether through high-volume strength work, endurance sessions, or multiple daily sessions, often have meaningfully different nutrition and timing needs than someone doing lighter, occasional activity. Anyone training at that level is generally better served working with a sports dietitian, registered dietitian, or their coach on the specifics, rather than relying on a general timing calculator for that decision.
Practical Decision Guide
A short set of questions to work through before settling on a schedule. None of these produce a single right answer; they’re meant to narrow the options based on your actual routine.
Who Should Be Careful With Intermittent Fasting?
Meal timing changes affect people differently depending on their health situation, and some groups have a clear reason to check with a healthcare professional before adjusting their eating pattern rather than working it out through trial and error.
- People who are pregnant or breastfeeding, since nutrient and calorie needs during these periods differ from general guidance and are best assessed individually.
- People with diabetes or who use glucose-lowering medication, since changes in meal timing can affect blood glucose levels and how that medication needs to be dosed or timed.
- People with a history of an eating disorder, since structured fasting periods can interact poorly with disordered eating patterns for some individuals.
- People who are underweight, since restricting the eating window can make it harder to meet calorie and nutrient needs.
- Adolescents, whose nutrition needs during growth and development differ from adult guidance.
- Anyone taking medication that needs to be taken with food, for the same reasons noted in the decision guide above.
- People with certain chronic medical conditions where meal timing or fasting periods could affect symptom management or treatment.
None of this is a diagnosis or an instruction to change any medication. It’s a starting list of situations where a conversation with a doctor, registered dietitian, or other qualified healthcare professional is the appropriate next step before changing an eating schedule, not a calculator.
Medical Disclaimer
This calculator is for educational purposes and does not provide medical or nutritional advice. Intermittent fasting is not appropriate for everyone. If you are pregnant or breastfeeding, under 18, have diabetes, have a history of an eating disorder, are underweight, take medication that requires food, or have a medical condition that may be affected by changes in meal timing, speak with a qualified healthcare professional before changing your eating schedule.
What the Research Says
Research into time-restricted eating and intermittent fasting has looked at a range of outcomes, including body weight, calorie intake, metabolic markers, blood glucose, blood pressure, and broader cardiometabolic health. The picture that comes out of this research is genuinely mixed rather than settled in one direction.
Some studies report short-term improvements in weight and certain metabolic markers among participants following time-restricted eating patterns. Other studies find outcomes similar to standard calorie restriction without any specific advantage from the timing itself, and at least one line of research has raised questions about longer-term cardiovascular outcomes tied to very short eating windows, an area still being actively studied rather than resolved. The Mayo Clinic’s overview of intermittent fasting summarizes this mixed picture directly, noting that long-term effects aren’t yet clear and that some evidence points to raised risk factors under certain fasting patterns compared with others.
Why the results vary this much comes down to several factors that differ from study to study: the exact fasting schedule tested, whether calorie intake was actually controlled or just assumed to drop, how long the study ran, who the participants were, and how consistently they actually followed the assigned schedule. A four-week trial in healthy young adults and a year-long trial in older adults managing a chronic condition are not measuring the same thing, even if both are labeled intermittent fasting. The National Institutes of Health’s overview of fasting diets makes a similar point, noting that much of what’s known so far comes from shorter studies and that scientists are still working out what happens to the body over longer periods of fasting.
The National Institute on Aging’s review of calorie restriction and fasting reaches a cautious conclusion after summarizing decades of research: there currently isn’t enough evidence to recommend any particular fasting or calorie-restriction pattern as a general recommendation, and more research, especially in older adults and across longer timeframes, is still needed. That caution is a reasonable place to land given how much study design varies, and it’s the position this article takes as well: research on time-restricted eating is active and evolving, not a closed case with a single verdict.
Common Mistakes
Most timing errors are small ones that compound over a week or a month rather than obvious problems on a single day.
1. Counting from the wrong time
- What happens:
- Someone starts their fasting clock from when they sat down to eat rather than when they finished.
- Why it matters:
- A 30 to 60 minute meal shifts the calculated fast end by the same amount.
- How to avoid it:
- Always enter the time you finished eating, not when you started.
2. Ignoring the next day’s date
- What happens:
- Someone reads “12:00 PM” without registering that it’s the following day, not later the same day.
- Why it matters:
- It can lead to eating far earlier or later than actually planned.
- How to avoid it:
- Use the crossing-midnight note this calculator shows alongside the result.
3. Treating a longer fast as automatically better
- What happens:
- Someone jumps straight to 18 or 20 hours because it sounds more serious or effective.
- Why it matters:
- Duration alone doesn’t determine whether a schedule is appropriate or sustainable for a given person, as covered above.
- How to avoid it:
- Choose a duration based on your routine and how you feel, not on picking the biggest number available.
4. Ignoring symptoms of feeling unwell
- What happens:
- Dizziness, weakness, or unusual fatigue during fasting gets pushed through rather than addressed.
- Why it matters:
- These can be signs that a schedule isn’t suiting the person, or of an underlying issue that needs attention.
- How to avoid it:
- Stop the schedule and seek appropriate medical advice if this happens regularly, as covered in the decision guide above.
Expert Tips
Start with a schedule that fits your existing routine
Adjusting one that already loosely matches your day is easier than adopting an entirely new pattern.
Check your schedule against your sleep
Enter wake and bed times so you can see whether the eating window actually fits your waking hours.
Pay attention to how you actually feel
Energy, mood, sleep quality, and hunger are more useful feedback than the calculator’s numbers alone.
Get professional advice when medical conditions are involved
This applies to medication timing, chronic conditions, pregnancy, and any history of disordered eating.
Comparison Table
| Schedule | Fasting | Eating Window | Practical Considerations |
|---|---|---|---|
| 12:12 | 12h | 12h | Close to a conventional overnight pattern; an easy starting point for some people |
| 14:10 | 14h | 10h | Moderate eating window, room for two or three meals |
| 16:8 | 16h | 8h | Common time-restricted eating pattern; often means skipping one meal |
| 18:6 | 18h | 6h | More restrictive timing; less flexibility for social meals |
| 20:4 | 20h | 4h | Very narrow eating window; may not suit everyone |
This table describes timing patterns only. It does not establish which schedule is medically superior to another, and no such ranking is implied by the order the rows appear in.
Methodology
The calculator takes your last meal time and fasting duration, adds them together using standard time arithmetic that wraps correctly past midnight, and derives the first meal time, eating window length, and next fast start from that single calculation. Wake time, bedtime, and workout time are used only to annotate the visual timeline and generate the short contextual notes shown in the results; they do not change the fasting or eating window calculation itself. Number of meals is used to estimate even spacing across the eating window as a reference figure, not a meal plan.
Limitations
This tool calculates timing. It does not calculate calorie needs, does not evaluate nutritional adequacy, and does not determine whether a particular fasting schedule is medically appropriate for any individual. It assumes a single, repeating daily eating window rather than alternating patterns like 5:2 or alternate-day fasting, and it assumes reasonably consistent daily timing rather than a schedule that shifts constantly, such as rotating shift work. Results saved through this page are stored only in your own browser and are not sent anywhere.