What it is for
Sleep is not a flat line: it alternates lighter and deeper stages, and REM sleep, in cycles. Many people feel better waking at the end of a cycle than in the middle of one. This calculator suggests bedtimes (if you know your wake-up time) or wake-up times (if you know when you will lie down) so that your sleep adds up to a whole number of 90-minute cycles.
Formulas
To wake at a given time: bedtime = wake time − cycles × 90 min − minutes to fall asleep. To go to bed at a given time: wake time = bedtime + minutes to fall asleep + cycles × 90 min. We show 6, 5, 4 and 3 cycles (9 h, 7 h 30 min, 6 h and 4 h 30 min of sleep). The math crosses midnight normally and times appear in 24-hour format.
Where 90 comes from
In young adults, the sleep literature describes cycles of roughly 90 minutes, and that is the average used in estimates like this one. In practice cycle length varies, roughly from 70 to 110 minutes, between people and across the night (early cycles tend to hold more deep sleep and later ones more REM). That is why the result is an estimate, not a measurement of your own sleep.
How many cycles?
Five to six cycles (7 h 30 min to 9 h) match the 7 to 9 hour range that organizations such as the National Sleep Foundation recommend for most adults. Three cycles (4 h 30 min) appear as a minimum option, marked short: it suits an exceptional night, not a habit.
Worked example
To wake at 07:00 with 15 minutes to fall asleep: 6 cycles call for lights-out at 21:45; 5 cycles at 23:15; 4 cycles at 00:45; 3 cycles at 02:15. Going to bed at 23:00 with the same 15 minutes: 5 cycles lead to 06:45 and 6 cycles to 08:15.
Limits
This is not a diagnosis and does not replace medical advice. If you sleep enough hours but often wake up tired, snore heavily or feel excessively sleepy during the day, it is worth talking to a health professional.
Frequently asked questions
Why 90 minutes?
It is the average length of a sleep cycle in adults, used as a reference. The real value varies from person to person and from night to night.
How many cycles should I sleep?
For most adults, 5 to 6 cycles (7 h 30 min to 9 h) come close to the recommended 7 to 9 hours. Some people feel fine with a bit less or more.
Do I need to add the time it takes to fall asleep?
Yes, and the calculator does it for you. Sleep onset time varies; 10 to 20 minutes is common, and you can adjust the field.
Does waking at the end of a cycle guarantee I will feel good?
No. It is a popular idea and a useful starting point, but other factors (total sleep, regularity, light, stress) matter a lot.