Sleep Calculator
Sleep runs in cycles of roughly 90 minutes, moving through light sleep, deep sleep and REM sleep. Waking up at the end of a cycle usually feels much easier than being woken in the middle of deep sleep — which is why a fixed 8 hours can still leave you groggy if the alarm lands at the wrong point in a cycle. This calculator works backwards or forwards from a time you choose, using whole cycles plus 15 minutes to fall asleep.
Sleep Calculator
Find the best bedtime or wake time based on 90-minute sleep cycles, plus 15 minutes to fall asleep.
Your result
Formula
Bedtime = wake time - (cycles x 90 minutes + 15 minutes). Wake time = bedtime + (cycles x 90 minutes + 15 minutes).
How to use this calculator
Choose whether you want to wake up at a set time or fall asleep at a set time, then enter that time. The calculator gives you 4 options (6, 5, 4 or 3 full sleep cycles). Pick the one that fits your schedule; more cycles usually mean better rest.
Worked example
Example: to wake at 07:00, the calculator suggests bedtimes of 21:45 (6 cycles), 23:15 (5 cycles), 00:45 (4 cycles) and 02:15 (3 cycles). To fall asleep at 22:30, it suggests waking at 07:45, 06:15, 04:45 or 03:15.
Frequently asked questions
There are two ways to use it. If you must wake at a set time, choose the wake-up mode and enter that time: you get four bedtimes, for 6, 5, 4 or 3 full cycles. For a 07:00 alarm, that means 21:45, 23:15, 00:45 or 02:15. If instead you know when you will go to bed, choose the fall-asleep mode and enter that time: falling asleep at 22:30 gives wake times of 07:45, 06:15, 04:45 or 03:15.
More cycles generally mean better rest, so pick the earliest bedtime you can realistically keep. But a regular schedule matters as much as any single night: going to bed and waking at similar times every day keeps your body clock steady, and that consistency is worth more than chasing a perfect cycle count on one night. Keep the room dark and cool, avoid bright screens in the last hour before bed, and avoid caffeine late in the day — small habits that make the cycles work better.
One honest limit: this is a timing aid, not medical advice. If you regularly struggle to fall asleep, wake often during the night, or feel tired despite enough hours in bed, talk to a clinician rather than adjusting the numbers. Persistent sleep problems can have causes no calculator can see.