Premium tools, free for everyone. Most run right in your browser.

OpenMultiURL

Sleep Calculator

The Sleep Calculator tells you when to go to bed to wake up at a set time, or when to set your alarm if you go to bed now. It counts back or forward in sleep cycles of about 90 minutes plus the time you take to fall asleep, and checks the result against the hours recommended for your age.

  • Free, no subscriptions
  • Runs in your browser
  • Checked by AK Shine
See how it works before you use your own.
–Best times to go to bed

    Sleep cycles last about 90 minutes on average, but they vary from person to person and through the night, so treat these times as a guide. If you are tired every day however long you sleep, or you snore loudly, see a doctor.

    What is the Sleep Calculator?

    The Sleep Calculator plans your night around sleep cycles. Through the night you move through light sleep, deep sleep and dream sleep in cycles that last about 90 minutes on average. Waking at the end of a cycle, when sleep is light, usually feels easier than an alarm in the middle of deep sleep. Give the tool your wake-up time and it lists bedtimes for 6, 5, 4 and 3 full cycles, adding the minutes you usually need to fall asleep. Give it a bedtime and it lists wake-up times instead. Each option is checked against the CDC's recommended hours for your age group, so you can see which ones give you enough sleep.

    Who it is for: For students with early classes, shift workers, parents planning a teenager's bedtime, travellers resetting their routine, and anyone who wakes up groggy.

    How to use the Sleep Calculator

    1. Choose whether you want to wake up at a set time or go to bed at a set time.
    2. Enter the time, or press Now if you are going to bed now.
    3. Set how long you usually take to fall asleep and pick your age group.
    4. Use one of the highlighted times for your bedtime or alarm.

    Why use it

    • Both directionsWork back from your alarm or forward from bedtime, or press Now to plan from this minute.
    • Your own numbersSet how long you take to fall asleep and how long your cycles last.
    • Checked against your ageOptions that give enough sleep for your age group are highlighted.
    • 12 or 24 hour clockRead times the way your phone shows them.

    At a glance

    What you put in
    Wake-up time or bedtime, minutes to fall asleep, sleep cycle length, age group, 12 or 24 hour clock
    What you get
    Bedtimes or wake-up times for 6, 5, 4 and 3 full sleep cycles, hours of sleep for each, and whether each meets the recommended hours for your age
    Limits
    A guide based on average 90 minute cycles; real cycles vary between about 80 and 110 minutes; not a treatment for insomnia or other sleep problems
    Privacy
    Runs in your browser. Nothing you enter is uploaded or stored.
    Price
    Free for everyone. No subscriptions, no payments, no watermark.
    Works offline
    Yes, once the page has loaded
    Last checked
    by AK Shine

    Worked example

    Input
    Wake up at 6:30 am, 15 minutes to fall asleep, 90 minute cycles, adult
    Result
    Best times to go to bed: 10:45 pm or 9:15 pm. Other options: 12:15 am (4 cycles, 6 hours) and 1:45 am (3 cycles, 4 h 30 min), both less than recommended.

    5 cycles x 90 minutes = 7 h 30 min of sleep, plus 15 minutes to fall asleep = 7 h 45 min before 6:30 am, so 10:45 pm. 6 cycles = 9 hours plus 15 minutes, so 9:15 pm. Adults aged 18 to 60 need 7 hours or more.

    When to use something else

    • Sleep cycles are an average. Yours may be shorter or longer, and they change through the night, so if you still wake up tired, try the 85 or 95 minute setting for a week.
    • Enough total sleep matters more than timing the cycle. If you can only get 6 hours, going to bed earlier helps more than any alarm trick.
    • If you snore loudly, stop breathing in your sleep, or are tired every day whatever you do, talk to a doctor. For a countdown to bedtime use the Countdown Timer.

    Add this calculator to your website

    Copy this code into any page of your site or blog. The calculator works inside your page, free, with no sign up for your readers and no ads inside it.

    Preview

    Questions people ask

    How long is one sleep cycle?

    About 90 minutes on average, though a cycle can run from about 80 to 110 minutes, and the first cycles of the night usually hold more deep sleep while later ones hold more dream sleep. That is why this calculator lets you change the cycle length.

    How many hours of sleep do I need?

    The CDC recommends 7 hours or more for adults aged 18 to 60, 7 to 9 hours from 61 to 64, and 7 to 8 hours from 65. Teens aged 13 to 17 need 8 to 10 hours and children aged 6 to 12 need 9 to 12 hours.

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

    With 15 minutes to fall asleep and 90 minute cycles, go to bed at 10:15 pm for 5 cycles (7.5 hours) or 8:45 pm for 6 cycles (9 hours). Change the settings above if you fall asleep faster or slower.

    Is it better to sleep 6 hours or 7.5 hours?

    7.5 hours. Waking at the end of a cycle can make 6 hours feel easier, but it is still less than the 7 hours or more adults need. Regular short sleep is linked to poorer concentration, mood and long-term health.

    How long does it take to fall asleep normally?

    Most healthy adults fall asleep in about 10 to 20 minutes. Falling asleep within a minute or two of lying down can be a sign that you are not getting enough sleep, and regularly taking longer than 30 minutes is worth mentioning to a doctor.

    Does this work for naps?

    For a short nap, 20 minutes or less keeps you in light sleep so you wake up easily. A full 90 minute nap lets you finish one cycle. Naps of 30 to 60 minutes often end in deep sleep and leave you groggy.

    Next, you might need