Intermittent Fasting Eating Window
Calculator

Inputs

Eating window length (hours)
8

Results

Eating window length (hours)
8
Eating window end (24h clock)
20

Nutrition results

Eating window length (hours)8
Eating window end (24h clock)20

formula-map diagram

Eating window length (hours)
8
Eating window end (24h clock)
20

Nutrition formula map

Formula

eating window h = 24 − fasting h; window end = start hour + window hours (mod 24)

= 8

Note

Simplified nutrition model using standard reference constants (protein and carbohydrate 4 kcal/g, fat 9 kcal/g, alcohol 7 kcal/g, 1 kg of body fat about 7700 kcal, salt to sodium factor 0.393). Real energy needs and body composition changes vary between individuals. This is not medical, dietetic or nutritional advice; consult a qualified health professional before changing your diet.

Example: with the default inputs, calculator.nutrition.eating_window_hours is 8.

More in Nutrition and diet

See all →

Frequently asked questions

How is the eating window calculated?+

It subtracts your fasting hours from 24. A 16-hour fast leaves an 8-hour eating window.

How is the end time of the window found?+

It adds the window length to your start hour and wraps around at 24. Starting at 12 with an 8-hour window ends at hour 20, which is 8 p.m.

What format should I use for the start time?+

Enter the start as an hour on the 24-hour clock, for example 12 for noon or 18 for 6 p.m. Minutes are not handled, only whole or decimal hours.

What happens if my window runs past midnight?+

The end hour wraps around: a start at 20 with a 8-hour window gives an end at hour 4 the next day. The calculator shows the hour, not the date.

Is this a fasting plan I should follow?+

No. It only does the arithmetic of 24 minus your fasting hours and shows the resulting window. Whether fasting suits you is a question for a health professional, and this is an estimate, not medical advice.