Sleep Calculator

A sleep calculator counts back from your wake-up time in sleep cycles of about 90 minutes, then adds the time it takes to fall asleep. To wake at 6:30 am after 5 cycles, subtract 5 × 90 = 450 minutes (7 h 30 min) and 15 minutes more: go to bed at 10:45 pm. Adults 18 to 60 need 7 or more hours.

Sleep cycles
Cycles average about 90 minutes but vary from person to person and night to night (about 90 to 110 minutes), so treat the times as a guide. Change the two settings if you know your own pattern.
Go to bed at
10:45 pmfor 5 cycles

To wake at 6:30 am after 5 full 90-minute cycles (7 h 30 min of sleep), get into bed at 10:45 pm. That allows 15 minutes to fall asleep. The CDC recommends 7 or more hours for adults 18 to 60.
Wake-up time6:30 am
Sleep7 h 30 min
Time in bed7 h 45 min
Recommended7 or more hours
Bedtimes for 6:30 amEach row ends at the end of a cycle
Bedtime Cycles Sleep Your age
9:15 pm 6 9 h In range
10:45 pm 5 7 h 30 min In range
12:15 am 4 6 h Short
1:45 am 3 4 h 30 min Short
“In range” means the sleep time is within the CDC recommendation for adults 18 to 60 (7 or more hours).
Formula with your numbers
bedtime = wake-up time − (cycles × cycle length) − time to fall asleep
= 6:30 am − (5 × 90 min) − 15 min = 10:45 pm
Show steps
  1. The CDC recommends 7 or more hours for adults 18 to 60, which is at least 420 minutes.
  2. Find the fewest whole cycles that reach it: 5 × 90 = 450 minutes (7 h 30 min), while 4 cycles give only 360 minutes.
  3. Add the time to fall asleep: 450 + 15 = 465 minutes in bed (7 h 45 min).
  4. Count back from 6:30 am: 6:30 am − 7 h 45 min = 10:45 pm.
The cycle model assumes every cycle has the same length. Real cycles vary: early cycles hold more deep sleep and later ones more REM sleep, so the times are a guide, not a guarantee.
The cycle method is a simple model, not a measurement of your sleep, and this is not medical advice. If you regularly have trouble falling asleep, wake up often during the night or feel tired even after enough sleep, talk with a healthcare provider.

How to use the sleep calculator

  1. Choose your age group. The calculator uses it to pick enough cycles to meet the CDC’s recommended hours.
  2. Pick a mode: Wake up at gives bedtimes, Go to bed at gives wake-up times, Nap gives an alarm time, and Hours slept checks a night you already had.
  3. Enter the time. The Now button fills in the current time if you are going to bed or lying down for a nap right away.
  4. Keep the defaults of 15 minutes to fall asleep and 90-minute cycles, or change them if you know your own pattern.
  5. Read the main answer, compare the other options in the table, and open Show steps for the working.

How sleep cycles work

Sleep comes in two basic types, non-REM and REM (rapid eye movement) sleep. Non-REM sleep has three stages, from light sleep to deep sleep. The National Institute of Neurological Disorders and Stroke (NINDS) explains that REM sleep first occurs about 90 minutes after falling asleep, and that you cycle through non-REM and REM sleep several times a night.

A review in NIH’s StatPearls describes the body cycling through all stages about 4 to 6 times a night, averaging 90 minutes per cycle, with a complete cycle taking roughly 90 to 110 minutes. The cycles are not identical. Deep sleep comes mostly in the first half of the night, and REM periods grow longer toward morning.

The idea behind the calculator is simple. Waking at the end of a cycle, when sleep is lighter, may feel easier than waking out of deep sleep in the middle of one. Because cycle length varies between people and through the night, the times are a planning guide, not a precise prediction.

Sleep calculator formula

bedtime = wake-up time − (number of cycles × cycle length) − time to fall asleep

wake-up time = bedtime + time to fall asleep + (number of cycles × cycle length)

The number of cycles is the smallest whole number that reaches the low end of the recommended hours for your age. For adults 18 to 60 that is 7 hours, or 420 minutes. Four 90-minute cycles give 360 minutes, which is too little, and 5 cycles give 450 minutes, so the calculator picks 5. The table under the answer shows the other choices too.

The default of 15 minutes to fall asleep is a planning number, not a target. The National Sleep Foundation lists falling asleep in 30 minutes or less as one sign of good sleep quality.

How much sleep do you need by age?

These are the CDC’s recommended hours per day. The CDC bases them on the American Academy of Sleep Medicine (AASM) and the National Sleep Foundation.

Age group Age Recommended sleep per day
Newborn 0–3 months 14–17 hours
Infant 4–12 months 12–16 hours, including naps
Toddler 1–2 years 11–14 hours, including naps
Preschool 3–5 years 10–13 hours, including naps
School age 6–12 years 9–12 hours
Teen 13–17 years 8–10 hours
Adult 18–60 years 7 or more hours
Adult 61–64 years 7–9 hours
Adult 65 years and older 7–8 hours

The calculator covers ages 6 and up. Babies and young children sleep in shorter cycles and take daytime naps, so a 90-minute model does not fit them well. Use the hours in the table for them instead.

Bedtimes for common wake-up times

All times assume 90-minute cycles and 15 minutes to fall asleep. Six cycles is 9 hours of sleep, 5 cycles is 7 h 30 min, and 4 cycles is 6 hours, which is less than adults need.

Wake up at 6 cycles (9 h) 5 cycles (7.5 h) 4 cycles (6 h)
5:00 am 7:45 pm 9:15 pm 10:45 pm
5:30 am 8:15 pm 9:45 pm 11:15 pm
6:00 am 8:45 pm 10:15 pm 11:45 pm
6:30 am 9:15 pm 10:45 pm 12:15 am
7:00 am 9:45 pm 11:15 pm 12:45 am
7:30 am 10:15 pm 11:45 pm 1:15 am
8:00 am 10:45 pm 12:15 am 1:45 am

Worked sleep calculator examples

Example 1: an adult who wakes at 6:30 am

  1. Target: at least 7 hours = 420 minutes. Five cycles: 5 × 90 = 450 minutes, which is enough.
  2. Time in bed: 450 + 15 = 465 minutes = 7 h 45 min.
  3. Bedtime: 6:30 am − 7 h 45 min = 10:45 pm. With 6 cycles it would be 9:15 pm.

Example 2: going to bed at 11:00 pm

  1. Asleep by 11:00 pm + 15 min = 11:15 pm.
  2. Five cycles later: 11:15 pm + 7 h 30 min = 6:45 am.
  3. Six cycles later: 11:15 pm + 9 h = 8:15 am.

Example 3: a teenager who wakes at 6:15 am

  1. Teens 13 to 17 need 8 to 10 hours. Five cycles (7.5 h) fall short, so use 6 cycles: 6 × 90 = 540 minutes = 9 hours.
  2. Time in bed: 540 + 15 = 555 minutes = 9 h 15 min.
  3. Bedtime: 6:15 am − 9 h 15 min = 9:00 pm.

Example 4: checking last night

  1. In bed from 10:30 pm to 6:00 am: 7 h 30 min = 450 minutes.
  2. Sleep: 450 − 15 = 435 minutes = 7 h 15 min, which meets the 7-hour minimum for adults.
  3. Cycles: 435 ÷ 90 ≈ 4.83, so the alarm rang about 75 minutes into cycle 5. Waking at 6:15 am would have finished it.

How long should a nap be?

Mayo Clinic’s advice for healthy adults is that a 20- to 30-minute nap is ideal, and to avoid regularly napping longer than 30 minutes. The longer you nap, the more likely you are to feel groggy afterward. Mayo Clinic also notes that napping after 3 pm can make it harder to sleep at night. The Nap mode adds your time to fall asleep and gives alarm times for 20 and 30 minutes, plus one full 90-minute cycle for comparison. It warns you if the nap would end after 3 pm. For example, lying down at 1:00 pm with 15 minutes to fall asleep gives an alarm at 1:35 pm.

Common sleep calculator mistakes

  • Forgetting the time to fall asleep. Bedtime is when you get into bed, not when you fall asleep. Leaving out 15 minutes shifts every answer.
  • Treating 90 minutes as exact. Cycles run about 90 to 110 minutes and change through the night. If you often wake just before your alarm, try a longer cycle setting.
  • Choosing fewer cycles to wake “between cycles.” Four cycles is only 6 hours. Getting enough total sleep for your age matters more than hitting a cycle boundary.
  • Mixing up am and pm. In Hours slept mode, an overnight sleep runs from pm to am. The calculator flags more than 16 hours in bed as a likely mistake.

When to talk to a doctor

The CDC lists three signs of poor sleep quality: trouble falling asleep, repeatedly waking up during the night, and feeling sleepy or tired even after getting enough sleep. It advises talking to your healthcare provider if you regularly have problems sleeping. This calculator is a planning aid, not medical advice.

Sources

All sources checked November 2026.

Sleep Cycle practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. You want to wake at 7:00 am after 5 sleep cycles of 90 minutes and need 15 minutes to fall asleep. When should you go to bed?

Found a mistake? Let us know!

2. How many minutes of sleep are in 6 cycles of 90 minutes?

Found a mistake? Let us know!

3. You go to bed at 10:30 pm, fall asleep in 15 minutes and sleep 5 cycles of 90 minutes. When do you wake up?

Found a mistake? Let us know!

4. According to the CDC, how much sleep do adults aged 18 to 60 need?

Found a mistake? Let us know!

5. What is the fewest number of 90-minute cycles that gives an adult at least 7 hours of sleep?

Found a mistake? Let us know!

6. A teenager (13 to 17) needs 8 to 10 hours. With 90-minute cycles, which number of cycles falls inside that range?

Found a mistake? Let us know!

7. You were in bed from 11:00 pm to 6:30 am and took 15 minutes to fall asleep. How long did you sleep?

Found a mistake? Let us know!

8. If your sleep cycles are 100 minutes long, how much sleep do 5 cycles give?

Found a mistake? Let us know!

9. You lie down for a nap at 2:00 pm, take 10 minutes to fall asleep and want a 20-minute nap. When should the alarm ring?

Found a mistake? Let us know!

10. You slept 435 minutes with 90-minute cycles. About how many cycles is that?

Found a mistake? Let us know!

Frequently asked questions

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

With 90-minute cycles and 15 minutes to fall asleep, aim for 10:15 pm (5 cycles, 7 h 30 min of sleep) or 8:45 pm (6 cycles, 9 hours). Going to bed at 11:45 pm gives only 4 cycles, or 6 hours, which is less than the 7 hours adults need.

How many sleep cycles do I need?

Adults 18 to 60 need 7 or more hours, which takes at least 5 cycles of 90 minutes (7.5 hours). Teens need 8 to 10 hours, which is about 6 cycles. StatPearls describes 4 to 6 cycles in a typical night.

Is it better to sleep 6 or 7.5 hours?

7.5 hours. Six hours ends neatly after 4 cycles, but it is below the CDC's 7-hour minimum for adults. Waking at the end of a cycle does not make up for too little sleep overall.

How long does it take to fall asleep?

It varies. Many sleep calculators assume 15 minutes, and the National Sleep Foundation counts falling asleep in 30 minutes or less as a sign of good sleep quality. Set the value that matches you.

Are sleep cycles always 90 minutes?

No. 90 minutes is an average. Cycles usually last about 90 to 110 minutes and change through the night, with more deep sleep early and more REM sleep later. That is why the calculator lets you change the cycle length.

Related calculators

Related to This Article

What people say about "Sleep Calculator: Bedtime & Wake-Up Times by Sleep Cycle"?

No one replied yet.

Leave a Reply