Sleep Calculator Online

Find the best bedtime or wake-up time using 90-minute sleep cycles, calculated locally in your browser.

The Sleep Calculator runs entirely in your browser. The times you enter are used only to compute bedtimes and wake-up times on your device and are never uploaded.

Open the Time Calculator

About Sleep Calculator

Sleep Calculator works out the best bedtimes or wake-up times based on 90-minute sleep cycles, the average length of one full cycle of light, deep and REM sleep. Choose "I want to wake up at" and enter a wake time to see a handful of bedtime options — 6, 5, 4 or 3 full cycles back from that alarm, each including a 15-minute buffer to actually fall asleep. Or choose "I am going to sleep now" and enter the time you plan to close your eyes to see the wake-up times that let you finish a full cycle instead of waking up mid-cycle groggy. It is useful for planning an early flight, working around a late night, or just building a more consistent sleep schedule. Every calculation runs locally in your browser.

Features

How to use the Sleep Calculator

  1. Choose whether you are setting a wake-up time or falling asleep right now
  2. Enter the time in the field, or tap Now to use the current clock time
  3. Review the list of suggested bedtimes or wake-up times, each labeled with its cycle count
  4. Copy the time that fits your schedule

Example

Input

wake at 6:30 AM

Output

Bedtime: 9:15 PM (6 cycles)

6 full 90-minute cycles plus a 15-minute buffer to fall asleep, counted back from the wake-up time.

Common errors & troubleshooting

Frequently asked questions

What is the Sleep Calculator based on?
The Sleep Calculator is based on 90-minute sleep cycles, the average time it takes to move through light, deep and REM sleep once. Waking up at the end of a cycle, rather than in the middle of one, tends to feel less groggy.
How does the Sleep Calculator handle the time it takes to fall asleep?
It adds a 15-minute buffer on top of the sleep cycles by default, since most people do not fall asleep the instant they lie down. That buffer is included in every suggested bedtime and wake-up time.
Why does the Sleep Calculator show more than one bedtime option?
It shows options for 6, 5, 4 and 3 full sleep cycles so you can trade off total sleep time against how late you can stay up or how early you need to wake, rather than forcing a single fixed answer.
Can the Sleep Calculator suggest a wake-up time instead of a bedtime?
Yes. Switch to "I am going to sleep now," enter the time you plan to fall asleep, and it lists wake-up times for 6, 5, 4 and 3 full cycles from that moment.
Is the Sleep Calculator a substitute for medical sleep advice?
No. It is a general guide based on average 90-minute sleep cycles, not a medical tool. Individual cycle length varies, so treat the results as a starting point, not a diagnosis.
Does the Sleep Calculator store or upload the times I enter?
No. All the sleep-cycle math happens locally in your browser, and the times you enter are not sent anywhere or saved to an account.

Related tools

All ArrayKit tools