← Time & Date

Sleep Calculator

Bedtimes for the alarm you need, or wake-up times for the bedtime you have, timed to finish whole 90-minute sleep cycles.

Your schedule

Assumptions

Adults average about 90 minutes per cycle and 10 to 20 minutes to fall asleep. Adjust if you know your own numbers.

Shift my schedule

Moves tonight's bedtime (the best option above) toward the target in equal steps, the gradual approach sleep clinics suggest for resetting a schedule.
Best bedtime
–

Bedtime options

How each option adds up

CyclesBedtimeAsleep byWakeTotal sleep

Nap timing from now

NapLengthSet alarm forWhy

Schedule shift plan

NightBedtimeWakeChange

Recommended sleep by age

Age groupHours per dayAbout
Newborn (0–3 months)14–179–11 cycles
Infant (4–11 months)12–158–10 cycles
Toddler (1–2 years)11–147–9 cycles
Preschool (3–5 years)10–137–9 cycles
School age (6–13 years)9–116–7 cycles
Teen (14–17 years)8–105–7 cycles
Adult (18–64 years)7–95–6 cycles
Older adult (65+)7–85 cycles
Ranges from the National Sleep Foundation's 2015 duration recommendations; cycle counts assume 90-minute cycles.

About this tool

This sleep calculator suggests when to go to bed for a given alarm time, or when to set the alarm for a given bedtime, so that you wake at the end of a sleep cycle rather than in the middle of deep sleep. It lists options for four, five, and six cycles (six and five are highlighted as the usual adult range of 7.5 to 9 hours), shows the total sleep for each, and lets you change the cycle length and the minutes you typically take to fall asleep. A reference table of recommended sleep by age is included. It is meant for anyone setting an alarm, planning an early flight, or adjusting a schedule for shift work or a new time zone.

How it works

Sleep is modeled as repeated cycles of light, deep, and REM sleep averaging about 90 minutes each, following the classic sleep-stage research summarized by the National Sleep Foundation and the American Academy of Sleep Medicine. Bedtime for N cycles is the wake time minus N times the cycle length minus the time to fall asleep (15 minutes by default), wrapped around midnight. Wake-up time for a bedtime is the reverse: bedtime plus the fall-asleep allowance plus N cycles. Total sleep excludes the fall-asleep allowance. The default 90 minutes is an average; individual cycles range from roughly 70 to 120 minutes, so treat the results as a starting point to adjust from.

Frequently asked questions

Why 90-minute cycles?

A typical night moves through light sleep, deep (slow-wave) sleep, and REM in cycles that average about 90 minutes, with the first cycles heavier in deep sleep and later ones heavier in REM. Waking at the end of a cycle, when sleep is lightest, tends to feel easier than waking from deep sleep. The 90-minute figure is an average; if you consistently wake groggy, try shifting the cycle length by 5 or 10 minutes.

How many cycles should an adult aim for?

Five to six cycles, or 7.5 to 9 hours of actual sleep, matches the 7 or more hours the American Academy of Sleep Medicine and the CDC recommend for adults aged 18 to 64. Four cycles (6 hours) is a fallback for a short night, not a target. Teenagers need 8 to 10 hours and school-age children 9 to 12, as shown in the age table.

Why add 15 minutes to fall asleep?

Healthy adults typically take 10 to 20 minutes to fall asleep after lights out, a figure called sleep latency. The calculator subtracts this allowance from your bedtime so the cycles start when you are actually asleep. If you usually drift off within a few minutes, lower it; if you often lie awake for half an hour, raise it.

Is this medical advice?

No. The calculator applies an average cycle length to arithmetic on clock times. It cannot detect sleep disorders, and it does not replace advice from a doctor or sleep specialist. Persistent trouble falling asleep, staying asleep, or feeling rested despite enough hours in bed is worth discussing with a clinician.

Related tools

Life in Weeks · Age Calculator · Days Between Dates · Date Calculator · Countdown to a Date · Online Timer · Stopwatch · Pomodoro Timer · World Clock · Time Zone Converter · Meeting Time Planner · UTC Time Converter

Browse all Time & Date Tools, or go back to every free tool on HeroYears.