Sleep Calculator

Enter a wake-up or bedtime and it calculates the times that fit your sleep cycles.

We will tell you when to go to bed to wake up at this time.

Each option is marked against the sleep duration recommended for your age group (National Sleep Foundation).

Advanced · adjust to your body

The average is 90 minutes, but it ranges from about 80 to 100 between people.

How long it takes you to actually fall asleep after lying down. Usually 10–20 minutes.

-

Time to fall asleep is already included. Tap an option to change that night’s sleep-stage graph.

  • Awake
  • REM sleep
  • Light sleep N1
  • Light sleep N2
  • Deep sleep N3

※ The graph and stage times are estimates based on the average adult sleep structure. Only an overnight sleep study (polysomnography) can show your real sleep stages. If you stay tired after sleeping or suspect a sleep disorder, see a doctor.

How this is calculated

See the formula and an example

How it works and the formula

During sleep, the body goes through a round of light sleep, deep sleep and dream sleep (REM sleep), and one round is called a sleep cycle. For adults it averages about 90 minutes. Waking in the light-sleep stage at the end of a cycle is more likely to leave you feeling refreshed. The calculator adds the time it takes you to fall asleep after lying down (sleep onset time) to this.

Bedtime = wake-up time − (cycles × cycle length) − time to fall asleep
Wake-up time = bedtime + time to fall asleep + (cycles × cycle length)

For example, with a 90-minute cycle and 15 minutes to fall asleep, to wake at 7 a.m. you would go to bed at 11:15 p.m. for 5 cycles (7 hours 30 minutes of sleep). 7:00 − (5 × 90 minutes) − 15 minutes = 11:15 p.m. For 6 cycles (9 hours) it is 9:45 p.m. If you change the cycle length to 100 minutes under Advanced, 5 cycles becomes 8 hours 20 minutes and the bedtime moves earlier too.

This result is for reference only and does not replace diagnosis or treatment. Talk to a medical professional about any health concerns.

Link copied
AD

How to use

Choose a mode: wake-up time, bedtime or sleep now
Set the time and age group (adjust cycle length and time to fall asleep under Advanced)
Tap a time option to see that night’s REM and non-REM sleep-stage graph

Recommended sleep by age group

Age groupRecommended sleep per day
Toddler (1–2)11–14 hours
Preschool (3–5)10–13 hours
School age (6–13)9–11 hours
Teen (14–17)8–10 hours
Young adult (18–25)7–9 hours
Adult (26–64)7–9 hours
Older adult (65+)7–8 hours

Source: National Sleep Foundation recommendations. Individual needs vary, so use them as a guide. For children age 5 and under the sleep cycle is shorter (about 50–60 minutes), so this calculator is not designed for them.

AD

How the sleep calculator works

This sleep calculator works backward or forward from the time you choose to suggest bedtimes and wake-up times that line up with the end of a sleep cycle. Enter the time you need to get up, and it lists times to fall asleep. Enter the time you plan to go to bed, or just tap Sleep now, and it lists times to wake up. Each option shows how many cycles it covers and the total sleep it gives you, tagged as recommended, too short or too long for your age group.

What is a sleep cycle?

During the night your brain moves through repeating cycles of sleep stages. A cycle starts with light sleep (N1 and N2), drops into deep sleep (N3) and then rises into REM sleep, the stage in which most vivid dreaming happens. The average cycle lasts about 90 minutes, though it can be anywhere from roughly 80 to 100 minutes depending on the person and the night. Most people complete four to six cycles, which equals six to nine hours.

Why time your sleep around cycles?

Waking in the middle of deep sleep often leaves you foggy and groggy, a feeling called sleep inertia. Waking near the end of a cycle, when sleep is lighter, tends to feel easier. The calculator therefore suggests times that are a whole number of cycles plus the time it takes you to fall asleep. It is a useful planning aid, not a promise: cycle length varies, alarms interrupt at random points, and total sleep matters more than the exact minute you wake up.

Bedtime = wake-up time − (cycles × cycle length) − time to fall asleep

For example, if you must be up at 6:30 AM and you need about 15 minutes to fall asleep, then five 90-minute cycles (7 hours 30 minutes) mean getting into bed at 10:45 PM. Six cycles (9 hours) mean 9:15 PM, and four cycles (6 hours) mean 12:15 AM.

Habits that make the calculator work better

Frequently asked questions

How long is a sleep cycle?

About 90 minutes on average, with a normal range of roughly 80 to 100 minutes. The first cycles contain more deep sleep, and later cycles contain more REM sleep.

What time should I go to bed if I wake up at 6 AM?

If you fall asleep in about 15 minutes, going to bed at 10:15 PM gives you five full cycles (7.5 hours) and 8:45 PM gives six. Enter 6:00 AM as your wake-up time and the calculator lists each option with the total sleep it provides.

Is five cycles enough?

Five 90-minute cycles equal 7.5 hours, which is inside the recommended range for most adults. Four cycles (6 hours) is below it for most people, though some feel fine on it occasionally.

Are the sleep-stage graphs accurate?

They are estimates built from average adult sleep structure: more deep sleep early, more REM later. Your own pattern will differ, and a sleep tracker or sleep study would be needed to see it.

Is my information saved or shared?

The calculator remembers your last choices in your own browser so you do not have to re-enter them. Nothing is sent to a server.

Related tools

AD

How this tool is checked

Last regular check

How it calculates Bedtime is the wake-up time minus the chosen number of sleep cycles times the cycle length, minus the time it takes to fall asleep.

How we check Before release, results go through calculation regression tests plus screen and accessibility checks, and the check date changes only when these checks pass again.

Run by Toolssok · About · Report an error