Skip to content

Sleep Calculator

Wake up between sleep cycles instead of in the middle of one. Enter the time you need to get up to see the best times to go to bed, or find the best alarm times for tonight, checked against how much sleep your age group needs.

minutes

    Key facts

    Price
    Free, with no sign-up and no usage limits
    Privacy
    Runs in your browser: your files and text are never uploaded
    Works on
    Any current browser on Windows, macOS, Linux, ChromeOS, Android and iPhone
    Made by
    Toolgu
    Last updated

    How the sleep calculator works

    Through the night you go round a cycle of sleep stages: light sleep, deep sleep and REM sleep, when most dreaming happens. Each cycle lasts about 90 minutes (80 to 100 for most people), and a full night is usually four to six of them. Waking at the end of a cycle, when sleep is lightest, tends to feel easier than being pulled out of deep sleep, which can leave you groggy for a while (sleep inertia).

    The calculator counts whole cycles back from your wake-up time, or forward from your bedtime, and adds the time you usually take to fall asleep (15 minutes by default). It then marks which options give enough sleep for your age.

    Bedtimes for common wake-up times

    Wake up at6 cycles (9 h)5 cycles (7½ h)4 cycles (6 h)
    5:00 AM7:45 PM9:15 PM10:45 PM
    5:30 AM8:15 PM9:45 PM11:15 PM
    6:00 AM8:45 PM10:15 PM11:45 PM
    6:30 AM9:15 PM10:45 PM12:15 AM
    7:00 AM9:45 PM11:15 PM12:45 AM
    7:30 AM10:15 PM11:45 PM1:15 AM
    8:00 AM10:45 PM12:15 AM1:45 AM

    Bedtimes include 15 minutes to fall asleep. Most adults need 7 or more hours, so 5 or 6 cycles is the target.

    How much sleep you need

    • Newborn (0–3 months): 14–17 hours (including naps)
    • Infant (4–12 months): 12–16 hours (including naps)
    • Toddler (1–2 years): 11–14 hours (including naps)
    • Preschool (3–5 years): 10–13 hours (including naps)
    • School age (6–12 years): 9–12 hours
    • Teen (13–17 years): 8–10 hours
    • Adult (18–60 years): 7 or more hours
    • Adult (61–64 years): 7–9 hours
    • Adult (65+ years): 7–8 hours

    These are the amounts listed by the US Centers for Disease Control and Prevention, based on the American Academy of Sleep Medicine and the National Sleep Foundation. Regularly sleeping less is linked to poorer concentration and mood and to long-term health problems.

    Tips for better sleep

    • Keep the same wake-up time every day, weekends included: it anchors your body clock.
    • Get daylight in the morning, and dim screens and lights in the hour before bed.
    • Avoid caffeine in the afternoon and large meals or alcohol close to bedtime.
    • Keep the bedroom cool, dark and quiet. If you can’t sleep after about 20 minutes, get up and do something calm until you feel sleepy.

    Set your alarm with the online timer, or check a nap length with the 20 minute timer. Ongoing trouble sleeping or daytime sleepiness is worth discussing with a doctor.

    Frequently asked questions

    How does the sleep calculator work?

    Sleep runs in cycles of roughly 90 minutes, from light sleep through deep sleep to REM (dreaming) sleep, usually four to six a night. Waking at the end of a cycle rather than from deep sleep tends to leave you less groggy. The calculator counts back, or forward, in whole cycles from your time and adds the minutes you take to fall asleep.

    How many hours of sleep do I need?

    The CDC lists 7 or more hours a night for adults aged 18 to 60, 7–9 hours at 61 to 64 and 7–8 hours from 65. Teens need 8–10 hours, children aged 6 to 12 need 9–12, and younger children more, including naps. Choose your age and the suggested times are checked against it.

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

    For 5 cycles (7½ hours of sleep), be in bed by about 10:15 PM; for 6 cycles (9 hours), about 8:45 PM. Both allow 15 minutes to fall asleep. Four cycles, from about 11:45 PM, gives 6 hours, which is less than most adults need.

    How long should a nap be?

    Either a short nap of 10 to 20 minutes, which refreshes you without reaching deep sleep, or a full cycle of about 90 minutes. Naps of 30 to 60 minutes are the most likely to leave you groggy, because you tend to wake from deep sleep.

    Is everyone’s sleep cycle 90 minutes?

    No. A cycle lasts about 80 to 100 minutes and varies between people and through the night: early cycles have more deep sleep, later ones more REM sleep. Treat the times as a starting point; if you keep waking just before your alarm, the timing suits you.

    Sources

    The rules and figures this tool uses come from: