Sleep Calculator

Find the best time to go to bed based on when you need to wake up. This calculator uses 90-minute sleep cycles to recommend bedtimes that align with your natural sleep rhythm, so you wake up at the end of a cycle feeling refreshed instead of groggy.

The hour you need to wake up (0-23, in 24-hour format).

The minute of the hour you need to wake up.

How many minutes it typically takes you to fall asleep after getting into bed.

This sleep calculator works backward from your desired wake-up time, accounting for the time it takes you to fall asleep and the 90-minute sleep cycle structure. It shows you multiple bedtime options ranging from three to six complete sleep cycles, highlighting the recommended five-cycle option for most adults.

How It Works

Sleep Cycle Bedtime Formula

Bedtime = Wake Time - (Cycles x 90 min) - Fall Asleep Time

Your bedtime is calculated by subtracting the total sleep time (number of cycles times 90 minutes) and your fall-asleep time from your desired wake-up time.

Each sleep cycle lasts approximately 90 minutes

Adults typically need 5-6 complete cycles (7.5-9 hours) per night

Bedtime = wake-up time minus (number of cycles times 90 minutes) minus fall-asleep time

Waking at the end of a cycle (rather than mid-cycle) reduces grogginess

The fall-asleep time is added so your actual sleep start aligns with the cycles

Important Notes:

  • The 90-minute sleep cycle is an average; individual cycles may range from 70 to 120 minutes
  • The National Sleep Foundation recommends 7-9 hours of sleep for adults aged 18-64
  • Sleep quality matters as much as duration; consistent schedules improve quality
  • This calculator provides time-based guidance and does not account for sleep disorders

Worked Example

A person who needs to wake up at 7:00 AM and typically takes 15 minutes to fall asleep.

Inputs:

  • wake Up Hour:7
  • wake Up Minute:0
  • fall Asleep Minutes:15

Result:

The recommended bedtime (5 cycles) is 9:45 PM. Other options: 8:15 PM for 6 cycles (9 hours), 11:15 PM for 4 cycles (6 hours), or 12:45 AM for 3 cycles (4.5 hours).

Who Is This Calculator For?

  • anyone wanting better sleep
  • people who wake up feeling tired
  • shift workers planning sleep schedules

Frequently Asked Questions

A complete sleep cycle lasts about 90 minutes and includes multiple stages: light sleep (stages 1 and 2), deep sleep (stage 3), and REM (rapid eye movement) sleep. This 90-minute figure is an average; individual cycles can range from 70 to 120 minutes. Waking at the end of a cycle, during light sleep, helps you feel more refreshed.
Most adults need five to six complete sleep cycles per night, which translates to 7.5 to 9 hours of sleep. Five cycles (7.5 hours) is sufficient for most healthy adults. Teenagers and young adults may benefit from six cycles. Consistently getting fewer than four cycles can impair cognitive function and health.
Feeling tired after a full night of sleep often means you woke up in the middle of a sleep cycle rather than at the end. Eight hours does not align neatly with 90-minute cycles (it falls between 5 and 6 cycles). Try sleeping 7.5 hours or 9 hours instead. Other factors like sleep apnea, poor sleep environment, or inconsistent schedules can also contribute.
If you wake up at 6:00 AM and take about 15 minutes to fall asleep, the recommended bedtime for five cycles is 8:45 PM. For six cycles it would be 7:15 PM, for four cycles it would be 10:15 PM, and for three cycles (not recommended) it would be 11:45 PM.
Yes. The time it takes you to fall asleep, called sleep onset latency, affects your total sleep duration. This calculator accounts for your fall-asleep time so that your actual sleep period aligns with complete cycles. If you consistently fall asleep in under 5 minutes, it may indicate sleep deprivation; taking 10 to 20 minutes is considered normal.
Maintain a consistent sleep schedule (even on weekends), keep your bedroom cool and dark, avoid screens for 30 to 60 minutes before bed, limit caffeine after noon, exercise regularly but not close to bedtime, and avoid large meals late at night. These habits, collectively known as sleep hygiene, can significantly improve both how quickly you fall asleep and the quality of your rest.

Related Tools

Last updated: April 20, 2026