Sleep Calculator (Bedtime & Wake-Up Time)
Find a bedtime for the time you need to wake up, or a wake-up time for when you go to bed, counted in whole sleep cycles plus the time it takes you to fall asleep, and checked against the CDC’s recommended hours for your age.
How to Use
- Choose Wake up at to get bedtimes, or Go to bed at to get wake-up times. Now fills in the current time.
- Enter the time: 6:30, 6:30 am, 22:30 and 10:30 pm all work.
- Set how many minutes you usually take to fall asleep, and the cycle length if you want something other than the 90-minute average.
- Pick an age group so the plan meets the CDC’s recommended hours of sleep for that age.
- Read the suggested time and the other whole-cycle options in the table, and check Show Work for each step.
Worked Example
Waking at 6:30 AM. An adult needs 7 or more hours (CDC). Five 90-minute cycles is 450 minutes, 7 hours 30 minutes. Add 15 minutes to fall asleep and count back from 6:30: 6:30 − 15 min − 450 min = 10:45 PM, for 7 hours 45 minutes in bed. Six cycles (9 hours) would mean 9:15 PM.
Going to bed at 10:30 PM. Count forward: 22:30 + 15 min + 450 min = 6:15 AM for five cycles, or 7:45 AM for six.
The common mistake: forgetting the time it takes to fall asleep. Counting five cycles straight back from a 6:30 AM alarm gives 11:00 PM, but if you take 15 minutes to drop off you are then only asleep for 7 hours 15 minutes and the alarm lands part-way into a cycle. The right bedtime is 10:45 PM; with 30 minutes to fall asleep it is 10:30 PM.
Show Work
Formulas
Sleep Cycles and Recommended Hours
Sleep is not one even state. NHLBI describes two phases, rapid eye movement (REM) and non-REM sleep, with non-REM split into three stages from the light transition into sleep down to deep, slow-wave sleep. The pattern repeats through the night: the cycle starts over every 80 to 100 minutes, there are usually four to six cycles, and you may wake briefly between them. Deep sleep comes mostly early in the night. That is where the familiar 90-minute figure comes from: it is a middle value, not a fixed clock.
The hours in the age table come from three consensus statements that the CDC summarises: the National Sleep Foundation’s recommendations (Hirshkowitz et al., 2015), the American Academy of Sleep Medicine’s statement for children and teens (Paruthi et al., 2016) and the joint AASM and Sleep Research Society statement for adults (Watson et al., 2015), which set “7 or more hours” for adults.
About This Tool
This calculator counts whole sleep cycles from a wake-up time or a bedtime, adds the minutes you take to fall asleep, and picks the smallest number of cycles that meets the CDC’s recommended hours for the age group you choose. It lists every option from three to seven cycles, draws the night as a bar of cycles, and lets you change the cycle length within the 80–100 minutes that NHLBI describes, because 90 minutes is only an average and no calculator can know where your own cycles fall.
Everything runs in your browser; nothing you enter is sent anywhere. If you regularly sleep badly, or feel sleepy during the day despite enough hours in bed, that is worth raising with a doctor.
For general information only — not medical advice. Talk to a doctor or other qualified professional about your own health.
Related tools: Caffeine Intake & Half-Life Calculator, Blood Pressure Category Checker, and BMI Calculator.
Frequently Asked Questions
How long is a sleep cycle?
About 90 minutes on average, but it varies. The National Heart, Lung, and Blood Institute (NHLBI) says you cycle through non-REM and REM sleep, the cycle starts over every 80 to 100 minutes, and there are usually four to six cycles a night. Set the cycle length to 80 or 100 to see how much the times move.
How much sleep do I need?
The CDC recommends 7 or more hours for adults aged 18–60, 7–9 hours at 61–64 and 7–8 hours from 65. Teens aged 13–17 need 8–10 hours and children aged 6–12 need 9–12. Five 90-minute cycles is 7.5 hours, which meets every adult recommendation.
What time should I go to bed to wake up at 6:30 AM?
For five cycles (7.5 hours) and 15 minutes to fall asleep, at 10:45 PM. For six cycles (9 hours), at 9:15 PM. If you take 30 minutes to fall asleep, move each time 15 minutes earlier: 10:30 PM for five cycles.
Why does the time to fall asleep matter?
The cycles only start once you are asleep, so the minutes you lie awake are added to the time in bed. Five cycles with 15 minutes to fall asleep means 7 hours 45 minutes in bed; with 30 minutes it is 8 hours. The 15-minute starting value is just a default, so set your own.
How much sleep do babies and young children need?
The CDC recommends 14–17 hours for newborns (0–3 months), 12–16 hours for infants (4–12 months), 11–14 hours for toddlers (1–2 years) and 10–13 hours for children aged 3–5, all including naps. This calculator plans the night only, so for those ages treat it as one part of the day’s sleep.
How do I use the Sleep Calculator (Bedtime & Wake-Up Time)?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Do I need to install or sign up for anything?
Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.
Is my information private?
Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.
Common Use Cases
School mornings
A teen who must be up at 7:00 AM needs 8–10 hours (CDC); six 90-minute cycles plus 15 minutes to fall asleep means lights out at 9:45 PM.
An early flight
To wake at 4:30 AM after five cycles and 15 minutes to fall asleep, go to bed at 8:45 PM; four cycles would mean 10:15 PM but only 6 hours of sleep.
After a night shift
In bed at 8:00 AM, five cycles plus 15 minutes to fall asleep put the alarm at 3:45 PM, or 5:15 PM for six cycles.
Slow to drop off
If it takes you 30 minutes to fall asleep, a 6:30 AM alarm means 10:30 PM for five cycles instead of 10:45 PM.
Older adults
From 65 the CDC recommends 7–8 hours, so five 90-minute cycles (7.5 hours) is the option that fits; six cycles (9 hours) is more than the range.
Last updated: