Use this free online sleep calculator to find the best bedtime or wake-up time based on 90-minute sleep cycles, so you wake up feeling rested instead of groggy.
How to Use the Sleep Calculator
Choose "I want to wake up at..." if you have a fixed wake-up time, or "I want to sleep at..." if you're going to bed now.
Enter the time.
Click "Calculate" to see several bedtime or wake-up options, each aligned to a whole number of sleep cycles.
How the Calculation Works
During the night you do not sleep at one steady depth. You move through repeating cycles of light sleep, deep sleep and REM (dream) sleep, and each cycle lasts roughly 90 minutes in adults. Being woken by an alarm in the middle of deep sleep is what usually leaves you feeling heavy and disoriented, a state called sleep inertia. Waking near the end of a cycle, when sleep is lighter, tends to feel easier.
The calculator uses two fixed numbers: 90 minutes per cycle and 15 minutes to fall asleep. It then offers options of 6, 5, 4 and 3 full cycles (9, 7.5, 6 and 4.5 hours of actual sleep).
If you know your wake-up time: Bedtime = Wake-up time − (cycles × 90 minutes) − 15 minutes.
If you are going to bed at a set time: Wake-up time = Bedtime + 15 minutes + (cycles × 90 minutes).
Worked Example
Suppose you need to be up at 6:30 AM to catch an office cab or get children ready for school. Working backwards:
Cycles
Sleep time
Working
Go to bed at
6
9 h
6:30 AM − 9 h − 15 min
9:15 PM
5
7.5 h
6:30 AM − 7 h 30 min − 15 min
10:45 PM
4
6 h
6:30 AM − 6 h − 15 min
12:15 AM
3
4.5 h
6:30 AM − 4 h 30 min − 15 min
1:45 AM
For most adults, 10:45 PM (five cycles) or 9:15 PM (six cycles) is the realistic choice. The four- and three-cycle options are there for nights when you are already running late, not as a routine. Going the other way, if you lie down at 11:00 PM, the tool suggests waking at 8:15, 6:45, 5:15 or 3:45 AM.
How Much Sleep Do You Need?
Cycle timing helps you wake up at a better moment, but it cannot make up for too little total sleep. Commonly cited guidance from sleep medicine bodies is roughly:
Age group
Recommended sleep per night
School-age children (6–12 years)
9–12 h
Teenagers (13–18 years)
8–10 h
Adults (18–64 years)
7–9 h
Older adults (65+ years)
7–8 h
In practice this means five or six cycles for an adult. Students staying up for board or entrance exam preparation often drop to four cycles night after night; the lost sleep builds up and memory and concentration suffer, which defeats the purpose of the extra study hours.
Getting the Most from the Result
Treat the times as targets, not exact science. Real cycles vary from person to person and through the night (roughly 70 to 120 minutes), so waking a few minutes either side is normal.
If you usually take much longer than 15 minutes to fall asleep, go to bed correspondingly earlier than the time shown.
Keep the same wake-up time on weekends where possible. A regular schedule matters more than hitting the end of a cycle on any one night.
Pressing snooze repeatedly restarts light sleep and usually makes grogginess worse. Set the alarm for the time you actually intend to get up.
For shift workers, the same arithmetic works for daytime sleep after a night shift; a dark, quiet room helps more than the exact timing.
This tool is for general information only. If you regularly feel tired despite enough hours in bed, snore loudly, or wake up gasping, speak to a doctor, as these can be signs of a sleep disorder such as sleep apnoea.
Frequently Asked Questions
A full sleep cycle (light sleep, deep sleep, and REM sleep) takes about 90 minutes on average. Waking up at the end of a complete cycle, rather than in the middle of one, generally feels less groggy.
It accounts for the average time it takes a person to actually fall asleep after getting into bed, so the sleep-cycle math lines up with your real bedtime rather than the moment you lie down.
Waking after four full cycles may feel easier than waking mid-cycle, but six hours is still below the 7–9 hours generally recommended for adults. Done regularly, it leads to accumulated sleep debt. Use the shorter options only occasionally.
The 90-minute cycle is an average. Your own cycles may be shorter or longer, you may take more than 15 minutes to fall asleep, and late caffeine, alcohol, screens or an irregular schedule all change sleep quality. If tiredness persists despite enough sleep, consult a doctor.
The calculator only offers three to six full cycles, so it is meant for night sleep. For a daytime nap, a short rest of about 20 minutes, before you enter deep sleep, or one full cycle of about 90 minutes is usually less likely to leave you groggy than something in between.