ClockWithUs .COM
Sleep calculator

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 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

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 at6 cycles (9 h)5 cycles (7.5 h)4 cycles (6 h)
5:00 AM7:45 PM9:15 PM10:45 PM
5:30 AM8:15 PM9:45 PM11:15 PM
6:00 AM8:45 PM10:15 PM11:45 PM
6:30 AM9:15 PM10:45 PM12:15 AM
7:00 AM9:45 PM11:15 PM12:45 AM
7:30 AM10:15 PM11:45 PM1:15 AM
8:00 AM10:45 PM12:15 AM1: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