Sleep Calculator
What time should you go to bed, or wake up? Work it out in whole sleep cycles, then set the alarm in one click.
Settings
How much sleep do I need?
Recommended daily sleep by age, from the US Centers for Disease Control and Prevention (CDC):
| 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 CDC's figures come from the National Sleep Foundation and from consensus statements of the American Academy of Sleep Medicine and the Sleep Research Society.
Sleep cycles, REM sleep and deep sleep
According to the National Institute of Neurological Disorders and Stroke (NIH), sleep has two basic types — REM and non-REM — and non-REM sleep has three stages:
- Stage 1 — a brief transition out of being awake that usually lasts several minutes.
- Stage 2 — light sleep; you spend more of your repeated sleep cycles in this stage than in any other.
- Stage 3 (deep sleep) — the sleep that helps you feel rested; it comes in longer periods during the first half of the night.
- REM sleep — when most dreaming happens. It first occurs about 90 minutes after falling asleep, and REM periods get longer later in the night.
You cycle through these stages several times a night. NIH gives no single target for how much REM or deep sleep you need, so this page doesn't either; the calculator simply helps you wake at the end of a cycle rather than in the middle of one.
Naps
Choose Nap now above to see when a 20-minute nap, a 30-minute nap or one full sleep cycle would end, then set the alarm. If you nap often or still feel very sleepy during the day, it is worth talking to a doctor.
Sleep debt calculator
Enter the hours you slept on recent nights (leave blank any you don't remember). The total is compared with the CDC minimum for the age group you picked above.
Bedtimes for common wake-up times
Assuming 15 minutes to fall asleep and 90-minute cycles.
| 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 |
Just need the clock time a set number of hours ahead? See 8 hours from now or the time from now calculator.
Frequently asked questions
- What time should I go to bed if I wake up at 6 AM?
- Go to bed at 10:15 PM for five 90-minute cycles (7.5 hours of sleep) or at 8:45 PM for six cycles (9 hours), allowing 15 minutes to fall asleep. Going to bed at 11:45 PM gives four cycles (6 hours), which is below the CDC's 7-hour minimum for adults.
- What time should I go to bed if I wake up at 7 AM?
- Go to bed at 11:15 PM for five 90-minute cycles (7.5 hours) or 9:45 PM for six (9 hours), allowing 15 minutes to fall asleep.
- How much sleep do adults need?
- The CDC recommends 7 or more hours a day for adults aged 18–60, 7–9 hours for 61–64, and 7–8 hours for 65 and older.
- How much sleep do teenagers need?
- The CDC recommends 8–10 hours a day for teens aged 13–17.
- How long is a sleep cycle?
- NIH's National Institute of Neurological Disorders and Stroke says REM sleep first occurs about 90 minutes after falling asleep, and that you cycle through non-REM and REM sleep several times a night. Cycle length varies, so this calculator lets you change the 90-minute default.
- How does the sleep calculator work?
- It counts back (or forward) in whole sleep cycles from the time you enter and adds the minutes you usually need to fall asleep. Waking at the end of a cycle, rather than in the middle, is the idea behind it; the 90-minute cycle is an average, not an exact rule.
This calculator is for general information and is not medical advice. If you regularly have trouble sleeping, talk to a doctor. Sources: CDC, "About Sleep"; NIH NINDS, "Brain Basics: Understanding Sleep" (both checked 12 November 2026).
Related guides
- Sleep Cycles Explained: The 90-Minute Rule for Better Mornings
- How Long Should I Nap? Science of the Power Nap
- What Time Should I Wake Up if I Need to Be at Work by 8?
- Circadian Rhythm Reset: How to Fix Your Sleep Schedule in 7 Days
- Polyphasic Sleep: Schedules Explained and Who Should Try It
- Best Wake-Up Times for Different Sleep Goals (Calculator Included)