Sleep Calculator

Find the best time to go to bed or wake up, so you wake at the end of a sleep cycle instead of in the middle of deep sleep. Then press play for rain to help you drift off.

Go to bed at one of these times

  • —6 cycles · 9 h sleepRecommended
  • —5 cycles · 7.5 h sleepRecommended
  • —4 cycles · 6 h sleep
  • —3 cycles · 4.5 h sleep

Includes 15 minutes to fall asleep.

Bedtime on your phone? The Rain Sounds app plays rain and thunder to help you fall asleep, no browser needed.

How to use the sleep calculator

  1. 1

    Choose what you know

    Your wake-up time, your bedtime, or “sleep now”.

  2. 2

    Set your time

    Enter the time, and how long you usually take to fall asleep.

  3. 3

    Pick a time

    Five or six cycles is ideal for most adults.

  4. 4

    Wind down

    Play rain or another calm sound while you fall asleep.

How sleep cycles work

Each night you move through several cycles of light sleep, deep sleep and REM (dreaming) sleep. A full cycle lasts around 90 minutes. Deep sleep dominates the early cycles and REM the later ones. If your alarm goes off during deep sleep you’re more likely to feel groggy, a feeling called sleep inertia, so timing your alarm to the end of a cycle can make mornings easier.

How much sleep do you need?

AgeRecommended sleep per day
Newborns (0–3 months)14–17 hours
Infants (4–11 months)12–15 hours
Toddlers (1–2 years)11–14 hours
Preschool (3–5 years)10–13 hours
School age (6–13 years)9–11 hours
Teenagers (14–17 years)8–10 hours
Adults (18–64 years)7–9 hours
Older adults (65+)7–8 hours

Ranges based on recommendations from sleep medicine organizations such as the National Sleep Foundation and the American Academy of Sleep Medicine. Talk to a doctor if you regularly struggle to sleep.

For a calmer bedtime, read a bedtime routine to fall asleep faster, try the 4-7-8 breathing exercise, or listen to rain sounds for sleep.

Rain Sounds for Sleep & Relax icon
Free app

Take rain sounds to bed with the Rain Sounds app

Fall asleep to rain on your phone, with thunderstorm and ambient sounds, a simple interface and no browser tab to keep open.

  • High-quality rain sounds for deep sleep
  • Relaxing thunderstorm and ambient sounds
  • Soothing white noise to mask background noise
  • Helps improve sleep quality and relaxation
  • Ideal for meditation, yoga, focus, and studying
  • Simple, clean, and easy-to-use interface

Sleep Calculator FAQ

How does the sleep calculator work?

Sleep runs in cycles of roughly 90 minutes. Waking at the end of a cycle, when sleep is lightest, usually feels easier than waking in deep sleep. The calculator adds the time it takes you to fall asleep, then counts in 90-minute cycles to suggest bedtimes or wake-up times.

How many sleep cycles do I need?

Most adults need five or six cycles, about 7.5 to 9 hours. Four cycles (6 hours) is the minimum for most people on an occasional short night.

What time should I go to bed to wake up at 6 or 7 am?

To wake at 6:00 am after six cycles, aim to be in bed around 8:45 pm, or 10:15 pm for five cycles, assuming 15 minutes to fall asleep. For 7:00 am, it’s 9:45 pm or 11:15 pm. Enter your own time above for exact suggestions.

Is a sleep cycle always 90 minutes?

No. Cycles vary from about 70 to 120 minutes between people and through the night, so treat the times as a starting point. If you wake groggy, try shifting your bedtime by 15 minutes.

How long does it take to fall asleep?

For most healthy adults it takes about 10 to 20 minutes. Adjust “Time to fall asleep” if you usually take longer.

Keep the volume moderate, especially with headphones or when sleeping. These tools support relaxation and are not medical treatment.