Calculator

How this sleep calculator works

Each result adds a 15-minute wind-down to a whole number of 90-minute sleep cycles. Sleep cycles — the pattern of light sleep, deep sleep and REM sleep your brain repeats all night — average about 90 minutes in adults, and waking at the end of one, rather than in the middle of deep sleep, is when people most often feel reasonably alert. The five-cycle option (7½ hours in bed) is the sweet spot for most adults and meets the American Academy of Sleep Medicine’s recommendation of 7 or more hours; the six-cycle option suits people who know they need more. Four cycles (6 hours) is shown only for honesty: it is below that minimum, and regularly sleeping that little is worth a conversation with a doctor.

How much sleep do you need by age?

The calculator flags every option against the recommended hours for the age group you pick. The ranges below are the AASM and CDC consensus recommendations:

Age groupRecommended hours
Infants 4–12 months12–16, including naps
Toddlers 1–2 years11–14, including naps
Children 3–5 years10–13, including naps
Children 6–12 years9–12
Teenagers 13–178–10
Adults 18–647 or more
Adults 65+7–8

For children under about 13, sleep cycles run shorter than 90 minutes, so cycle counting is a rough guide at best — the number that matters is total hours. See sleep care for kids for more.

Common questions

What time should I go to sleep?

Work backwards from your alarm: subtract 15 minutes for falling asleep, then subtract 90 minutes for each cycle you want — five or six cycles for most adults. Enter your alarm in the calculator above and it lists the bedtimes for you.

How long did I sleep?

Use the “know how long I slept” mode: enter the time you went to bed and the time you woke. The calculator estimates time asleep by subtracting the 15-minute wind-down, then counts how many complete 90-minute cycles fit inside it.

Is the 90-minute rule accurate?

It is a useful planning rule, not biology. Cycle length genuinely varies from about 70 to 120 minutes between people and across the night. Treat the calculator as a way to avoid setting an alarm mid-cycle, and put consistency and total hours first — if you sleep enough and still wake exhausted, that is worth an evaluation; the directory lists accredited sleep centers that can help.

The guides in this section are general education drawn from the American Academy of Sleep Medicine’s public patient resources. They are not medical advice and cannot replace an evaluation by a qualified clinician.