Free tool · from ClearMind

Sleep Calculator

Find the best time to go to bed or wake up so you finish a full sleep cycle and wake up refreshed instead of groggy.

ClearMind app icon

ClearMind

Sleep Sounds & Meditation App

Fall asleep faster with ClearMind

  • Relaxing soundscapes: rain, ocean, forest, white and brown noise
  • Sleep timer that fades out once you have drifted off
  • Breathing exercises like 4-7-8 to calm a racing mind
  • Keeps playing with your screen off
Rating
★ 4.7 rating
Downloads
50,000+ downloads
Price
Free, no account needed
More about ClearMind →
ClearMind screenshot 1

How to use the sleep calculator

  • Know when you have to get up? Choose "I want to wake up at", enter the time and you get the best times to fall asleep, counted back in full sleep cycles.
  • Heading to bed now or at a set time? Choose "I'm going to bed at" or press "Going to sleep right now" to see the best alarm times.
  • Set how long it takes you to fall asleep. Most healthy adults take 10 to 20 minutes. If you lie awake longer, increase it.

Options marked Recommended give you the amount of sleep advised for your age group. Pick the one that fits your evening, then keep that wake time every day, including weekends.

Sleep cycles explained

Each night you go through four to six sleep cycles. A cycle moves from light sleep (stages N1 and N2) into deep, slow-wave sleep (N3), then into REM sleep, where most dreaming happens. Early cycles contain more deep sleep, later cycles more REM.

If your alarm goes off during deep sleep you are more likely to feel heavy and confused for a while, a state called sleep inertia. Timing your alarm near the end of a cycle, when sleep is lighter, makes waking up feel easier. That is the idea behind this calculator.

How much sleep do you need?

AgeRecommended sleepSleep cycles
Teenagers (14–17)8–10 hoursabout 5–6
Adults (18–64)7–9 hours5–6
Older adults (65+)7–8 hoursabout 5

Ranges follow the National Sleep Foundation's guidance. The American Academy of Sleep Medicine recommends at least seven hours a night for adults.

Tips to fall asleep at your target time

  1. Fix your wake-up time, even on weekends. Your body clock anchors to when you get up and see daylight.
  2. Dim the lights and put screens away for the last hour. Bright light late in the evening delays sleepiness.
  3. Cut caffeine after early afternoon. It can stay in your system for many hours.
  4. Use steady background sound. Rain, fan or brown noise masks sudden noises that wake you. Try our free white noise generator with a sleep timer.
  5. Calm your breathing. Slow breathing such as the 4-7-8 technique helps quiet a racing mind.

Frequently asked questions

How does the sleep calculator work?

Sleep runs in cycles of about 90 minutes, moving from light sleep to deep sleep to REM. Waking at the end of a cycle usually feels easier than waking in the middle of deep sleep. The calculator counts back (or forward) in 90 minute cycles from your chosen time and adds the time it takes you to fall asleep.

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

For five cycles (7.5 hours of sleep) go to bed around 11:15 pm, or for six cycles (9 hours) around 9:45 pm, assuming you take about 15 minutes to fall asleep.

Is 90 minutes per sleep cycle exact?

No. Cycles average around 90 minutes but range from roughly 70 to 120 minutes, and they change through the night and with age. Treat the times as a good starting point and adjust by 15 minutes if you still wake up groggy.

How many hours of sleep do I need?

The American Academy of Sleep Medicine recommends at least 7 hours for adults. The National Sleep Foundation suggests 7 to 9 hours for adults, 8 to 10 for teenagers and 7 to 8 for adults over 65.

What if I can't fall asleep at the suggested time?

Keep your wake-up time fixed and let bedtime follow. A consistent wake time, a dark and cool room, no screens for the last hour, and calming background sound such as rain or brown noise all help you fall asleep faster.

Further reading

All free tools →