Fasting Time Calculator
Find out exactly how long you fasted โ in hours and minutes, even past midnight or past 24 hours.
Calculate fasting duration
Times use this device's local clock. Example: 8:00 PM to 12:00 PM the next day = 16h 0m.
Fasting math trips up more people than you expect. You ate dinner at 8 PM and lunch at noon the following day. Was that fast 15 hours or 16? This fasting calculator gives you the answer in seconds. Enter the time you stopped eating and the time you broke your fast. Fast Calculator returns your total in hours and minutes. Midnight needs no extra step from you. A fast that spans two or three days comes out right. Your 8 PM to noon stretch equals 16 hours. That is the target of the popular 16:8 plan. Sleep counts toward your total because you do not eat while you rest. Those eight hours of sleep belong in the number. Fast calculating takes a few seconds, and your entries stay on your device. The tool is free, with no sign-up and no app. Copy the result or save it as an image.
How to use
- Enter the date and time your fast started.
- Enter the date and time it ended โ or tap "Use current time" if you are still fasting.
- Tap "Calculate" and read your total. Copy the result or export the image to keep it.
Tips
- Use full dates for fasts longer than a day โ clock times alone are not enough.
- If your answer looks wrong, check AM and PM first. That is the most common mistake.
- A snack after dinner still counts as eating. Your fast starts after your last bite.
FAQs
How do I calculate a fast that crosses midnight?
Add 24 to the later time before you subtract. Dinner at 9 PM and breakfast at 7 AM gives 10 hours. The calculator does this step for you.
Does sleeping count toward my fast?
Yes. You are not eating while you sleep, so those hours count. That is why a 16-hour fast feels shorter than it sounds.
How do I calculate a fast over 24 hours?
Use the full dates along with the clock times. A fast from 8 PM Monday to 8 AM Wednesday lasts 36 hours. Talk to a doctor before any fast past 24 hours.
By Fast Calculators Team ยท Last reviewed: 21 November 2026