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.
| Bedtime | Sleep | Your age |
|---|---|---|
| 9:15 pm | 9 h | In range |
| 10:45 pm | 7 h 30 min | In range |
| 12:15 am | 6 h | Short |
| 1:45 am | 4 h 30 min | Short |
Show steps
- The CDC recommends 7 or more hours for adults 18 to 60, which is at least 420 minutes.
- Find the fewest whole cycles that reach it: 5 × 90 = 450 minutes (7 h 30 min), while 4 cycles give only 360 minutes.
- Add the time to fall asleep: 450 + 15 = 465 minutes in bed (7 h 45 min).
- Count back from 6:30 am: 6:30 am − 7 h 45 min = 10:45 pm.
How to use the sleep calculator
- Choose your age group. The calculator uses it to pick enough cycles to meet the CDC’s recommended hours.
- 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.
- 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.
- Keep the defaults of 15 minutes to fall asleep and 90-minute cycles, or change them if you know your own pattern.
- 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
- Target: at least 7 hours = 420 minutes. Five cycles: 5 × 90 = 450 minutes, which is enough.
- Time in bed: 450 + 15 = 465 minutes = 7 h 45 min.
- 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
- Asleep by 11:00 pm + 15 min = 11:15 pm.
- Five cycles later: 11:15 pm + 7 h 30 min = 6:45 am.
- Six cycles later: 11:15 pm + 9 h = 8:15 am.
Example 3: a teenager who wakes at 6:15 am
- 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.
- Time in bed: 540 + 15 = 555 minutes = 9 h 15 min.
- Bedtime: 6:15 am − 9 h 15 min = 9:00 pm.
Example 4: checking last night
- In bed from 10:30 pm to 6:00 am: 7 h 30 min = 450 minutes.
- Sleep: 450 − 15 = 435 minutes = 7 h 15 min, which meets the 7-hour minimum for adults.
- 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.
- CDC: About Sleep (recommended hours of sleep by age, from AASM and NSF consensus statements)
- NINDS (NIH): Brain Basics, Understanding Sleep
- Patel AK, Reddy V, Shumway KR, Araujo JF. Physiology, Sleep Stages. StatPearls, NCBI Bookshelf (updated January 26, 2024)
- National Sleep Foundation: Sleep Quality At-A-Glance (falling asleep in 30 minutes or less)
- Mayo Clinic: Napping, do’s and don’ts for healthy adults
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.
5 × 90 = 450 minutes = 7 h 30 min. Add 15 minutes: 7 h 45 min before 7:00 am is 11:15 pm. 11:30 pm forgets the 15 minutes to fall asleep.
Asleep at 10:45 pm, then 7 h 30 min later is 6:15 am. 6:00 am leaves out the time to fall asleep.
The CDC recommends 7 or more hours per day for adults 18 to 60. 8 to 10 hours is the teen recommendation.
7 hours = 420 minutes. 4 cycles give only 360 minutes, and 5 cycles give 450 minutes, so 5 is the fewest.
6 × 90 = 540 minutes = 9 hours, which is between 8 and 10. 5 cycles are too short and 7 cycles are too long.
11:00 pm to 6:30 am is 7 h 30 min in bed. Subtract 15 minutes: 7 h 15 min of sleep.
2:00 pm + 10 minutes = 2:10 pm asleep, + 20 minutes = 2:30 pm. 2:20 pm forgets the time to fall asleep.
435 ÷ 90 ≈ 4.83, so you woke about three-quarters of the way through cycle 5.
Quiz complete
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
- Time calculator to add or subtract hours and minutes
- Age calculator
- Water intake calculator
- Calories burned calculator
- TDEE calculator
Related to This Article
More math articles
- The Ultimate 6th Grade K-PREP Math Course (+FREE Worksheets)
- The Best Grade 8 Math Book for Iowa Students
- The Best Grade 4 Math Book for Massachusetts Students
- Energy and Simple Machines
- Durkheim, Functions, and Anomie
- FREE 3rd Grade Georgia Milestones Assessment System Math Practice Test
- Powhatan Relations and Warfare: Trade, Land and the Wars
- North Dakota NDSA Grade 5 Math Prep, the Calm Way: 49 Free Single-Skill Worksheet PDFs
- Coattail effects
- Top 10 Tips You MUST Know to Retake the ASTB-E Math


What people say about "Sleep Calculator: Bedtime & Wake-Up Times by Sleep Cycle"?
No one replied yet.