Sleep Duration Calculator
Updated for 2026 ยท All math runs privately in your browser
Enter your bedtime and wake time and get your sleep duration in hours and minutes โ plus how many 90-minute sleep cycles that covers.
Your night
When you fell asleep (or got into bed).
When you woke up.
Your sleep duration
Your night in 90-minute cycles
- Durationโ
- In minutesโ
- Full cyclesโ
- Cycles (total)โ
Adults need 7โ9 hours โ about 5 to 6 full cycles. Waking at the end of a cycle, rather than in the middle of one, is why some mornings feel easier than others.
How to use this calculator
- Enter your bedtime โ when you fell asleep.
- Enter your wake time. Overnight times work: 11 PM to 7 AM is 8 hours.
- Read your duration in hours and minutes, and your cycles.
- Compare with the 7โ9 hour adult target โ 5 to 6 full 90-minute cycles.
How the math works
Duration = wake time โ bedtime, wrapping past midnight when the wake time is earlier than the bedtime. Cycles = duration รท 90 minutes, because a full sleep cycle โ light sleep, deep sleep and REM โ lasts about 90 minutes on average.
Worked example: bedtime 23:00, wake time 07:00. From 23:00 to midnight is 1 hour, plus 7 hours to 07:00, so the duration is 8 hours, or 480 minutes. Cycles = 480 รท 90 = 5.33 โ that is 5 full cycles (7.5 hours) plus 30 minutes into a sixth cycle. A 22:30 to 06:30 night is also 8 hours and 5.33 cycles. A shorter night, 23:30 to 06:30, is 7 hours (420 minutes) and 4.67 cycles.
Why cycles matter: waking mid-cycle โ in deep sleep โ is what makes mornings feel groggy, while waking at a cycle boundary feels lighter. That is the whole idea behind our Bedtime Calculator: pick a bedtime that lands your alarm at the end of a cycle.
Getting the hours you need
Fix wake time first, bedtime second. A regular wake time pulls bedtime into place on its own, because sleep pressure builds predictably. Shifting bedtime alone while wake time wanders never works for long โ the clock follows the morning, not the night.
Build a wind-down. The hour before bed should get dimmer, quieter and screen-free. A shower, a book, stretching โ the ritual matters less than the regularity. Your brain learns the sequence and starts producing melatonin before you even lie down.
Weekend catch-up is a myth. Sleeping in on Saturday does not repay a week of short nights; it just shifts your clock and makes Monday harder. If you are short during the week, a 20-minute nap before 3 PM helps far more than a Sunday lie-in, and it does not wreck the next night.
Compare duration with debt. One night's duration is a snapshot; the pattern is what matters. If you sleep 6 hours on weekdays and 9 on weekends, you are carrying a weekly sleep debt of about 10 hours โ our Sleep Debt Calculator turns that pattern into a single number and a catch-up plan. Duration tells you the night; debt tells you the week. Track both for a month and you will see exactly where your sleep is leaking, night by night.
Frequently asked questions
Wake time minus bedtime, with the clock wrapping past midnight. 11:00 PM to 7:00 AM is 8 hours: 1 hour to midnight plus 7 hours after it.
A roughly 90-minute loop through light sleep, deep sleep and REM sleep. Adults run through 4 to 6 cycles a night, with deep sleep early in the night and more REM toward morning.
The National Sleep Foundation recommends 7โ9 hours for adults 18โ64, and 7โ8 hours for adults 65 and over. That is about 5 to 6 full 90-minute cycles.
No โ it measures bedtime to wake time. If it takes you 30 minutes to fall asleep, subtract that for your real sleep time, or use our Sleep Efficiency Calculator, which does it for you.
Often because the alarm went off mid-cycle, in deep sleep. Waking at the end of a cycle feels lighter โ which is why a 7.5-hour night can feel better than an 8-hour one.
For total sleep, yes โ a 20-minute nap adds 20 minutes. But naps do not replace the deep sleep and REM of a full night, so they are a supplement, not a substitute.
Hours are only half the story
Eight hours in bed only counts if you actually sleep through them. A mattress that sags or sleeps hot breaks the night into pieces, so you can log a long night and still wake up tired. The best results come from full 90-minute cycles in a bed that lets you stay asleep — that is why a 7.5-hour night can feel better than an 8-hour one. To get the hours you need, keep a steady bedtime every day, give yourself 15 minutes to fall asleep, and count in whole cycles.