Skip to content
CalculatorBuddy

Sleep Calculator

Find when to go to bed or wake up using complete sleep cycles, or from a chosen sleep length — including time to fall asleep.

Bed or wake times that land at the end of a complete sleep cycle so you wake between cycles.

ExampleSample values — edit any field to see your result.

I want to
AM / PM

Results update as you type.

Go to bed at

Recommended

10:15 PM or 8:45 PM

5 or 6 complete sleep cycles

Estimated result

To wake up at 6:00 AM, go to bed at one of these times. Times include 15 minutes to fall asleep.

Sleep cycle times

BedtimeCyclesSleepNote
10:15 PM57 hours, 30 minutesRecommended
8:45 PM69 hoursRecommended
7:15 PM710 hours, 30 minutes
11:45 PM46 hours
1:15 AM34 hours, 30 minutes
2:45 AM23 hours
4:15 AM11 hour, 30 minutes

Find when to go to bed or wake up so you finish a complete sleep cycle, or pick a sleep length and get a single bedtime or alarm. Times wrap past midnight and, in the cycle tab, include the minutes you take to fall asleep.

Formula

Sleep-cycle times count whole cycles on a 24-hour clock (1,440 minutes). The active target is a wake time or a bedtime:

bedtime   = wakeTime − fallAsleep − n × cycleLength
wakeTime  = bedtime  + fallAsleep + n × cycleLength

n runs from 1 to 7. Results are shown in the order 5, 6 (recommended), then 7, 4, 3, 2, 1, each wrapped with mod 1,440. Defaults are a 90-minute cycle and 15 minutes to fall asleep.

Sleep length is the same clock arithmetic without cycles:

bedtime  = wakeTime − duration
wakeTime = bedtime  + duration

Cycle length is an average, not a stopwatch. Adult cycles often run 80–110 minutes and get longer toward morning. Treat the highlighted 5- and 6-cycle times as targets, not exact alarms.

How much sleep by age

CDC-recommended hours of sleep per 24 hours (naps included where noted):

Age groupRecommended sleep
0–3 months14–17 hours
4–12 months12–16 hours (including naps)
1–2 years11–14 hours (including naps)
3–5 years10–13 hours (including naps)
6–12 years9–12 hours
13–18 years8–10 hours
18–60 years7 or more hours per night
61–64 years7–9 hours
65 years and older7–8 hours

Sleep cycles, REM, and quality

A cycle is the swing from non-REM sleep (including deep, slow-wave sleep) into REM sleep, when most dreaming happens. The brain uses less energy in non-REM and restores ATP; growth hormone is secreted in slow-wave sleep. REM is a smaller share of the night. Waking in the middle of a cycle — especially deep sleep — is what makes alarms feel brutal; landing at the end of a cycle is the point of the times above.

Sleep timing also follows the circadian clock. Jet lag is that clock still running on the old local time. Light, work hours, naps, and genetics all shift when you actually fall asleep. Sleep quality is how easily you fall and stay asleep, how often you wake, and how rested you feel — not only hours in bed.

Examples

Wake at 6:00 AM (90-minute cycles, 15 minutes to fall asleep)

Five cycles back from 6:00 AM is 10:15 PM; six cycles is 8:45 PM. Those two are recommended. The rest of the list is 7:15 PM, 11:45 PM, 1:15 AM, 2:45 AM, and 4:15 AM.

Go to bed at 11:00 PM (100-minute cycles, 20 minutes to fall asleep)

Five cycles forward is 7:40 AM; six is 9:20 AM. Then 11:00 AM, 6:00 AM, 4:20 AM, 2:40 AM, and 1:00 AM.

Sleep length of 7 hours 30 minutes before a 6:00 AM wake

Subtract 7 hours 30 minutes from 6:00 AM to get a bedtime of 10:30 PM. Going to bed at 11:00 PM and sleeping 8 hours 15 minutes lands a wake time of 7:15 AM.

Frequently asked questions

How does the sleep cycle calculator work?
It counts complete cycles of non-REM and REM sleep, which average about 90 minutes in adults. For a wake time, bedtime is wake time minus the minutes you take to fall asleep minus n times the cycle length, for n from 1 through 7, wrapped around the 24-hour clock. For a bedtime, wake times are that sum added forward. Five and six cycles (about 7.5 and 9 hours of sleep at 90 minutes) are marked recommended.
Why are 5 and 6 sleep cycles recommended?
A typical night has about 4–6 full cycles. Five 90-minute cycles are 7.5 hours of sleep and six are 9 hours — the range most adults do well with. Shorter nights (1–4 cycles) are listed so you can see emergency options; seven cycles is extra sleep if you are catching up.
Why does the calculator add time to fall asleep?
You are not asleep the moment you get into bed. The default 15 minutes is a typical sleep-onset delay. Open Sleep cycle settings to change it (or the 90-minute cycle length) if you know your own numbers. Cycle times already include that delay, so 10:15 PM for a 6:00 AM alarm means lights out at 10:15, not 10:30.
How is sleep length different from sleep cycles?
Sleep length ignores cycles and just subtracts or adds a duration you choose. Waking at 6:00 AM after 7 hours 30 minutes means a 10:30 PM bedtime. If you already know both clock times and want the hours between them, use the Time Calculator instead.
How much sleep do I need?
Needs vary with age and the person. CDC guidance is 14–17 hours for newborns, stepping down through childhood to 8–10 hours for teens, 7 or more hours for adults 18–60, 7–9 hours at 61–64, and 7–8 hours at 65+. Feeling alert in the daytime is a better check than any single number.

Related calculators