BCBetter Calculators

Bedtime Calculator

Find the ideal bedtime to wake up refreshed at your target wake-up time.

🧮

Enter your values and click Calculate

How It Works

The calculator works backwards from your target wake-up time using this formula: bedtime = wake-up time − (number of cycles × 90 minutes) − fall-asleep time. Your wake-up time is converted to total minutes from midnight (wakeHour × 60 + wakeMinute). For six sleep cycles: 6 × 90 = 540 minutes of actual sleep. Adding your fall-asleep time (typically 10–20 minutes for most people) gives the total time you need to be in bed before waking. Subtracting that from the wake-up time in minutes gives your target bedtime in minutes from midnight, which is then converted back to a 12-hour AM/PM format. The same process is repeated for five cycles (450 minutes of sleep) and four cycles (360 minutes). All times are normalized using modulo 1440 arithmetic to handle bedtimes that wrap past midnight correctly — for example, a 6-cycle bedtime for a 6:00 AM wake-up correctly shows 8:46 PM rather than a negative or incorrect time.

Examples

7:00 AM weekday wake-up
Standard workday wake time with 14 minutes average to fall asleep.
Result: 6 cycles: 9:46 PM. 5 cycles: 11:16 PM. 4 cycles: 12:46 AM.
6:00 AM early start
Early commute or workout schedule with 10 minutes to fall asleep.
Result: 6 cycles: 8:50 PM. 5 cycles: 10:20 PM. 4 cycles: 11:50 PM.
8:30 AM relaxed morning
Weekend or remote-work morning with 20 minutes to fall asleep.
Result: 6 cycles: 11:10 PM. 5 cycles: 12:40 AM. 4 cycles: 2:10 AM.

Frequently Asked Questions

Why is 6 cycles recommended?
Six 90-minute cycles total 9 hours of actual sleep, which gives most adults enough time to complete multiple REM periods. REM sleep, concentrated in the later cycles, is critical for memory consolidation and emotional regulation. Most sleep researchers recommend 7–9 hours for adults, making 5 or 6 cycles the ideal target range.
What if I have to wake up earlier than suggested?
If you cannot get a full 5 or 6 cycles, try to at least complete a whole number of cycles. Waking at the end of 4 cycles (6 hours of sleep) is generally better than waking mid-cycle after 6.5 hours, because mid-cycle interruption — especially during deep sleep — causes disproportionate grogginess that lingers well into the morning.
Is 90 minutes the same for everyone?
No. Sleep cycle length varies between individuals and typically ranges from 80 to 110 minutes, with 90 minutes being the widely used average. If you consistently find that a recommended bedtime still leaves you groggy, try shifting your target by 10–15 minutes in either direction to find your personal cycle length.

Related Calculators