🩺 Health & animals

Fasting calculator

Set your last meal time and a pattern. The tool schedules the window and nothing more.

Free · no signup Runs in your browser

Your fast ends at—

    Markers through the fast

      A scheduling tool, not a health programme.This calculates times. It sets no calorie targets and makes no claims about weight, metabolism or health outcomes. Intermittent fasting is not appropriate for everyone. Anyone pregnant or breastfeeding, managing diabetes or another metabolic condition, taking medication that must be taken with food, or with any history of disordered eating should speak to a doctor before starting.

      How does 16:8 fasting work?

      You eat within an 8-hour window and take nothing with calories for the other 16 hours. If your last food is at 8 pm, the fast runs until noon the next day and the window is noon to 8 pm. Water, plain black coffee and unsweetened tea are generally considered not to break a fast.

      It is clock arithmetic, and that is all

      Most fasting calculators bundle the timing with calorie targets, weight projections and claims about what happens to your metabolism at particular hour marks.

      This one does the timing. The evidence on the wider claims is genuinely mixed and moves regularly, and a calculator is a poor place to arbitrate it. What is not in doubt is that people find the window arithmetic fiddly, particularly when it crosses midnight — so that is what this solves.

      The quarter, halfway and three-quarter markers exist because the practical difficulty of a fast is usually planning the day around it rather than the fast itself.

      The patterns

      Each is written as fasting hours to eating hours, adding to 24.

      • 12:12 12 hours fasting, 12 hour window
      • 14:10 14 hours fasting, 10 hour window
      • 16:8 16 hours fasting, 8 hour window
      • 18:6 18 hours fasting, 6 hour window
      • 20:4 20 hours fasting, 4 hour window
      • fast ends = last food + fasting hours
      • window ends = fast ends + (24 − fasting hours)

      The overnight sleep does most of the work in every pattern. On 16:8 with a last meal at 8 pm, roughly eight of the sixteen hours are spent asleep — which is why the pattern is manageable for most people and why moving the window later rarely makes it easier.

      Water, plain black coffee and unsweetened tea are conventionally treated as not breaking a fast. Anything with calories does, including milk in coffee and most so-called zero-calorie additions in sufficient quantity.

      Worked example: 16:8 with dinner at 8 pm

      Finishing dinner at 8:00 pm on a 16:8 pattern.

      1. Last food8:00 pm
      2. Fast length16 hours
      3. Fast ends12:00 pm next day
      4. Eating window12:00 pm to 8:00 pm
      5. Halfway through the fast4:00 am

      Skip breakfast, eat between noon and 8 pm, repeat.

      Note that the halfway point falls at 4 am. In practice most of the difficulty sits in the final three or four hours before the window opens, not in the middle.

      Practical notes

      • Water, black coffee and unsweetened tea are generally considered not to break a fast
      • Milk, sugar and most flavoured drinks do break one
      • Medication that must be taken with food takes priority over the window, always
      • Shift workers usually find a window anchored to their own sleep works better than a clock time
      • Starting at 12:12 and shortening gradually is easier than beginning at 20:4

      Assumptions and limits

      • Schedules times only — no calorie, macro or weight modelling
      • Assumes a single continuous eating window per day
      • Extended fasts beyond 24 hours are not covered and warrant medical supervision
      • Makes no claim about health outcomes, which remain genuinely debated
      • Not suitable as guidance for anyone with a history of disordered eating

      Common questions

      What is 16:8 fasting?

      Eating within an 8-hour window and consuming nothing with calories for the other 16 hours. With a last meal at 8 pm, the fast runs to noon and the eating window is noon to 8 pm. Roughly half the fast is spent asleep.

      Does coffee break a fast?

      Plain black coffee is generally considered not to, and the same goes for water and unsweetened tea. Adding milk, sugar or syrup adds calories and does break it. Definitions vary between protocols, so this is a convention rather than a rule.

      Which fasting pattern should I choose?

      This tool schedules whichever you pick and deliberately does not recommend one. If you are starting out, a shorter fast such as 12:12 or 14:10 is easier to sustain than jumping to 18:6 or 20:4.

      Can I take medication during a fast?

      Medication that must be taken with food takes priority over the eating window, without exception. Adjust the window around your medication rather than the other way round, and speak to your pharmacist or doctor about timing.

      Is intermittent fasting safe for everyone?

      No. It is not appropriate during pregnancy or breastfeeding, for people managing diabetes or other metabolic conditions, for anyone on medication requiring food, or for anyone with a history of disordered eating. Speak to a doctor before starting.

      Where these numbers come from

      Last verified 2026-08-01 The method on this page is checked against the sources above at least once a year. Spotted something out of date? Tell us and we will fix it.

      🩺 Health and animal calculators

      Estimates only. Every tool in this section names its source and tells you when to ask a professional instead.

      See all 10 calculators in this section