Sleep Calculator
This sleep calculator finds the best time to go to bed for the time you must wake up, or the best time to wake up if you go to bed now. It counts 90-minute sleep cycles and adds time to fall asleep, so your alarm lands at the end of a cycle. Most adults should aim for five or six cycles, which is 7.5 to 9 hours.
How this sleep calculator works
You sleep in repeating cycles of light sleep, deep sleep and REM sleep. One cycle lasts about 90 minutes on average, and most people complete four to six of them a night. Waking at the end of a cycle, when sleep is lighter, tends to feel easier than being pulled out of deep sleep.
The calculator does simple arithmetic. If you need to wake at 6:30 AM, it counts back whole 90-minute cycles and subtracts the time you take to fall asleep, 15 minutes by default. If you are going to bed now, it counts forward from the moment you fall asleep. The results are the times your alarm is most likely to land near the end of a cycle.
Treat the numbers as an estimate. Cycle length runs from about 80 to 100 minutes and shifts during the night, so you can be off by a few minutes either way. Our sleep cycle guide explains the stages in detail.
Bedtimes for common wake-up times
Work back from the time you must be up. These bedtimes assume 15 minutes to fall asleep.
| Wake-up time | 6 cycles (9 h) | 5 cycles (7.5 h) | 4 cycles (6 h) |
|---|---|---|---|
| 5:30 AM | 8:15 PM | 9:45 PM | 11:15 PM |
| 6:00 AM | 8:45 PM | 10:15 PM | 11:45 PM |
| 7:00 AM | 9:45 PM | 11:15 PM | 12:45 AM |
| 8:00 AM | 10:45 PM | 12:15 AM | 1:45 AM |
If the 7.5-hour bedtime is already past, the four-cycle column is a last resort, not a target. When you are short on sleep for a night, the better fix is a short nap the next day, not a habit of six-hour nights.
How much sleep you need by age
Cycles are a way to time the alarm. How much sleep you need is a separate question, and it depends mostly on age. The CDC gives these ranges per 24 hours.
| Age | Hours of sleep | Cycles |
|---|---|---|
| 6 to 12 years | 9 to 12 | 6 to 8 |
| 13 to 17 years | 8 to 10 | 5 to 6 |
| 18 to 60 years | 7 or more | 5 or more |
| 61 to 64 years | 7 to 9 | 5 to 6 |
| 65 years and older | 7 to 8 | 5 |
Source: CDC sleep recommendations, checked November 2026. The cycles column is our own conversion at about 90 minutes per cycle. If you wake tired after seven or more hours, or feel sleepy through the day, that is worth raising with a doctor, since a calculator cannot spot a sleep disorder.
Setting the alarm for the time you calculated
Once you have the time, set it in the online alarm clock or on your phone, and choose a sound that is clear without being harsh. An alarm that lands at the end of a cycle is easier to get up to, but it will not rescue a short night, so protect the bedtime too.
A few habits make the maths work in practice: keep the same wake time on weekends, within about an hour; stop caffeine in the afternoon; and dim lights and screens in the last hour before bed. Our guides on how to wake up early and morning routine tips go through them, and smart alarms based on sleep cycles covers apps that try to time the wake-up for you.
Limits of a sleep calculator
A calculator assumes everyone cycles every 90 minutes and falls asleep at the same speed. Real sleep is messier. Alcohol, late caffeine, shift work, illness and stress change how you cycle, and a night that includes a long wake-up in the middle shifts everything. The results are a good starting point, not a prescription.
If you feel rested after seven and a half hours at a time the calculator says is wrong, keep what works for you. Total sleep, regular times and a dark, cool room matter more than hitting a cycle to the minute. Calculators like this one are general information, not medical advice.
Related tools and guides
Questions about the sleep calculator and sleep cycles
To wake at 6:00 AM at the end of a sleep cycle, go to bed at 10:15 PM for five cycles (7.5 hours of sleep) or 8:45 PM for six cycles. Both assume about 15 minutes to fall asleep. Most adults need at least seven hours, so 10:15 PM is a sensible latest bedtime.
Most adults do well with five to six sleep cycles, which is about 7.5 to 9 hours. Four cycles (6 hours) is short for most adults. The CDC advises adults aged 18 to 60 to get at least seven hours a night, and individual needs vary, so treat the cycle count as a way to time the alarm.
One sleep cycle lasts about 90 minutes on average, with a normal range of roughly 80 to 100 minutes. Cycle length differs between people and changes through the night, which is why a calculator gives an estimate rather than an exact time. Each cycle moves through light sleep, deep sleep and REM sleep.
Healthy adults usually take about 10 to 20 minutes to fall asleep. This calculator assumes 15 minutes and lets you change it to anything from 5 to 30 minutes. If you regularly need much longer, or fall asleep within a minute or two, mention it to a doctor.
Waking at the end of a sleep cycle can feel easier for many people, because the alarm lands in lighter sleep instead of cutting into deep sleep. The effect is modest and not proven for everyone. Total sleep matters more than exact cycle timing, so do not give up an hour of sleep to hit a cycle boundary.
Six hours of sleep is not enough for most adults. The CDC recommends at least seven hours a night for adults aged 18 to 60. Some people feel fine on six, but regularly sleeping less than you need builds sleep debt that a calculator cannot fix.
If you are going to bed now, choose the bedtime option and use the current time, and the calculator counts forward from the moment you fall asleep, adding your fall-asleep time. The results are wake-up times that land near the end of a 90-minute cycle, usually after four to six cycles. Set your alarm for one of them.