Sleep cycle calculator: what time should I go to bed?

A plain-English sleep cycle calculator with the science behind it, plus how to set the resulting alarm so you actually wake up at the right moment.

Alarmify Team

The idea behind a sleep cycle calculator is simple: if you wake up at the end of a cycle, you feel rested even on relatively little sleep. If you wake up in the middle, even nine hours can leave you feeling wrecked. Timing beats duration, most of the time.

The math

A sleep cycle averages 90 minutes. It takes the average person 15 minutes to actually fall asleep after getting into bed. So:

Wake time = bedtime + 15 minutes + (n cycles x 90 minutes)

If you need to wake at 7:00am and you want 5 cycles (7.5 hours of sleep), your target in-bed time is:

  • 7:00am minus 15 minutes minus 450 minutes = 11:15pm

Get in bed at 11:15pm, wake at 7:00am, five clean cycles.

Suggested bedtimes for common wake times

All assuming 15 minutes to fall asleep and 5 or 6 cycles.

Wake6 cycles (9h)5 cycles (7.5h)4 cycles (6h, survival)
5:00am7:45pm9:15pm10:45pm
5:30am8:15pm9:45pm11:15pm
6:00am8:45pm10:15pm11:45pm
6:30am9:15pm10:45pm12:15am
7:00am9:45pm11:15pm12:45am
7:30am10:15pm11:45pm1:15am
8:00am10:45pm12:15am1:45am
8:30am11:15pm12:45am2:15am

Six cycles is ideal for most adults. Five is fine occasionally. Four is a bad week, not a plan.

Why 90 minutes is an approximation

Individual cycle length varies by:

  • Age. Younger adults tend toward 80 to 90. Older adults tend toward 90 to 100.
  • Sleep debt. A rested body has longer REM stages in later cycles, stretching the average.
  • Alcohol. Shortens REM, compresses cycles, wrecks quality.
  • Caffeine still in system. Lengthens the time to fall asleep and shortens deep sleep.

If you consistently feel rotten despite perfect math, your cycle might be closer to 85 or 95 minutes. Shift bedtime by 5 or 10 minutes and see which feels better.

Why this beats “just sleep 8 hours”

A person who sleeps exactly 8 hours but wakes mid-cycle feels worse than someone who sleeps 7.5 hours and wakes at cycle end. Sleep inertia (the grogginess after waking) is dramatically worse when you interrupt deep sleep. Timing matters more than a rounded duration.

Setting the resulting alarm

Once you have your bedtime and wake time, the alarm design decides whether the calculation actually works in practice. Three rules:

  1. Wake on a sound you are emotionally connected to. Not a default beep. Use Spotify or Apple Music. The iOS Clock app cannot stream either, so you need Alarmify.
  2. Use a gradual fade-in of 30 to 60 seconds. This pulls you up through late REM rather than yanking you out. Details: gradual wake-up alarms.
  3. Have a 7 to 10 minute backup alarm for insurance. Setup: set multiple alarms on iPhone.

Smart alarms and wearables

Some people swear by “smart alarm” windows where a wearable wakes you during a 20 minute window ending at your latest acceptable wake time. The idea is sound. The execution is inconsistent. Wrist-based sleep staging is roughly 70 percent accurate at detecting light versus deep sleep, which means 30 percent of the time it wakes you at exactly the wrong moment.

Our take: use the 90 minute math, set a fixed alarm, and save the wearable battery. If you are comparing sleep tracking apps, see Alarmify vs Sleep Cycle.

When 90 minutes does not fit

Shift workers, new parents, and anyone chronically sleep-deprived cannot just follow the cycle math. In those cases the priority is total duration over timing. See sleep debt recovery and night shift sleep schedule.

The bottom line

Pick the wake time first. Count back 7.5 or 9 hours. Add 15 minutes for falling asleep. Get in bed at that time. Use a music alarm with a gradual fade. Most people feel the difference within three days.

FAQ

How long is a sleep cycle?

Roughly 90 minutes for most adults, though it ranges from 80 to 110 depending on age, caffeine, stress and exercise. Using 90 minutes as a planning unit works for the majority of people.

How many cycles do I need?

Five to six cycles a night is the sweet spot for most adults, which means 7.5 to 9 hours of sleep. Four cycles (6 hours) is survivable short-term but creates sleep debt.

Does a smart alarm on a wearable actually detect cycles?

Partially. Wrist-based sleep tracking gets the macro pattern right but frequently confuses light sleep for deep sleep. Useful as a rough guide, not a precise tool.