Sleep Calculator

Find the best time to go to bed or set your alarm, based on 90-minute sleep cycles and how long you take to fall asleep.

Runs in your browser. Nothing is uploaded.

I want to

Shows the usually recommended hours for your age.

    Sleep cycles last about 90 minutes on average but vary from person to person and through the night. Waking at the end of a cycle often feels easier than waking in the middle of deep sleep.

    How to use the Sleep Calculator

    1. Choose whether you need to wake up at a set time, go to bed at a set time, or go to sleep now.
    2. Enter the time, and how long you usually take to fall asleep.
    3. Pick one of the suggested times; 5 or 6 full cycles are highlighted.
    4. Optionally enter your age to see the usually recommended hours of sleep.

    Timing your sleep

    How rested you feel depends not only on how long you sleep but also on when you wake up. Sleep runs in cycles of roughly 90 minutes, moving from light sleep into deep sleep and then REM (dreaming) sleep. An alarm that goes off in the middle of deep sleep can leave you groggy, while waking at the end of a cycle often feels more natural. This calculator times your bedtime or alarm to whole cycles.

    Three ways to use it

    I need to wake up at a set time. Enter the time and the calculator counts back in 90-minute cycles, plus the time it takes you to fall asleep. To wake at 06:30 after six cycles, with 15 minutes to drift off, be in bed by 21:15 and asleep by 21:30. Five cycles means asleep by 23:00.

    I’m going to bed at a set time. Enter your bedtime and it suggests alarm times after three to six full cycles.

    I’m going to sleep now. The calculator uses the current time and suggests when to set your alarm.

    How much sleep do you need?

    Five or six cycles (7.5 to 9 hours) suits most adults. Commonly cited recommendations are 7–9 hours for adults aged 18–64, 7–8 hours for older adults and 8–10 hours for teenagers. Enter your age to see the range for you. Regularly sleeping much less than recommended affects mood, concentration and health.

    Better sleep habits

    • Keep the same wake-up time every day, including weekends.
    • Get daylight in the morning and dim the lights in the evening.
    • Avoid caffeine in the afternoon and large meals right before bed.
    • Keep your bedroom cool, dark and quiet.

    If you often struggle to sleep or wake up tired despite enough hours, talk to a doctor.

    Everything runs in your browser.

    Frequently asked questions

    What is a sleep cycle?

    During the night you move through light sleep, deep sleep and REM sleep in cycles that last about 90 minutes on average. Most adults need four to six cycles.

    Why wake up at the end of a cycle?

    Waking from deep sleep can leave you groggy. Waking near the end of a cycle, when sleep is lighter, often feels easier.

    Are cycles exactly 90 minutes?

    No. They range from about 70 to 120 minutes and change through the night, so the times are a guide. Try a time and adjust by 15 minutes if needed.

    Why add time to fall asleep?

    Most people take 10–20 minutes to fall asleep. The calculator adds your number so the cycles start when you're actually asleep.

    Tutorials