About this calculator
Sleep runs in cycles of about 90 minutes, moving from light sleep into deep sleep and REM, then back to light sleep. Waking at the end of a cycle — when sleep is lightest — feels far easier than being dragged out of deep sleep mid-cycle, even if the total hours are the same. That is why 7.5 hours (5 cycles) often feels better than 8 hours that ends mid-cycle.
This calculator works in either direction. Give it the time you must wake up and it counts backwards in 90-minute steps (plus the minutes you need to fall asleep) to find your bedtimes. Give it your bedtime and it counts forwards to your wake-up times. The age-group table below shows the National Sleep Foundation's recommended nightly ranges — a guide for how many cycles to aim for, not a diagnosis.
How to use it
- Choose whether you are planning from your wake-up time or your bedtime.
- Enter the time, pick how long it usually takes you to fall asleep, and pick your age group.
- Take the 5-cycle time as your default — 4 cycles if you are short on time, 6 if you can afford a long night.
The formula
Each cycle is taken as 90 minutes, the widely used average (real cycles run about 70–110 minutes and lengthen across the night). Five cycles give 7.5 hours of sleep; four give 6 hours and six give 9 hours. The fall-asleep delay is added because the cycles only start once you are actually asleep.
Worked example
You must wake at 7:00 and usually take 15 minutes to fall asleep. Five cycles are 7.5 hours, so 7:00 minus 7 hours 30 minutes minus 15 minutes is 23:15 — that is your bedtime. Four cycles would be 00:45 (6 hours of sleep) and six cycles 21:45 (9 hours). An adult's recommended range is 7–9 hours, so the 5-cycle option sits right in the middle of it.
Sources: 90-minute average sleep cycle; age-group nightly ranges from the National Sleep Foundation (newborns 14–17 hours down to older adults 7–8 hours). Ranges are a guide, not a diagnosis. Last updated: October 2026.
Frequently asked questions
Why 90 minutes per cycle?
A full sleep cycle — light sleep, deep sleep, REM, back to light — averages about 90 minutes in adults. It is an average, not a stopwatch: real cycles vary from roughly 70 to 110 minutes and REM gets longer later in the night. The calculator is a planning guide, not a measurement of your actual sleep.
Is 5 cycles (7.5 hours) enough?
For most adults aged 26–64 the National Sleep Foundation recommends 7–9 hours, so 7.5 hours is inside the range — and waking at a cycle boundary often matters more than the extra half hour. Teens need 8–10 hours (6 cycles is closer), and older adults 7–8 hours. If you still wake tired on 5 cycles, try 6.
What if I wake up in the middle of the night?
That is normal — brief awakenings between cycles happen most nights and are usually forgotten. If you are awake for more than about 20 minutes, sleep experts suggest getting up and doing something quiet in dim light until you feel sleepy again, rather than watching the clock in bed.
Do naps count as cycles?
A 20-minute nap stays in light sleep and avoids grogginess; a full 90-minute nap completes one cycle. Naps of 30–60 minutes tend to end in deep sleep and leave you groggy — the same mid-cycle problem this calculator helps you avoid at night.
What formula does this sleep cycle calculator use?
Bedtime = wake-up time − (cycles × 90 min) − minutes to fall asleep; Wake-up time = bedtime + minutes to fall asleep + (cycles × 90 min) Each cycle is taken as 90 minutes, the widely used average (real cycles run about 70–110 minutes and lengthen across the night). Five cycles give 7.5 hours of sleep; four give 6 hours and six give 9 hours. The fall-asleep delay is added because the cycles only start once you are actually asleep. The worked example on this page applies the formula step by step with real numbers, so you can verify the result by hand.