How does the sleep calculator work?
Sleep happens in cycles of about 90 minutes, moving through light, deep and REM stages. Waking at the end of a cycle leaves you feeling more refreshed than waking mid-deep-sleep. This calculator suggests times that land on complete 90-minute cycles.
How to use it
Tell it when you want to wake up, and it shows ideal bedtimes. Or tell it you are going to bed now to see good wake-up times. It allows about 14 minutes to fall asleep.
Tips for better sleep
- Keep consistent sleep times, even on weekends.
- Avoid screens and caffeine before bed.
- Keep your bedroom dark, cool and quiet.
Example
You need to get up at 6:30 am. The calculator allows about 14 minutes to fall asleep and uses 90-minute cycles. For 5 cycles, or 7.5 hours of sleep, go to bed at 10:46 pm. For 6 cycles it is 9:16 pm, for 4 cycles 12:16 am.
Why the wake-up time matters
If the alarm goes off in deep sleep, you often feel groggy even after a long night. This is called sleep inertia. At the end of a cycle your sleep is lighter and you usually wake up fresher, which is why 7.5 hours can feel more restful than 8.
Frequently asked questions
How many cycles do I need?
Most adults feel rested after 5–6 cycles (about 7.5–9 hours).
Are sleep cycles always exactly 90 minutes?
No. A cycle usually lasts 80 to 110 minutes and changes through the night. 90 minutes is a good average, so try out which time feels best for you.
Is my data private?
Yes. Everything is calculated in your browser; nothing is saved or sent anywhere.