Fasting Window Calculator (Hours + Eating Window)

About This Calculator

Enter your fasting start and end times to calculate how long your fasting window is and how long your eating window is. This calculator works across midnight, so you can calculate fasts that start in the evening and end the next morning. The result shows fasting duration, eating window length, and an optional schedule label (like "16:8"). This is an educational time calculator only, not medical advice.

  • Calculate fasting duration and eating window from start/end times
  • Works across midnight automatically
  • Optional rounding to 5 or 15 minutes
  • Schedule label format (e.g., "16:8") when enabled
  • Educational time calculator only

Safety note

Educational calculator only. It does not provide medical advice, diagnosis, or treatment. If you have symptoms, take medications, are pregnant, or have medical conditions, review results with a licensed clinician or registered dietitian before acting on them.

Calculate

When your fast begins (24h format: HH:MM).

When your fast ends (24h format: HH:MM).

Choose how to handle the end time. "Auto" detects if the fast crosses midnight.

Round fasting duration to nearest 5 or 15 minutes, or keep exact.

Show schedule format like "16:8" (only if both durations are whole hours).

How It Works

  1. Enter fasting times: Enter when your fast starts and when it ends in 24-hour format (HH:MM).
  2. Choose day mode: Select "auto" to automatically detect if the fast crosses midnight, or manually choose "same day" or "next day".
  3. Get your results: The calculator shows fasting duration, eating window length, and whether the fast crossed midnight.
  4. Optional schedule label: Enable the schedule label to see a format like "16:8" (16 hours fasting, 8 hours eating) if both durations are whole hours.

Frequently Asked Questions

Disclaimer: Educational time calculator only. Not medical advice.

Read full disclaimer

This calculator provides time duration calculations for fasting and eating windows. It is an educational tool for planning purposes only and does not provide medical advice, health recommendations, or guarantees about health outcomes. Individual nutritional needs vary widely, and fasting may not be appropriate for everyone. If you have health concerns or are considering changes to your eating patterns, consult a qualified healthcare provider.

Start Tracking Now

Try it for free!

Try it for free!

Start using BeyondCal as your daily nutrition tracker

Join thousands of people using BeyondCal as their nutrition tracker and food diary app to log meals, track calories and see vitamins and minerals from food.
Start with our free to try nutrition app and see how your food affects brain health, energy levels, heart health, skin, bones and muscles.