Health & Fitness

Sleep Calculator

Pick the time you need to wake up and get bedtimes that line up with full 90-minute sleep cycles, or start from your bedtime and see when to set the alarm.

Last updated

15 is a typical default. Use your own usual number.

Sets which options get marked recommended.

General estimates only, not medical advice. Sleep cycles vary from person to person, so talk to a doctor about ongoing trouble sleeping or daytime sleepiness.

How the sleep calculator works

Overnight sleep is not one long, even stretch. Your brain moves through a repeating loop of light sleep, deep sleep and REM sleep, and each loop takes about 90 minutes on average. Near the end of each loop sleep gets lighter, and that is the easiest point to surface from. An alarm that goes off in the middle of deep sleep is the one that leaves you foggy and reaching for snooze. So instead of just counting back 8 hours from your alarm, this calculator counts back in whole cycles, which gives you a few bedtimes that should each end in lighter sleep.

The math is simple. In "I want to wake up at..." mode it takes your wake-up time, subtracts 3, 4, 5 or 6 cycles of 90 minutes each, then subtracts your time to fall asleep. In "I'm going to bed at..." mode it runs the same steps forward. Everything is done on a 24-hour clock in minutes, so times that cross midnight come out right. Here is a worked example: to wake at 6:00 AM with 15 minutes to fall asleep, 6 cycles (9 hours) means lights out at 8:45 PM, 5 cycles (7.5 hours) means 10:15 PM, 4 cycles (6 hours) means 11:45 PM, and 3 cycles (4.5 hours) means 1:15 AM. For adults, the 10:15 PM and 8:45 PM options get the recommended tag, because they are the ones that clear 7 hours of sleep.

Be honest with yourself about the limits here. The 90-minute figure is an average, not a fixed timer. Real cycles run anywhere from roughly 80 to 120 minutes, the first one of the night is often shorter, and later cycles tend to stretch out. That means the times above are a good guide, not a guarantee you will wake at the exact end of a cycle. If a suggested time keeps leaving you groggy, try shifting it 10 or 15 minutes earlier or later for a week. Daytime naps follow different rules, since a short nap is about avoiding deep sleep altogether, so if you are planning one of those, our nap efficiency calculator is the better tool.

How much sleep you actually need

Cycle timing only helps if you are getting enough total sleep in the first place. The American Academy of Sleep Medicine and the Sleep Research Society published a joint consensus statement in 2015 recommending that adults 18 to 60 sleep 7 or more hours a night on a regular basis, and the panel judged 6 hours or less to be inadequate for health and safety. That is why, for adults, the calculator flags 5 cycles (7.5 hours) and 6 cycles (9 hours) and leaves the 4 and 3 cycle options unmarked. The CDC's age table puts adults 61 to 64 at 7 to 9 hours and adults 65 and older at 7 to 8 hours, so for the oldest group only the 7.5 hour option is flagged.

Kids and teens need more. AASM's pediatric consensus recommends 9 to 12 hours for children 6 to 12 and 8 to 10 hours for teens 13 to 18, which means only the 9 hour option fits either group. Children's sleep cycles also tend to be shorter than an adult's, so treat the cycle timing as rougher for younger kids and focus on the total hours instead.

Sources: AASM and SRS adult sleep duration consensus (SLEEP, 2015); AASM pediatric sleep duration consensus (2016); CDC sleep duration recommendations by age.

Frequently asked questions

How does the sleep calculator pick my bedtimes?

It starts from the time you want to wake up and counts backward in 90-minute sleep cycles, 6 cycles (9 hours), 5 cycles (7.5 hours), 4 cycles (6 hours) and 3 cycles (4.5 hours). Then it subtracts your time to fall asleep, so the result is when you should be in bed with the lights off, not the moment you actually drift off.

Is a sleep cycle really 90 minutes for everyone?

No. Ninety minutes is an average. Real cycles run roughly 80 to 120 minutes, the first one of the night is often the shortest, and your own cycles can shift from night to night with stress, alcohol, caffeine, or how much sleep you owe. Treat the suggested times as a sensible starting point and adjust by 10 or 15 minutes if you keep waking up groggy.

Should I aim for 5 or 6 sleep cycles?

For most adults, either one. Five cycles is 7.5 hours of sleep and six cycles is 9 hours, and both land inside the 7 or more hours a night that the American Academy of Sleep Medicine and Sleep Research Society recommend for adults 18 to 60. Four cycles, or 6 hours, falls short of that, so it works for an occasional early flight but not as a routine.

What should I enter for time to fall asleep?

Enter how long it usually takes you, not how long you wish it took. The default is 15 minutes, which is a reasonable middle ground for a healthy adult. If you tend to lie awake scrolling or thinking for half an hour, put 30. If it regularly takes you much longer than that, it is worth mentioning to a doctor.

What does the Going to bed now button do?

It reads the current time from your device clock and switches the calculator to the going-to-bed mode, so you get a list of wake-up times for 3 to 6 full cycles starting from right now, with your fall-asleep time already added. Nothing is sent anywhere, the math runs in your browser.

Does it work when my bedtime and wake time are on different days?

Yes. The calculator works in minutes around a 24-hour clock, so it wraps past midnight cleanly in both directions. For example, going to bed at 10:30 PM with 15 minutes to fall asleep gives wake-up times of 3:15 AM, 4:45 AM, 6:15 AM and 7:45 AM the next morning.

Will waking up between cycles fix feeling tired all day?

Only partly. Waking near the end of a cycle, when sleep is lighter, can cut down on that heavy, groggy feeling right after the alarm. It does not make up for too little total sleep, though. Getting enough hours on a consistent schedule matters far more than hitting a cycle boundary to the minute.

Bedtime only works if the room lets you drift off. A white noise machine like this one (20 non-looping sounds) can cover traffic, snoring and early-morning noise so you stay asleep until the alarm.

View on Amazon

As an Amazon Associate, QuickAges earns from qualifying purchases.

Related calculators