Sleep Calculator
Find your ideal bedtime or wake time using 90-minute sleep cycles. Enter when you must wake up to get bedtime options — or enter bedtime to see wake-up options.
Waking up groggy usually means your alarm interrupted deep sleep. Sleep happens in roughly 90-minute cycles, and waking at the end of a cycle feels far better than waking mid-cycle. This calculator works backward from your alarm time — or forward from your bedtime — to give you a shortlist of times that land on complete cycles, with the best option highlighted.
How to use this calculator
- Choose your mode: 'I know my wake time' or 'I know my bedtime'.
- Enter the time in 24-hour or 12-hour format.
- Click Calculate to see four options, from 6 cycles down to 3.
- Pick the option with the most cycles your schedule allows — it's marked recommended.
The formula
Bedtime = wake time − (15 minutes fall-asleep buffer + 90 minutes × number of cycles). Wake time = bedtime + 15 minutes + 90 minutes × cycles. Options shown for 6, 5, 4, and 3 complete cycles.
Worked example
If you must wake at 6:30 AM, the recommended bedtime is 9:15 PM — six full 90-minute cycles plus 15 minutes to fall asleep. Shorter options are 10:45 PM (5 cycles), 12:15 AM (4 cycles), and 1:45 AM (3 cycles).
Frequently Asked Questions
Why 90-minute sleep cycles?
A full sleep cycle — light sleep, deep sleep, REM, back to light — averages about 90 minutes in adults, though individuals range from 80 to 120 minutes. Waking during deep sleep produces sleep inertia: that heavy, disoriented grogginess that can last 30 minutes or more. Waking at a cycle boundary, during light sleep, is dramatically easier. The calculator stacks complete 90-minute cycles so your alarm lands on a boundary.
What is the 15-minute buffer for?
The 15 minutes accounts for sleep latency — the time it takes to actually fall asleep after getting into bed. Most people need 10–20 minutes. Without the buffer, a 'bedtime' of 10:30 PM would really mean falling asleep at 10:45 and waking mid-cycle. If you consistently take longer to fall asleep, shift every suggested time earlier by the difference.
How many sleep cycles do I need?
Most adults do best on 5–6 cycles, which is 7.5–9 hours of sleep plus the fall-asleep buffer. The calculator's recommended option is always the most cycles that fit your schedule. Regularly getting fewer than 5 cycles is associated with impaired concentration, mood, and long-term health risks — if your schedule only allows 3–4 cycles, that's a sign the schedule needs fixing, not the calculator.
What if I wake up in the middle of the night?
Brief awakenings between cycles are normal and usually forgotten by morning. If you're awake for more than about 20 minutes, sleep experts recommend getting up, doing something calm and dimly lit, and returning to bed when drowsy rather than tossing and turning. Don't recalculate your cycles at 3 AM — just aim to complete whatever full cycles remain before your alarm.
Does this work for naps?
Yes, with the same logic. A 20-minute nap stays within light sleep so you wake easily; a full 90-minute nap completes one cycle. The danger zone is 40–60 minutes, which usually means waking from deep sleep feeling worse than before. If you only have half an hour, keep the nap to 20 minutes.