I want to...

Sleep Calculator – Find the Best Time to Sleep and Wake Up

By Shoaib Hassan · Last updated November 30, 2026

Enter the time you need to wake up, and the calculator shows bedtimes that fit full 90-minute sleep cycles. For a 6:30 AM alarm, aim to be in bed around 10:45 PM or 9:15 PM.

What Is a Sleep Calculator?

This tool estimates a bedtime or a wake-up time from a clock time you already know. Give it the hour you need to get up, and you get a list of bedtimes. Give it the hour you can go to bed, and you get wake-up times instead.

How It Works

Start with a bedtime or a wake-up time. Bedtime mode takes the time you plan to go to bed and lists possible wake-up times. Wake-up mode takes the time you need to rise and lists possible bedtimes. If you already know your bedtime and just need an alarm time, try the wake up time calculator.

The times follow an estimated 90-minute sleep-cycle model. You can compare several lengths, from one cycle up to six. A sleep-onset setting adds the minutes you usually need to fall asleep.

That setting starts at about 15 minutes, and you can change it. Those minutes move a bedtime earlier or a wake-up later, so the suggestion lines up with time asleep rather than time in bed alone.

For example, a 6:30 AM wake-up and five estimated cycles equal 7 hours and 30 minutes of sleep. Allow about 15 minutes to fall asleep, and the matching bedtime is around 10:45 PM. When the alarm is fixed and only the night is open, the bedtime calculator starts from that alarm.

The Science Behind Sleep Cycles

Sleep alternates between non-REM sleep, called NREM, and REM sleep. NREM includes lighter sleep and deeper sleep, when heart rate and breathing tend to slow. REM is the stage most closely tied to dreaming, and brain activity then is nearer to waking.

One pass through NREM and REM often lasts about 80–100 minutes. The length varies between people, and it can change from the beginning of the night to the end.

A 2024 laboratory study of healthy adults found a median cycle duration of 96 minutes. Ninety minutes is a practical estimate for choosing a clock time, not an exact rule your body follows every night. For more on how REM fits into each cycle, see the REM sleep calculator.

Why Do You Wake Up Feeling Groggy?

Feeling slow after the alarm is common. That grogginess is called sleep inertia: alertness is lower for a while after waking, and it usually lifts. The effect can feel stronger when you wake from deeper sleep than from lighter sleep.

Sleep duration and sleep timing can also change how refreshed you feel. A very short night, or sleep timed far from your usual hours, can leave you less alert the next day.

How Much Sleep Do You Need by Age?

Sleep need changes with age. The CDC recommends these daily amounts:

Age groupAgeRecommended sleep per day
Newborn0–3 months14–17 hours
Infant4–12 months12–16 hours (including naps)
Toddler1–2 years11–14 hours (including naps)
Preschool3–5 years10–13 hours (including naps)
School age6–12 years9–12 hours
Teen13–17 years8–10 hours
Adult18–60 years7 or more hours
Adult61–64 years7–9 hours
Adult65 years and older7–8 hours

These ranges are a general guide for a usual night. Pick your wake-up time first, then choose a bedtime that leaves room for the hours in your age group.

Bedtimes for Common Wake-Up Times

Wake-up time6 cycles (9 h)5 cycles (7 h 30 min)
5:30 AM8:15 PM9:45 PM
6:00 AM8:45 PM10:15 PM
6:30 AM9:15 PM10:45 PM
7:00 AM9:45 PM11:15 PM
7:30 AM10:15 PM11:45 PM

These bedtimes assume about 15 minutes to fall asleep, and you can change that in settings.

Accuracy and Limits

Every suggestion uses estimated 90-minute cycles plus your fall-asleep setting. Actual cycles vary from person to person and from night to night, so the same wake-up will not suit everyone. Treat the times as a plan you can adjust.

Sleep Calculator is a planning tool, not a sleep tracker or a medical device. Nothing here detects REM sleep, deep sleep, or any other stage, and no schedule can guarantee that you wake up refreshed or that you got enough sleep. This page is not medical advice, so if you have ongoing trouble falling asleep, staying asleep, or staying alert during the day, consult a healthcare professional.

Scientific references

Frequently Asked Questions

Why is 90 minutes only an average?

A sleep cycle is often about 90 minutes, but the real length varies by person and can shift during the night. The calculator uses that average to suggest a clock time. It is a planning guide, not a reading of your sleep.

How does the fall-asleep setting change the times?

Onset is the number of minutes you usually need to fall asleep. Bedtime suggestions move earlier by that amount, and wake-up suggestions move later, so they match when you are actually asleep. Change it in settings and the six suggestions update on this device right away.

Why is this not a sleep-stage tracker?

This page only adds and subtracts time. It does not use a microphone, a watch, or any sensor, and it cannot tell light sleep from deep sleep.

Share this calculator