Sleep Calculator

Work with your body’s natural 90-minute sleep cycles. Pick a wake-up time to see the best bedtimes — or a bedtime to see the best wake-up times.

1Pick a mode and a time
2Press “Calculate” — or tap “Sleep now”
3Choose one of the highlighted times

Private by design: 100% in your browser — nothing is uploaded, no sign-up. This tool runs entirely on your device.

How to use this sleep calculator

Using this calculator takes less than a minute. First, choose a mode at the top of the tool. If you already know what time you need to get up — for work, school or an early flight — select "I want to wake up at…" and enter that time. The calculator then works backwards in 90-minute sleep cycles and shows you the best times to go to bed, including about 15 minutes to drift off. If your evening is fixed instead, choose "I want to go to bed at…", enter the time you plan to be in bed, and the calculator works forwards to show the wake-up times that land at the end of a complete cycle.

You can also press the "sleep now" button. That uses the current time as your bedtime and suggests wake-up times for tonight, which is handy when you are reading this in bed and just want to set the right alarm. Whichever mode you use, the options marked "Recommended" give you five or six full cycles — roughly seven and a half to nine hours of sleep — which is the range most adults feel best on. The shorter options are there for nights when that simply is not possible; one complete cycle is usually better than the same amount of sleep cut short in the middle of a cycle.

Why sleep cycles matter

Sleep is not one long, even state. Through the night your brain moves repeatedly through light sleep, deep sleep and REM (dreaming) sleep, and one full pass takes about 90 minutes. Waking up at the end of a cycle, when you are in light sleep, tends to feel far easier than being pulled out of deep sleep by an alarm — even if the deep-sleep alarm technically gave you a few more minutes in bed. That is why two people can sleep the same number of hours and wake up feeling completely different. This calculator simply does the cycle math for you, so your alarm lands in a light phase instead of a deep one.

A few honest notes: 90 minutes is an average. Real cycles vary from person to person and across the night, roughly between 80 and 120 minutes, so treat the suggested times as a good starting point and adjust by 10–15 minutes if you consistently wake up groggy. This tool is for everyday sleep planning only and is not medical advice; if you regularly struggle to fall asleep, stay asleep or stay awake during the day, please talk to a doctor or a sleep specialist.

How this is calculated

The formula is simple: bedtime = wake-up time − (cycles × 90 minutes) − time to fall asleep. With the default 15 minutes to fall asleep, waking at 7:00 AM on six cycles means a 9:45 PM bedtime (7:00 − 9 hours − 15 minutes). Real sleep cycles run roughly 80–100 minutes and vary by person and across the night, so treat the results as a good estimate, not exact science.

Bedtime chart

Bedtimes for common wake-up times, including 15 minutes to fall asleep. The 5- and 6-cycle columns are the recommended ones for most adults.

Wake up at6 cycles (9 hours)5 cycles (7½ hours)4 cycles (6 hours)
5:00 AM7:45 PM9:15 PM10:45 PM
5:30 AM8:15 PM9:45 PM11:15 PM
6:00 AM8:45 PM10:15 PM11:45 PM
6:30 AM9:15 PM10:45 PM12:15 AM
7:00 AM9:45 PM11:15 PM12:45 AM
7:30 AM10:15 PM11:45 PM1:15 AM
8:00 AM10:45 PM12:15 AM1:45 AM
8:30 AM11:15 PM12:45 AM2:15 AM

How much sleep do you need?

Age groupRecommended sleep (CDC)
School age (6–12 years)9–12 hours
Teen (13–18 years)8–10 hours
Adult (18–64 years)7 or more hours
Older adult (65+ years)7–8 hours

The stages inside one cycle

StageShare of the night (roughly)Waking up in it feels like
N1 — light sleepAbout 5%Easy — you may not feel you slept at all
N2 — light sleepAbout 45%Fairly easy
N3 — deep sleepAbout 25%Hard — groggy and disoriented
REM — dreaming sleepAbout 25%Usually easy, often mid-dream

That is the whole idea of this calculator: time your alarm for the end of a cycle, when you are most likely in light sleep.

Frequently asked questions

How many sleep cycles do I need each night?

Most adults need five to six complete cycles, which is about 7.5 to 9 hours of sleep. Some people feel fine on four cycles (6 hours) for a short period, but regularly sleeping that little usually catches up with you.

Does the calculator include time to fall asleep?

Yes. Every suggested time includes about 15 minutes to fall asleep — a commonly used average. If you know you take longer, go to bed that much earlier than the time shown.

Is 6 hours of sleep enough?

Six hours is four full cycles, and many people can function on it occasionally. Waking at the end of a cycle helps it feel better, but health authorities such as the CDC generally recommend at least 7 hours for adults, so do not make 6 hours your routine.

Why do I wake up tired even after 8 hours?

Eight hours often ends in the middle of a cycle, because 8 hours is not a neat multiple of 90 minutes plus falling-asleep time. Try shifting your alarm to a cycle boundary — 7.5 or 9 hours after you fall asleep — and many people notice a real difference within a few days.

Can I use this for naps?

Yes. For a nap, use the "sleep now" option and pick the shortest result: one cycle (about 90 minutes plus falling-asleep time) gives a full, refreshing nap without a long groggy period afterward.

Related tools