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

Sleep Calculator

Based on 90-minute sleep cycles

Formula
Wake time = Bedtime + 15min (fall asleep) + cycles x 90min

What 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

  1. 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.
  2. 2Enter your target time — the time you must wake up for work or school, or the time you intend to get into bed.
  3. 3Optionally adjust the time-to-fall-asleep setting (default is 15 minutes, which is close to the average for most adults).
  4. 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 hours

The 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.

Frequently Asked Questions

How many hours of sleep do I actually need?
Most adults need 7–9 hours per night, equivalent to 5–6 complete 90-minute sleep cycles. Teenagers generally need 8–10 hours, school-age children 9–11 hours, and toddlers up to 14 hours. Individual needs vary — some people genuinely function well on 6 hours, while others feel best with 9. The best guide is how you feel after a full night without an alarm.
What are the stages of sleep?
Each sleep cycle has four stages. Stage 1 (NREM) is light sleep where you drift off and can be easily woken. Stage 2 (NREM) is a deeper light sleep where your heart rate slows and body temperature drops. Stage 3 (NREM) is deep, restorative slow-wave sleep — the hardest to wake from, and the most important for physical recovery. REM (Rapid Eye Movement) sleep is when most vivid dreaming occurs and the brain consolidates memories and processes emotions. Early cycles in the night are richer in deep sleep; later cycles have more REM.
Can I catch up on sleep on weekends?
Short-term sleep debt (one or two nights of poor sleep) can be partially recovered with extra sleep on the weekend, and many people feel better after doing so. However, research shows that recovery sleep does not fully reverse the cognitive and metabolic impacts of chronic sleep deprivation. Consistently sleeping fewer hours than your body needs — even if you feel adapted to it — impairs reaction time, memory, and mood. The best strategy is a consistent sleep schedule seven days a week.
What is sleep debt?
Sleep debt is the cumulative difference between the amount of sleep your body needs and the amount you actually get. If you need 8 hours but only sleep 6, you accumulate 2 hours of sleep debt per night. Over a week that adds up to 14 hours. Sleep debt builds gradually and its effects — slower thinking, lower mood, weakened immunity — creep up without you noticing. Paying it back requires more sleep over several nights, not just one long lie-in.
Does napping count toward total sleep?
Yes, naps contribute to your total daily sleep and can help reduce short-term sleep debt. A 20-minute power nap boosts alertness without causing grogginess because it stays in the lighter sleep stages. A 90-minute nap completes one full cycle and supports memory consolidation. However, napping too late in the day (after 3 PM) or for too long can interfere with nighttime sleep onset, so keep afternoon naps short and early.