Intermittent Fasting Calculator
Plan your fasting day in seconds. Pick a fasting plan and your first meal time to see your eating window, your fasting window and your fasting hours for the week.
Formula: eating window = first meal time to first meal time + eating hours. Fasting window = eating window end to first meal time the next day. Fasting hours + eating hours = 24.
Formulas verified against standard references. Calculator logic tested with verified worked examples. Published: November 11, 2026 | Last updated: November 11, 2026. Fact-checked: November 11, 2026. Our methodology
How to Use the Intermittent Fasting Calculator
Planning a fasting day takes three quick entries. The tool works out your eating window from your first meal time and your plan, then works out the fasting window that follows it.
- Pick your fasting plan. 16:8 is the most common first plan, and 18:6, 20:4 and OMAD are longer fasts.
- Pick your first meal time. This is when your eating window opens and your overnight fast ends.
- Enter how many days a week you follow the plan, then press Calculate, or press Enter. The eating window appears first and large, with the fasting window and the weekly fasting hours below. Press Reset to clear the form and start over.

The Intermittent Fasting Plans and the Math
Intermittent fasting is a timing rule, not a menu. Each daily plan splits the 24 hour day into a fasting window and an eating window. On 16:8 you fast for 16 hours and eat during 8 hours, on 18:6 you fast for 18 hours and eat during 6 hours, and on 20:4 you fast for 20 hours and eat during 4 hours. OMAD means one meal a day, with about one hour to eat and 23 hours of fasting.
The math is simple. The eating window starts at your first meal and runs for the eating hours, and the fasting window runs from the end of the eating window to the first meal the next day. The 5:2 plan works differently, since it splits the week instead of the day, with 5 normal eating days and 2 low-calorie days of about 500 to 600 calories. Our calorie calculator works out how many calories you need in a day, and our TDEE calculator works out your total daily energy use.
Worked Example: 16:8 Starting at Noon
A person follows 16:8 and eats the first meal at 12:00 PM, seven days a week. Here is exactly what the calculator does.
- Eating window: 12:00 PM plus 8 hours = 12:00 PM to 8:00 PM.
- Fasting window: 8:00 PM to 12:00 PM the next day = 16 hours.
- Fasting hours per week: 16 x 7 = 112 hours.
As a second check, 18:6 with a first meal at 11:00 AM gives an eating window of 11:00 AM to 5:00 PM and 126 fasting hours a week. The same steps work for any plan, so try your own numbers in the tool above.

Which Plan Fits a Beginner
Start with 16:8. It is the most studied window, and the fast is mostly overnight, so you skip breakfast and eat from noon to 8:00 PM. Two solid meals and a snack fit comfortably in eight hours. Move to a longer fast only after your energy, your sleep and your meal quality stay stable for a few weeks.
Longer fasts are harder to keep up. On 20:4 you have four hours to eat, which suits one large meal and a snack, and OMAD suits one meal a day. The 5:2 plan suits people who prefer normal days with two hard days, rather than a daily window. Pick the plan you can repeat for weeks, not the hardest one you can manage for a day.
Eating Well Inside the Window
Fasting controls when you eat, not what you eat, so the food inside the window still decides the result. Trials find that weight loss from intermittent fasting is similar to ordinary calorie reduction, so total intake in the window matters most. Build meals around protein, fiber and vegetables, and keep the window free of constant snacking.
Drink water through the fast, since thirst often feels like hunger. Black coffee and plain tea have no calories, so they do not break the fast for most plans. Break the fast with a normal meal, not a large one, and keep the last meal at least an hour or two before bed. Our water intake calculator works out how much water you need in a day.
Who Should Not Fast
Intermittent fasting is not right for everyone. It is not advised for children and teens, during pregnancy or breastfeeding, for people with type 1 diabetes who take insulin, or for anyone with a history of eating disorders. People who take medicine with food or who manage a health condition should talk to a doctor first.
Stop fasting and talk to a doctor if you feel dizzy, faint or unwell, or if your sleep, mood or energy get worse. A plan that fits your day and your health is worth more than a longer fast. This calculator gives general information only, and it is not medical advice.

Frequently asked questions
What is 16:8 intermittent fasting?
16:8 means you fast for 16 hours and eat during an 8 hour window each day. With a first meal at noon, you eat from 12:00 PM to 8:00 PM and fast from 8:00 PM to noon the next day.
What can I drink while fasting?
Water, black coffee and plain tea have no calories, so they do not break the fast for most plans. Anything with calories, including milk, sugar and juice, counts as breaking the fast.
Does intermittent fasting help with weight loss?
Trials find that weight loss from intermittent fasting is similar to ordinary calorie reduction, so it works mainly by cutting total intake. The window helps some people eat less, but the food inside the window still decides the result.
Can I exercise while fasting?
Light exercise such as walking or easy jogging fits most fasting days. Save intense training for inside the eating window or shortly after a meal, and stop if you feel dizzy or weak.
What is the 5:2 diet?
On 5:2 you eat normally on 5 days a week and eat about 500 to 600 calories on 2 non-consecutive days, such as Monday and Thursday. It suits people who prefer normal days with two hard days over a daily window.
Who should not try intermittent fasting?
Children and teens, people who are pregnant or breastfeeding, people with type 1 diabetes who take insulin, and anyone with a history of eating disorders should not fast. Talk to a doctor first if you manage a health condition or take medicine with food.
This is general information, not medical advice, so talk to a doctor before you start fasting if you are pregnant or breastfeeding, under 18, manage a health condition or have a history of disordered eating.
Related calculators
Calorie Calculator
Work out how many calories you need each day.
Use calculatorTDEE Calculator
Work out your total daily energy expenditure.
Use calculatorWeight Loss Calculator
Plan a steady weight loss target and timeline.
Use calculatorCalorie Deficit Calculator
Work out a safe daily calorie deficit.
Use calculatorBMI Calculator
Work out your body mass index from height and weight.
Use calculatorWater Intake Calculator
Work out how much water to drink each day.
Use calculator