I want to...

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

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.

How to Sleep Better

These habits come from CDC and NHLBI advice, and each one is small enough to try tonight.

When to Talk to a Doctor

Good habits do not fix every sleep problem. The CDC advises talking to your healthcare provider if you regularly have problems sleeping or notice signs of a common sleep disorder. Signs worth mentioning include:

According to the NHLBI, loud snoring, breathing that starts and stops, and gasping for air are common symptoms of sleep apnea. A suggested bedtime cannot rule out a sleep disorder, so bring these signs up with a 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.

Is 10 PM to 7 AM enough sleep?

Going to bed at 10 PM and getting up at 7 AM gives you 9 hours in bed. Take away about 15 minutes to fall asleep, and about 8 hours 45 minutes of sleep is left. That covers the CDC's advice of 7 or more hours for adults. Teens aged 13 to 17 need 8 to 10 hours, so it fits their range too.

Are sleep cycle calculators accurate?

They give a planning estimate based on an average cycle length of about 90 minutes. Real cycles vary by person and by night, and a 2024 lab study of healthy adults found a median of 96 minutes. Use the suggested time as a starting point, then adjust it to how you feel.

How many sleep cycles do I need?

Five cycles add up to about 7.5 hours, and six cycles to about 9 hours. For most adults, either one meets the CDC's advice of 7 or more hours. These are estimates, so adjust if you still feel tired during the day.