Sleep Calculator
Find your perfect bedtime or wake-up time based on 90-minute sleep cycles.
Sleep Calculator
Find the best time to wake up or go to sleep
Based on 90-minute sleep cycles
Wake time = Bedtime + 15min (fall asleep) + cycles x 90minWhat Is a Sleep Calculator?
A sleep calculator helps you plan your sleep schedule so you wake up at the natural end of a sleep cycle rather than in the middle of one. Every night your brain moves through a repeating sequence of sleep stages — light sleep (NREM stages 1 and 2), deep sleep (NREM stage 3), and REM sleep — with each full cycle lasting roughly 90 minutes. Most adults need five to six complete cycles per night, totaling seven and a half to nine hours of sleep.
When your alarm interrupts a sleep cycle mid-way through, you often feel groggy and disoriented — a phenomenon called sleep inertia. By timing your wake-up to the end of a 90-minute cycle, you give your brain the chance to surface naturally during the lightest phase of sleep. The result is that refreshed, clear-headed feeling you get on a good morning. This calculator does the math for you: enter your wake-up time (or bedtime) and it returns the ideal times to fall asleep or get up.
How to Use the Sleep Calculator
- 1Choose your mode: calculate a bedtime based on when you need to wake up, or calculate a wake-up time based on when you plan to go to bed.
- 2Enter your target time — the time you must wake up for work or school, or the time you intend to get into bed.
- 3Optionally adjust the time-to-fall-asleep setting (default is 15 minutes, which is close to the average for most adults).
- 4Click Calculate to see a list of optimal times aligned to 5 and 6 complete sleep cycles — choose the one that fits your schedule best.
Sleep Cycle Formula
Sleep cycle = 90 minutes (NREM stages 1–3 + REM)
Recommended cycles per night: 5–6 (7.5–9 hours)
Bedtime calculation (given wake time):
Bedtime = Wake time − (cycles × 90 min) − fall-asleep time
Wake time calculation (given bedtime):
Wake time = Bedtime + fall-asleep time + (cycles × 90 min)
Recommended sleep by age:
Adults (18–64): 7–9 hours (5–6 cycles)
Teens (14–17): 8–10 hours
School-age (6–13): 9–11 hoursThe average person takes 10–20 minutes to fall asleep. This calculator subtracts that time from the calculated bedtime so you know when to actually get into bed — not just when sleep begins.
Worked Examples
Example 1 — Calculating bedtime from a 7:00 AM wake-up
You need to be up at 7:00 AM and it typically takes you 15 minutes to fall asleep. Targeting 6 complete cycles (9 hours of sleep): Bedtime = 7:00 AM − 9 h − 15 min = 9:45 PM. That means you should be in bed with the lights off by 9:45 PM. For 5 cycles (7.5 hours): 7:00 AM − 7 h 30 min − 15 min = 11:15 PM.
Example 2 — Calculating wake-up time from an 11:30 PM bedtime
You plan to go to bed at 11:30 PM and want to complete 5 full cycles. Add 15 minutes to fall asleep, then 5 × 90 minutes of sleep: Wake time = 11:30 PM + 15 min + 7 h 30 min = 7:15 AM. For 6 cycles: 11:30 PM + 15 min + 9 h = 8:45 AM.
Example 3 — Early bedtime at 10:00 PM
You turn in at 10:00 PM with 15 minutes to fall asleep. After 5 cycles you would naturally wake at 10:00 PM + 15 min + 7 h 30 min = 5:45 AM. Waiting for 6 full cycles pushes the ideal wake time to 7:15 AM. Both are valid — choose the one that matches your morning commitments.