Intermittent Fasting Calculator

Work out how long your fasting period and eating window are, based on the times you eat. You can also pick a common pattern and a start time to see when your fast ends. This is a simple time calculator: it does not recommend fasting or any specific pattern. No sign-up required.

Intermittent fasting is not suitable for everyone. If you are pregnant or breastfeeding, under 18, underweight, have or have had an eating disorder, have diabetes or another medical condition, or take medication that depends on meal timing, talk to a doctor or dietitian before trying it.

What is intermittent fasting?

Intermittent fasting is an eating pattern that alternates a period of eating with a period of fasting, usually within each day. It is about when you eat, not what you eat. During the fasting period you do not eat food, and you eat your meals during a set eating window. There are many versions, and some people choose them for personal, cultural, religious or health reasons.

How the calculator works

The calculator is simple time arithmetic over a 24-hour day:

Eating window = time of last meal − time of first meal

Fasting = 24 hours − eating window

For example, if you eat between 12:00 and 20:00, your eating window is 8 hours and your fasting period is 16 hours, which is commonly called a 16:8 pattern. In the other mode, you choose a fasting length and the time your fast starts, and the calculator tells you when it ends. It does not judge whether a pattern is appropriate for you.

Common fasting patterns

PatternFastingEating windowWhat it means
12:1212 hours12 hoursAn overnight break from eating
14:1014 hours10 hoursA moderately shorter eating window
16:816 hours8 hoursOne of the best known patterns
18:618 hours6 hoursA narrower window; more care needed
20:420 hours4 hoursA very narrow window; seek professional guidance

Who should be careful or avoid it

Intermittent fasting is not suitable for everyone, and the right choice depends on your health. Talk to a doctor or dietitian first if you are pregnant or breastfeeding, are under 18, are underweight, have or have had an eating disorder, have diabetes or another chronic condition, take medication that depends on when you eat, or are an older adult. Stop and seek medical advice if you feel dizzy, faint, unusually weak or unwell.

What does the research say?

The evidence on intermittent fasting is still evolving. Several studies report results similar to ordinary calorie reduction, and what matters most for many people is total food intake, food quality and whether they can keep the pattern up in daily life. It may suit some people and not others, and it is not the only way to eat well. This page is informational and does not promise any health or weight outcome.

If you do choose a fasting pattern

Focus on balanced meals with enough protein, fiber and nutrients during your eating window, stay hydrated, and pay attention to how you feel. A pattern you can sustain and that fits your sleep, work, training and social life is more useful than a stricter one you cannot keep. If you are also tracking calories or macros, our calorie deficit calculator and macro calculator can help you plan what to eat.

Frequently asked questions

What is intermittent fasting?

It is an eating pattern that alternates periods of eating and fasting, focusing on when you eat rather than what you eat. A common example is 16:8, with a 16-hour fast and an 8-hour eating window.

How do I calculate my eating window?

Subtract the time of your first meal from your last meal. The rest of the 24 hours is your fasting time. Eating between 12:00 and 20:00 gives an 8-hour window and a 16-hour fast.

Is intermittent fasting right for everyone?

No. People who are pregnant or breastfeeding, under 18, underweight, or who have or have had an eating disorder, as well as people with diabetes or other conditions or on medication tied to meal timing, should talk to a doctor first.

Is intermittent fasting better than other ways of eating?

The evidence is still evolving. Several studies find results similar to ordinary calorie reduction, and total intake, food quality and sustainability matter a lot. It may suit some people and not others.