OnSumoTools

Sleep Calculator

This sleep calculator tells you when to wake up or when to go to bed based on 90-minute sleep cycles. Sleep naturally completes in cycles of roughly 90 minutes. Waking at the end of a cycle, rather than in the middle, leaves you more alert when the alarm goes off.

Plan your sleep around full 90-minute cycles.

Mode

Recommended sleep

7-9 hours

Adult (18-64)

Suggested bedtimes

BedtimeCyclesHoursSuitability
21:4669Recommended
23:1657.5Recommended
00:4646Minimum
02:1634.5Too little

Sleep cycles average 90 minutes but vary person to person. Adjust the fall-asleep offset to match your experience. This tool provides general guidance and is not medical advice.

How does the Sleep Calculator work step by step?

A full sleep cycle lasts approximately 90 minutes and progresses through light sleep, deep sleep, and REM sleep. Waking up at the end of a cycle rather than in the middle of one reduces grogginess and sleep inertia. This calculator works in two modes. In 'wake up at' mode it subtracts multiples of 90 minutes plus your fall-asleep offset from your target alarm time to suggest ideal bedtimes. In 'sleep at' mode it adds the offset and multiples of 90 minutes forward from your chosen bedtime to suggest ideal alarm times. Each option is labelled by how well it matches the National Sleep Foundation sleep-duration recommendations for your age group.

What does a typical Sleep Calculator result look like?

If you need to wake up at 07:00 and typically take 14 minutes to fall asleep, the calculator works backwards: 6 cycles of 90 minutes is 540 minutes, plus 14 minutes fall-asleep time is 554 minutes before your alarm. Subtracting 554 minutes from 07:00 gives a bedtime of 21:46 for 9 hours of sleep. For 5 cycles (7.5 hours) the bedtime would be 23:16. Both are shown alongside their suitability label based on your age group.

Frequently asked questions

  • What is a sleep cycle?

    A sleep cycle lasts approximately 90 minutes and includes light sleep, deep sleep, and REM sleep stages. Waking up at the end of a cycle rather than in the middle makes you feel more alert and refreshed.

  • How many sleep cycles do I need?

    Most adults feel best with 5-6 complete cycles (7.5-9 hours). Fewer than 4 cycles (6 hours) consistently causes cognitive impairment comparable to sleep deprivation.

  • Why do I feel groggy even after 8 hours?

    Grogginess often means you woke up in the middle of a deep sleep stage. Using a sleep cycle calculator to time your alarm to the end of a cycle can eliminate this even if your total sleep time is slightly shorter.

  • Does the 90-minute cycle apply to everyone?

    The 90-minute average varies by person and across the night. Early cycles have more deep sleep; later cycles have more REM. Individual cycle lengths range from roughly 70 to 110 minutes, so the calculator gives a good starting point rather than a precise target.

Related tools

Time your sleep around cycles

Ever slept eight hours and still woken up groggy? Another night you got six and felt fine. Part of the reason may be where in your sleep you were when the alarm went off.

Sleep moves in cycles of about 90 minutes, passing from light sleep to deep sleep to REM, then starting again. The calculator works out bedtimes or wake times that line up with the end of a cycle, so you're more likely to wake in a lighter stage.

How to use it

Enter the time you need to wake up and it suggests bedtimes. Or enter the time you're going to bed and it suggests wake times. The results are spaced in multiples of 90 minutes, with a little allowance for the time it takes to fall asleep.

Five or six cycles, so around 7.5 to 9 hours, fits what most adults need. Four cycles is six hours, which is short for most people over time.

A reality check on the 90 minutes

Ninety minutes is an average. Real cycles vary between about 80 and 110 minutes, differ from person to person and change through the night. Early cycles have more deep sleep and later ones have more REM. So the tool gives you a good target, not a guarantee.

Don't stress over exact minutes. Consistency matters more. A regular bedtime and wake time, including on weekends, helps your body clock settle.

Why you can feel groggy after eight hours

Waking from deep sleep causes sleep inertia, that heavy, foggy feeling that can last up to half an hour. Other causes include sleep debt, alcohol before bed, a hot or noisy room, caffeine late in the day, or an undiagnosed problem like sleep apnea.

If you sleep enough and still wake exhausted most days, talk to a doctor.

Better sleep, simple moves

Keep the room cool, dark and quiet. Put screens away for the last half hour. Stop caffeine at least six to eight hours before bed. Skip heavy meals right before sleeping. Get daylight in the morning, since it anchors your body clock.

Avoid hitting snooze repeatedly. Each extra nap gives you fragments of poor sleep.

  • Pick a regular wake time and protect it
  • Wind down for 30 minutes before bed
  • Use the bedroom for sleep only

A note on health

This is a planning tool and not medical advice. Chronic insomnia, loud snoring with pauses in breathing, or heavy daytime sleepiness are reasons to see a professional. Your times stay in your browser.

Working out a bedtime by hand

Say you need to be up at 6:30. Count back in 90 minute steps: 5:00, 3:30, 2:00, 12:30 am, 11:00 pm. Add 15 minutes to fall asleep and you aim to get into bed at 10:45 pm for five cycles, or 12:15 am for four. That's all the tool does, with the arithmetic done for you.

Five cycles is about seven and a half hours, a reasonable target for most adults. Four cycles is six hours, fine for an odd night and not for a habit.

If you wake up often at the same time, that may be your body clock telling you something.

What changes with age

Teenagers need about eight to ten hours, adults seven to nine, and older adults seven to eight. Teens also shift later naturally, so early school starts clash with their biology.

Cycles aren't exact. They run from 80 to 110 minutes and change across the night, with more deep sleep early and more dream sleep toward morning.

Treat the times as a guide, then notice how you feel after a week and nudge the bedtime.

Habits that help

Keep a steady wake time, even at weekends. It anchors everything else. Get daylight within an hour of waking, and cut caffeine by early afternoon.

Dim the lights at night and keep your phone out of reach of the bed. A cool, dark room helps more than most gadgets.

If you regularly can't sleep, snore loudly or feel exhausted despite enough hours, see a doctor. Sleep apnea and insomnia are treatable.

Related guides