Sleep Calculator
Last Updated:
Find the best bedtime or wake-up time using 90-minute sleep cycles, so you wake up at the end of a cycle instead of in the middle of one.
Quick answer: A sleep calculator works back from your wake-up time: bedtime = wake time − (cycles × 90 min) − fall-asleep buffer. For a 7:00 AM wake-up and a 15-minute buffer, go to bed at 9:45 PM (6 cycles, 9 hours), 11:15 PM (5 cycles, 7.5 hours) or 12:45 AM (4 cycles, 6 hours). Five cycles (7.5 hours) is the shortest option that meets the CDC's 7 or more hours for adults.
Recommended for Adult (18–60 years): 7 or more hours/night, CDC
ℹ️ The idea behind the 90-minute model is that waking at the end of a cycle (light sleep) feels easier than waking mid-cycle (deep sleep). This is a planning tool, not a medical device.
How This Sleep Calculator Works
Tell this sleep calculator the time you have to be up, and it counts back in whole 90-minute cycles, plus the minutes you take to fall asleep, to give you bedtimes that end a cycle. Tell it your bedtime instead and it counts forward to give you wake-up times. Either way you get four options, from 3 to 6 cycles, each tagged against the CDC hours for your age.
📐 Sleep Calculator Formula
Worked example: you wake at 7:00 AM and take 15 minutes to fall asleep. Six cycles (9 hours) means bed at 9:45 PM. Five cycles (7.5 hours) means 11:15 PM. Four cycles (6 hours) means 12:45 AM, and 3 cycles (4.5 hours) means 2:15 AM.
How to use the Sleep Calculator
Choose a mode
Pick whether you want to enter a wake-up time, a bedtime, or use the nap presets.
Enter your time and fall-asleep buffer
Set your wake-up time or bedtime, then change the minutes you usually take to fall asleep. The default is 15.
Pick your age group
Choose the age menu entry that fits, so the results can flag which options sit inside the CDC's recommended hours.
Review your schedule
The calculator lists four options of 3 to 6 complete cycles, each with its hours of sleep and an In range or Outside range tag.
Pick a cycle-aligned time
Choose a bedtime or wake-up time that ends on a full cycle, and set your alarm for it.
What time should I go to bed if I wake up at 6, 5 or 7?
For a 6 AM wake-up and a 15-minute fall-asleep time, bed at 10:15 PM gives 5 cycles and 7.5 hours. The table has the other common wake-up times ready made. Use the calculator above when your own fall-asleep time is different.
| Wake up at | 6 cycles | 5 cycles | 4 cycles |
|---|---|---|---|
| 4:00 AM | 6:45 PM | 8:15 PM | 9:45 PM |
| 5:00 AM | 7:45 PM | 9:15 PM | 10:45 PM |
| 6:00 AM | 8:45 PM | 10:15 PM | 11:45 PM |
| 6:30 AM | 9:15 PM | 10:45 PM | 12:15 AM |
| 7:00 AM | 9:45 PM | 11:15 PM | 12:45 AM |
| 8:00 AM | 10:45 PM | 12:15 AM | 1:45 AM |
A 4 AM or 5 AM alarm pushes bedtime into the early evening, and 4 cycles at 6 hours is short for an adult. If you cannot move bedtime earlier, a nap can top up the night: the Nap Calculator times it.
What time should I wake up if I go to bed at 10, 11 or midnight?
Get into bed at 11 PM and take 15 minutes to fall asleep, and 6:45 AM ends your fifth cycle (7.5 hours). The table counts the same way for other bedtimes: 15 minutes to fall asleep, then whole cycles. The first column is a short night and the last is a full one.
| Get into bed at | 4 cycles | 5 cycles | 6 cycles |
|---|---|---|---|
| 9:00 PM | 3:15 AM | 4:45 AM | 6:15 AM |
| 10:00 PM | 4:15 AM | 5:45 AM | 7:15 AM |
| 10:30 PM | 4:45 AM | 6:15 AM | 7:45 AM |
| 11:00 PM | 5:15 AM | 6:45 AM | 8:15 AM |
| 11:30 PM | 5:45 AM | 7:15 AM | 8:45 AM |
| 12:00 AM | 6:15 AM | 7:45 AM | 9:15 AM |
| 1:00 AM | 7:15 AM | 8:45 AM | 10:15 AM |
Look at the 1:00 AM row. Five cycles ends at 8:45 AM, and the 6-cycle wake-up is 10:15 AM. A late bedtime does not shorten the night you need; it moves the whole ladder later.
Which option should you pick: 4, 5 or 6 cycles?
The right row depends on your age, because the CDC sets a different number of hours for each group. The calculator tags every option for you, and this is what the tags mean in practice:
- Adults 18 to 60: the CDC says 7 or more hours, so 5 cycles (7.5h) and 6 cycles (9h) both pass and 4 cycles (6h) does not.
- Adults 61 to 64: 7 to 9 hours, so 5 and 6 cycles both sit in range.
- Adults 65 and older: 7 to 8 hours, so 5 cycles (7.5h) is the one that fits. Six cycles (9h) runs past the range.
- Teens 13 to 17: 8 to 10 hours, so only 6 cycles (9h) fits. Five cycles (7.5h) is short for a teenager.
Younger children need as much as or more than the longest option on the ladder. For a school-age child, 6 cycles (9h) is the bottom of the 9 to 12 hour range, and younger children need more still. The age table further down has every group, and the How Much Sleep Do I Need? page covers it in full.
How long does it take you to fall asleep?
The fall-asleep box is the part of this calculator most worth setting for yourself. It defaults to 15 minutes, which is our planning default, not a measured average for everyone. Every minute you add moves your bedtime one minute earlier.
Example: a 7:00 AM wake-up with 5 cycles and a 30-minute buffer means bed at 11:00 PM, not 11:15 PM. If you fall asleep in 5 minutes, the same night is 11:25 PM. Time yourself for a week and use the typical figure.
If the number keeps creeping up, the advice from the National Institute of Neurological Disorders and Stroke (NINDS) is not to lie in bed awake. Get up, do something calm like reading, and go back when you feel tired. A fall-asleep time that is regularly long is also worth mentioning to a doctor.
Using this sleep calculator in the US, UK, Australia and Canada
The sums are the same in all four countries, so the calculator only needs your local wake-up time or bedtime. We ran Google's autocomplete in each country on November 28, 2026. Readers in the US, UK, Australia and Canada type the same phrases: sleep calculator, bedtime calculator, wake up time calculator and what time should I go to bed. The UK, Australian and Canadian lists add brand and charity names, not different terms, so no wording on this page changes by country.
- Clock format: results show on a 12-hour AM/PM clock, so 22:00 reads as 10:00 PM.
- Sleep hours: the age ranges are the CDC's, a US source, and they are shown the same way for every country. If your own health service gives different advice, follow it.
- Daylight saving: on the night daylight saving time starts or ends, the clock jumps by about an hour in most places, so the hours you actually sleep differ from the clock times shown. Plan that night by hours, not by the clock.
What happens inside each 90-minute sleep cycle
Sleep is not one long block. It repeats a pattern of stages through the night, and NINDS describes you cycling through non-REM and REM sleep several times a night. A cycle goes light sleep, deep sleep, then REM (rapid eye movement), and starts again. Deep sleep comes in longer stretches in the first half of the night, and REM periods get longer later on. The first REM period arrives about 90 minutes after you fall asleep, which is where the 90-minute figure comes from.
The diagram is simplified and the lines are not to scale. StatPearls, a reference from the National Library of Medicine, puts the average at 90 minutes and a complete cycle at roughly 90 to 110 minutes, with 4 to 6 cycles in a night. Treat 90 as a planning figure, not a rule for your body on every night.
Where the 90-minute model falls short
A sleep calculator can only use the average. It cannot see your own cycle length, and it cannot tell when you actually fell asleep. Both drift from night to night, so a wake-up time that is exactly on a cycle on paper may land a little inside the next one.
That is why the calculator is a planning tool and not a promise of how you will feel. Two things matter more than hitting the minute. One is getting enough hours in total, which is what the CDC ranges below measure. The other is keeping the same bed and wake times through the week, which is the first tip on the NINDS list. For more on cycle counts and the science behind them, the Sleep Cycle Calculator goes further. To see how short nights add up over a week, use the Sleep Debt Calculator.
How much sleep do you need by age?
Sleep needs change a lot across a lifetime. These ranges come from the CDC's age table on its About Sleep page (dated May 15, 2024), which gives them by age and not by sex. The age menu in the calculator uses exactly these groups.
| Age group | Recommended sleep |
|---|---|
| Newborn (0–3 months) | 14–17 hours |
| Infant (4–12 months) | 12–16 hours |
| Toddler (1–2 years) | 11–14 hours |
| Preschool (3–5 years) | 10–13 hours |
| School age (6–12 years) | 9–12 hours |
| Teen (13–17 years) | 8–10 hours |
| Adult (18–60 years) | 7 or more hours |
| Adult (61–64 years) | 7–9 hours |
| Older adult (65 years and older) | 7–8 hours |
The CDC counts naps toward the totals for infants, toddlers and preschoolers. Pick your group in the age menu above and each option is tagged In range or Outside range. Looking for a child's bedtime? Set the age menu to the child's group, then work back from the school-morning wake-up time.
How to fall asleep faster so your bedtime holds
A calculated bedtime only works if you fall asleep close to the time you allowed. These are the habits that help, with the ones NINDS lists marked as such.
- Keep the same schedule. NINDS lists going to bed and waking at the same time each day first. It makes every time on this page more reliable.
- Dim the lights before bed. NINDS says melatonin helps you feel sleepy when it gets dark, and it advises a bedroom without bright lights or loud sounds.
- Keep the room comfortable. NINDS recommends a comfortable bedroom temperature. Around 65°F (18°C) is a common rule of thumb, not a CDC or NINDS figure.
- Watch caffeine, nicotine and alcohol. NINDS says to avoid caffeine and nicotine late in the day and alcohol before bed. Cutting caffeine about 6 hours before bed is common practice, not an official limit.
- Exercise earlier in the day. NINDS suggests at least 30 minutes most days, but not within a few hours of bedtime.
- Use a wind-down routine. A warm bath or reading before bed is on the NINDS list, and a repeated routine tells your brain what comes next.
- Get morning light. Morning sunlight is commonly said to help anchor your body clock and make a steady bedtime easier to keep. It is common practice, not a NINDS tip.
Frequently Asked Questions
Five to six complete cycles a night works out to 7.5 to 9 hours of sleep, which meets the CDC's 7 or more hours for adults aged 18 to 60. Each cycle averages about 90 minutes, so 5 cycles is 7.5 hours and 6 cycles is 9 hours.
Six hours is 4 complete 90-minute cycles. That is under the 7 or more hours the CDC gives for adults aged 18 to 60. Some people cope on 6 hours for a few days, but a run of short nights builds sleep debt, which the Sleep Debt Calculator adds up.
With a 15-minute fall-asleep buffer, a 6 AM wake-up means bed at 8:45 PM for 6 cycles, 10:15 PM for 5 cycles or 11:45 PM for 4 cycles. Put your own fall-asleep time into the calculator for an exact match.
With a 15-minute buffer, a 5 AM alarm means bed at 7:45 PM for 6 cycles, 9:15 PM for 5 cycles or 10:45 PM for 4 cycles. The 5-cycle option gives 7.5 hours, which meets the CDC's 7 or more hours for adults.
With a 15-minute buffer, a 7 AM wake-up means bed at 9:45 PM for 6 cycles, 11:15 PM for 5 cycles or 12:45 AM for 4 cycles. The 11:15 PM option gives 7.5 hours of sleep.
With a 15-minute buffer, a 4 AM wake-up means bed at 6:45 PM for 6 cycles, 8:15 PM for 5 cycles or 9:45 PM for 4 cycles. Of the three, 8:15 PM gives 7.5 hours, which meets the CDC's 7 or more hours for adults.
If you get into bed at 11 PM and take 15 minutes to fall asleep, the cycle-aligned wake-ups are 5:15 AM (4 cycles), 6:45 AM (5 cycles) and 8:15 AM (6 cycles). The 6:45 AM option gives 7.5 hours of sleep.
If you get into bed at midnight and take 15 minutes to fall asleep, the cycle-aligned wake-ups are 6:15 AM (4 cycles), 7:45 AM (5 cycles) and 9:15 AM (6 cycles). For an adult, 7:45 AM is the earliest option that reaches 7 or more hours.
A cycle averages about 90 minutes, and a complete cycle takes roughly 90 to 110 minutes. This calculator uses 90 because it is the average, and the first REM period shows up about 90 minutes after you fall asleep.
No. 90 minutes is the average used for planning, and a complete cycle runs roughly 90 to 110 minutes. NINDS describes deep sleep in longer stretches in the first half of the night and longer REM periods later, so cycles differ in make-up as well as length.
Timing is one common explanation. NINDS notes it can be hard to wake someone from deep sleep, and an alarm in deep sleep can leave you groggy even after 8 hours. The idea behind this calculator is that a wake-up at the end of a cycle, nearer to light sleep, feels easier. That is the common explanation, not a CDC or NINDS finding. If you are tired every day despite a full night, see a doctor.
The CDC's recommended hours are set by age only, with no separate range for women or men, so this calculator uses your age group. Pick the group in the age menu and the results flag which options fall inside the range for that age.
It is free and runs in your browser, so there is no app to install and no signup. The times are worked out on your device from the numbers you enter.
Yes. Enter your local clock time, read the 12-hour result, and set your alarm. The section above covers what stays the same in each country.
Sources & methodology
The hours by age come from the CDC. The cycle facts and sleep tips come from NIH sources. The 90-minute bedtime sums, the 15-minute default and the 65°F and 6-hour caffeine rules of thumb are our own planning figures and common practice, not official limits.
- CDC, About Sleep (page dated May 15, 2024, read November 28, 2026)
- NINDS, Brain Basics: Understanding Sleep (last reviewed February 25, 2025, read November 28, 2026)
- StatPearls, Physiology, Sleep Stages (last updated January 26, 2024, read November 28, 2026)