Sleep Calculator
Plan your sleep around 90-minute cycles so you wake up between cycles feeling refreshed instead of groggy.
Example
If you need to wake up at 7:00 AM and take about 15 minutes to fall asleep, you should go to bed at 9:45 PM for 6 cycles (9 hours) or 11:15 PM for 5 cycles (7.5 hours).
How it works
A full sleep cycle averages 90 minutes, and most people take about 15 minutes to fall asleep. To find bedtimes, we subtract 5 and 6 cycles (7.5h and 9h) plus 15 minutes from your wake time; to find wake times, we add cycles plus 15 minutes to your bedtime.
Good to know
The Sleep Calculator works backward (or forward) from a fixed time to suggest the moments that line up with complete 90-minute sleep cycles, so you wake at the lighter end of a cycle rather than mid-deep-sleep. Pick a mode: enter the time you must be up and it lists bedtimes, or enter when you plan to lie down and it lists wake-up times. It is built for anyone with a hard morning constraint such as an early shift, a flight, a commute, or a school run who wants to choose between sleeping more or less while staying cycle-aligned.
Reach for it the night before, not when you are already in bed scrolling. The tool also exposes a "time to fall asleep" field (default 15 minutes) that you should tune to yourself: if you typically lie awake for half an hour, set 30 so the cycle math starts when you are actually asleep rather than when you switch off the light.
Read the output as a short menu of trade-offs rather than a single answer. Each suggestion is one option, labelled by cycle count and rough hours, so you can decide whether you want the full 6 cycles (~9 hours) or are willing to settle for 5 (~7.5 hours) or fewer on a tight night. The headline value is the longest, most-rested option; the smaller stat tiles step down to shorter sleeps, which are useful as fallbacks when going to bed early is not realistic.
One caveat: 90 minutes is a population average, and real cycles vary by person, age, and night, drifting anywhere from roughly 80 to 120 minutes. Treat the times as a planning aid, not a precise alarm formula, and remember the calculator only times your sleep window. It does nothing for sleep quality, so pair it with a consistent schedule and a wind-down routine.
Frequently asked questions
Why 90-minute cycles?
A complete sleep cycle (light sleep, deep sleep, and REM) averages about 90 minutes. Waking at the end of a cycle, rather than in the middle of deep sleep, helps you feel more refreshed and less groggy.
Why does the calculator add 15 minutes?
Most people don't fall asleep the instant their head hits the pillow. The default 15-minute buffer accounts for the time it takes to drift off, so the cycle math starts when you're actually asleep. You can adjust it to match yourself.
Is my data uploaded anywhere?
No — this calculator runs entirely in your browser. Your inputs never leave your device, and it works offline once loaded.
Is this calculator free?
Yes, completely free with no sign-up and no limits.
People also ask
How many sleep cycles do I need per night?
Most adults do well on about 5 to 6 complete cycles, which works out to roughly 7.5 to 9 hours of sleep. Needs vary by individual and age, so the right number is the one that leaves you consistently alert during the day.
Is it better to sleep 6 hours or 7.5 hours?
7.5 hours covers five full 90-minute cycles, while 6 hours covers four, so the longer option generally provides more total sleep including more REM. If you must choose a shorter night, finishing at the end of a cycle is the idea behind the calculator's stepped options.
What time should I go to bed to wake up at 6 AM?
Counting back in 90-minute cycles plus time to fall asleep, common bedtimes for a 6 AM wake are around 8:45 PM for six cycles or 10:15 PM for five cycles, assuming about 15 minutes to drift off. Enter 6:00 AM in wake-up mode to see the exact set for your fall-asleep estimate.
Does waking up between sleep cycles actually reduce grogginess?
The theory is that waking during lighter sleep avoids sleep inertia, the groggy feeling tied to being roused from deep sleep. Cycle timing is an average-based estimate rather than a measurement of your actual sleep stages, so results vary from night to night.
How long does it take the average person to fall asleep?
A typical sleep onset is around 10 to 20 minutes, which is why the tool defaults to a 15-minute buffer. Falling asleep almost instantly every night or routinely taking much longer than 30 minutes can both be worth noting.
Why do I still feel tired after 8 hours of sleep?
Total time in bed does not guarantee enough quality sleep; fragmented sleep, an irregular schedule, or waking mid-cycle can all leave you tired. Factors like caffeine, screens, alcohol, and underlying sleep conditions also affect how rested you feel.
Can I use a sleep cycle calculator for naps?
It is designed for full overnight sleep rather than naps, since short naps usually stay in lighter stages and a full 90-minute cycle is longer than many people nap. For a nap you would simply pick a length, often around 20 minutes or a single ~90-minute cycle.
Related calculators