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
| Pattern | Fasting | Eating window | What it means |
|---|---|---|---|
| 12:12 | 12 hours | 12 hours | An overnight break from eating |
| 14:10 | 14 hours | 10 hours | A moderately shorter eating window |
| 16:8 | 16 hours | 8 hours | One of the best known patterns |
| 18:6 | 18 hours | 6 hours | A narrower window; more care needed |
| 20:4 | 20 hours | 4 hours | A 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.