How does the sleep calculator work?
Enter the time you need to wake up, and the calculator counts backwards in full 90-minute sleep cycles, adding about 14 minutes for falling asleep, to suggest bedtimes. For a 7:00 AM wake-up, that means bed at 9:46 PM for 6 cycles (9 hours of sleep), 11:16 PM for 5 cycles (7.5 hours), 12:46 AM for 4 cycles (6 hours), or 2:16 AM for 3 cycles (4.5 hours). It also works the other way: enter a bedtime and it suggests wake-up times at the end of complete cycles. For an 11:00 PM bedtime, the suggested wake times are 8:14 AM (6 cycles), 6:44 AM (5 cycles) and 5:14 AM (4 cycles). The idea is simple: wake at the end of a cycle, when sleep is lightest, instead of in the middle of deep sleep.
What are sleep cycles and why 90 minutes?
Sleep is not one uniform state. Through the night you move in cycles of roughly 90 minutes: light sleep (N1 and N2), deep slow-wave sleep (N3), then REM sleep, where most dreaming happens. Early cycles contain more deep sleep, later cycles more REM. Waking during deep sleep causes sleep inertia, the heavy grogginess that can last half an hour or more, while waking from light sleep at a cycle boundary feels comparatively easy. That is why the same total hours can feel different depending on when the alarm lands. Ninety minutes is an average, not a law: real cycles vary from about 70 to 120 minutes between people and across the night, so treat the suggested times as a good planning guide rather than a precise prescription.
How much sleep do I actually need?
Most adults need 7 to 9 hours per night, which is 5 to 6 full cycles. Teenagers need 8 to 10 hours, school-age children 9 to 12, and younger children more. Regularly sleeping under 7 hours is linked with worse memory, mood, immunity and metabolic health, and the shortfall cannot be fully repaid with one long weekend lie-in. The 4-cycle (6 hour) and 3-cycle (4.5 hour) options in this calculator exist for unavoidable short nights, not as a routine: use them to make a bad night less bad, then return to 5 or 6 cycles. If you consistently feel unrefreshed after 8 hours, snore heavily, or fall asleep during the day, that is a medical question (sleep apnoea is common and treatable), not a calculator question.
Why does the calculator add 14 minutes?
Because bedtime is not sleep time. On average, healthy adults take about 10 to 20 minutes to fall asleep after lights out; this calculator uses 14 minutes as a typical value. Counting cycles from the moment you get into bed would overstate your sleep by that amount and shift every suggested time. If you know you fall asleep faster or slower, adjust the suggested bedtime by the difference: someone who needs 30 minutes should get into bed about 16 minutes earlier than the calculator says. Taking much longer than 30 minutes to fall asleep most nights, or waking repeatedly through the night, can signal insomnia, anxiety, caffeine timing or other issues worth discussing with a doctor.
How do I use this for naps and shift work?
For naps, the cycle logic points the other way: a 20 to 30 minute nap stays in light sleep and refreshes without grogginess, while a 90-minute nap completes one full cycle. Avoid 45 to 60 minute naps if you must be alert immediately after, because they often end in deep sleep. For shift workers, the same counting applies to the main sleep block whenever it falls: protect 5 to 6 cycles where possible, keep the sleep room dark and cool, and keep the schedule as regular as the rota allows, because consistency matters as much as the exact clock times. Anchor sleep (one fixed block of at least 4 hours at the same time daily) plus a nap is a common strategy when a single long block is impossible.
Is it free and private?
Yes. The sleep calculator is free, with no signup, no account and no limits. Your times are calculated in your browser and are never sent to a server, stored or logged; they disappear when you close or reload the tab. The calculator gives general planning guidance based on average sleep cycles. It is not medical advice and cannot diagnose sleep disorders. For persistent insomnia, loud snoring with breathing pauses, or excessive daytime sleepiness, see a doctor or sleep clinic. For everyday planning (choosing a bedtime before an early start, setting an alarm that lands at a cycle boundary, or timing a nap), counting in 90-minute cycles with a fall-asleep allowance is a practical, evidence-based approach.