How the bedtime calculator works
The bedtime calculator works backwards from the time you need to wake up. Sleep is not one long, even stretch: it runs in cycles of about 90 minutes, and you feel most refreshed when your alarm goes off at the end of a cycle rather than in the middle of one. So instead of simply subtracting eight hours from your alarm, the calculator subtracts whole cycles, plus the time you usually need to fall asleep.
Bedtime = wake time − (cycles × 90 min) − time to fall asleep
Choose your wake-up time, tell the calculator how long it normally takes you to drift off, and it shows four bedtimes: six cycles (9 hours of sleep), five cycles (7½ hours), four cycles (6 hours) and three cycles (4½ hours). The six- and five-cycle options carry the Recommended badge, because 7½ to 9 hours is the range most adults need night after night. Results update instantly whenever you change the time or the fall-asleep setting, and nothing is sent anywhere — the maths runs entirely in your browser.
Worked example: waking up at 7:00 AM
Take a 7:00 AM alarm and 15 minutes to fall asleep, the calculator’s default. Six cycles is 540 minutes (9 hours) of sleep, so 7:00 AM minus 9 hours is 10:00 PM, minus the 15 minutes to fall asleep gives a 9:45 PM bedtime. Five cycles is 450 minutes (7½ hours): 7:00 AM minus 7½ hours is 11:30 PM, minus 15 minutes gives 11:15 PM. Four cycles lands at 12:45 AM and three cycles at 2:15 AM. Those four times are exactly what the calculator shows for this input, and you can check any other alarm the same way: subtract the cycles, then subtract your fall-asleep time.
Why waking at the end of a cycle matters
Each 90-minute cycle moves through light sleep, deep sleep and dream (REM) sleep. Waking from light sleep or just after a cycle ends usually feels easy, even after fewer hours. Waking from deep sleep, by contrast, causes sleep inertia — that heavy, foggy feeling that can last 20 to 30 minutes and makes the whole morning feel wrong. Two people can both sleep for seven hours and feel completely different the next day, purely because one alarm landed at a cycle boundary and the other landed in deep sleep. That is why the calculator only ever suggests whole cycles: it is lining your alarm up with the natural breaks in your sleep, not just counting hours.
How to use the fall-asleep time
Most people do not fall asleep the moment their head touches the pillow, and the calculator’s latency selector covers that gap. If you usually drift off in about 15 minutes, leave the default as it is. If you are out almost instantly, choose 0 minutes; if you regularly lie awake for half an hour, choose 30. The setting matters more than it looks: a 30-minute fall-asleep time moves every suggested bedtime half an hour earlier, and ignoring it is the most common reason a “perfect” bedtime still leaves you short of sleep. If you are not sure how long you take, watch yourself for a few nights and pick the closest option — 10, 15 or 20 minutes covers most adults. Shift workers and parents of young children often find the 20- or 30-minute setting matches their reality better than the default.
What if the recommended bedtime feels too early?
A 9:45 PM bedtime can feel surprisingly early if you are used to midnight. You do not have to jump straight to it: move your bedtime 15 minutes earlier every two or three nights until you reach it, and keep the same wake-up time throughout, including weekends. If 9:45 PM is genuinely impossible with your schedule, the 11:15 PM five-cycle option is a solid routine target — 7½ hours suits many adults well. Treat four cycles (6 hours) as an occasional short night only, and three cycles (4½ hours) as an emergency option, not a plan.
When a calculator is not enough
A bedtime calculator plans timing; it cannot fix sleep that is broken for another reason. If you regularly take more than an hour to fall asleep, snore loudly with pauses in your breathing, or feel exhausted during the day despite 7 to 9 hours in bed for several weeks, talk to a doctor or a sleep clinic. For everyone else, the routine is simple: pick your wake-up time, use the calculator to find your bedtime, and then protect that bedtime the way you would protect any other appointment.