ToolActToolAct

Sleep Calculator

Calculate optimal sleep times based on 90-minute cycles

💡Average person takes about 14-15 minutes to fall asleep, this is factored in
🌙One complete sleep cycle is about 90 minutes, including light, deep, and REM sleep

What is a Sleep Calculator?

The Sleep Calculator helps plan bedtime or wake-up time around typical sleep cycles. A cycle is often approximated at about 90 minutes and includes lighter and deeper stages; waking near the end of a cycle may feel easier than waking from deep sleep. The tool supports rough planning before work, school, travel, exams, naps, or early appointments. It is not a medical diagnosis and cannot know how quickly you fall asleep or how your body will move through sleep stages on a given night. Stress, caffeine, alcohol, illness, medication, shift work, and sleep disorders can change sleep quality significantly. Persistent fatigue, snoring, or breathing issues should be discussed with a professional.

How to Use

How to use

  1. Choose mode: calculate bedtime from wake time, or wake time from bedtime
  2. Enter your planned wake-up or fall-asleep time
  3. Review recommended times and choose what fits your schedule

Using the Suggestions

  • The recommended times are based on sleep-cycle estimates; adjust them for your own sleep latency, commute, medication, or shift schedule.
  • If you often wake up tired despite enough time in bed, treat the result as a scheduling hint rather than a health diagnosis.

Use Cases

Finding bedtime options from a wake-up timeChoose wake mode, enter the time you need to get up, and calculate suggested bedtimes based on 90-minute sleep cycles plus an assumed 15 minutes to fall asleep. Results are labeled optimal, good, or acceptable by cycle count.
Finding wake-up options from a sleep timeSwitch to sleep mode when you know when you will go to bed. The calculator adds the 15-minute fall-asleep buffer, then shows wake-up times for one through six complete cycles. Because the cycle math is purely arithmetic, the same input time on the same day will always produce the same set of suggested wake times, which helps when you copy a recommendation into a calendar reminder or share it verbally with family members.
Planning sleep around practical schedulesThe results show time, cycle count, duration in hours, and quality label, making it easier to pick a realistic option before early meetings, travel, exams, or naps without doing clock arithmetic by hand. The calculator only takes the bedtime or wake time you typed; it does not store sleep history, send the value to a backend, or sync with a wearable or sleep-tracking app, which keeps personal routines such as shift work or chronic insomnia plans local to the device.
Accounting for unusual sleep onset latencyIf you tend to lie awake for 30 or 45 minutes instead of 15, manually shift the suggested bedtime earlier before choosing a cycle count. The on-page buffer is only a rough default, so adjusting it makes the wake-up estimate match real falling-asleep time on restless nights.
Planning around jet lag and shift work transitionsRun the calculator for several consecutive days when crossing time zones or rotating to a night shift, and compare optimal versus acceptable cycle counts. The numeric labels make it easier to pick a realistic bedtime that aligns with melatonin windows without oversleeping through the new schedule.

Technical Principle

The calculator builds on the polysomnography model that healthy adults cycle through NREM stage 1, stage 2, slow-wave NREM stage 3, and REM sleep roughly every 90 minutes. The National Sleep Foundation recommends 7-9 hours per night for adults, which lines up with 4-6 complete cycles. Each cycle ends in REM, and waking near the end of a REM phase tends to feel easier than being pulled out of slow-wave sleep, where sleep inertia and grogginess are strongest. The arithmetic is straightforward: when a wake time is given, the tool computes wake - n * 90 minutes - 14 minutes of sleep latency for n in [3, 4, 5, 6], producing four candidate bedtimes. When a bedtime is given, it computes bedtime + 14 minutes + n * 90 minutes for the same range of n to produce wake-time options. The 14-minute offset is the median sleep onset latency reported in adult sleep studies; people who consistently take longer should manually shift the bedtime earlier. Circadian biology adds context the pure cycle math cannot model. Melatonin secretion is suppressed by short-wavelength blue light, body temperature drops about two hours before natural sleep onset, and chronotype (morning lark vs night owl) shifts the optimal window by an hour or more. The tool returns scheduling hints, not a medical recommendation, and conditions such as obstructive sleep apnea, shift work disorder, or chronic insomnia need clinical evaluation rather than alarm-clock arithmetic.

  • Cycle length: about 90 minutes per NREM 1 -> NREM 2 -> NREM 3 (slow-wave) -> REM rotation, repeated 4-6 times per night
  • Sleep onset latency: median 14 minutes added to bedtime calculations, based on adult polysomnography studies
  • Wake time formula: wake = bedtime + 14 min + n * 90 min for n in {3, 4, 5, 6}; bedtime formula reverses the sign
  • NSF recommendation: 7-9 hours per night for adults aged 18-64, which corresponds to roughly 5-6 complete cycles
  • Sleep inertia: waking inside slow-wave NREM 3 produces 15-30 minutes of grogginess; waking at REM end usually does not
  • Circadian modifiers: blue-light suppression of melatonin, core body-temperature dip about 2 hours pre-sleep, chronotype shifts of 1-3 hours
  • Out of scope: sleep apnea, restless legs, shift-work disorder, and chronic insomnia need clinical assessment beyond cycle arithmetic

Examples

Wake up at 06:30 - when should I go to bed?

Mode: I want to wake up at 06:30
(15-min fall-asleep buffer included)

6 cycles (9.0 h, Optimal):  21:15
5 cycles (7.5 h, Optimal):  22:45
4 cycles (6.0 h, Good):     00:15
3 cycles (4.5 h, Acceptable): 01:45
Recommend: lights out by 22:45 for a refreshed wake-up

Fall asleep at 23:00 - when to set alarm?

Mode: I will fall asleep at 23:00
(no fall-asleep buffer needed)

5 cycles (7.5 h, Optimal):  06:30
6 cycles (9.0 h, Optimal):  08:00
4 cycles (6.0 h, Good):     05:00
Tip: 06:30 lands at the end of REM, easier than 06:00 mid-deep-sleep

Power nap before evening shift

Mode: I want to fall asleep at 14:00
Goal: short restorative nap, avoid deep-sleep inertia

1 cycle (1.5 h):  15:30 (full cycle, refreshed)
20-min power nap: 14:20 (stay in light sleep)
Avoid: 14:45 wake-up - lands in slow-wave sleep, groggy

Red-eye flight, multi-day jet lag plan

Flight: SFO -> LHR, arrive 14:00 local
Day before (SFO): bed 22:00 -> wake 05:30 (5 cycles)
Day of flight:    nap 11:00 -> 12:30 (1 cycle)
Day 1 LHR:        bed 23:00 -> wake 06:30 (5 cycles)
Goal: anchor wake time first, bedtime drifts to match

FAQ

How does the calculator decide the best wake-up time?

It works in 90-minute sleep cycles. Healthy sleep moves through light → deep → REM in about 90 minutes; waking at the end of a cycle leaves you fresher than waking mid-deep-sleep. The calculator suggests bed or wake times that are multiples of 90 minutes apart, plus the typical 14 minutes to fall asleep.

Is the 90-minute cycle exact?

It is an average. Real cycles run anywhere from 70 to 110 minutes and shift across the night, with deep sleep dominating the first half and REM dominating the second half. Use the suggestions as a planning tool, not a fitness-tracker prescription.

How many cycles do I need?

Most adults function well on 5-6 cycles (7.5-9 hours). Younger adults often need 6 cycles, older adults sometimes do well with 5. Teens and children need significantly more (7+ cycles for teens, 8+ for younger children). The page caps suggestions at sensible defaults for your age band.

Why do I still feel tired even when I sleep enough?

Total time matters less than continuity. Frequent micro-awakenings (caffeine, alcohol, sleep apnea, irregular schedule) destroy sleep architecture even if the clock shows 8 hours. If you consistently wake unrefreshed, see a doctor - this calculator can't diagnose underlying issues.

Should I include time-to-fall-asleep in my plan?

Yes. The page adds 14 minutes by default to account for sleep latency. Adjust this if you typically fall asleep faster or slower; a chronic >30-minute latency suggests insomnia worth addressing.

Does this account for sleep debt or naps?

Naps and prior-night sleep debt aren't modeled. A 20-30 minute power nap recovers some alertness without disrupting nighttime sleep; longer naps may. For chronic sleep debt, a single night of long sleep doesn't fully repay it - consistent schedule does.

Is my schedule data saved?

No. Inputs are local to the page and cleared on refresh.