Sleep calculator

Enter when you need to get up and see when to go to bed, or check what time to set your alarm tonight. Times line up with the end of a sleep cycle.

Runs in your browser. Nothing is uploaded.

Work out

Go to bed at

    Adults need 7 or more hours of sleep a night (CDC). Cycle timing is a rough guide, not medical advice: real cycles vary from about 80 to 120 minutes, between people and through the night. If you are often tired despite enough sleep, talk to a doctor.

    How to use it

    1. Choose I want to wake up at… and enter your alarm time to get bedtimes, or I’m going to bed… to get wake-up times.
    2. For wake-up times, choose Now or set the time you plan to turn the light off.
    3. Change the minutes to fall asleep if you usually take longer or shorter than 15 minutes.
    4. Aim for one of the highlighted times: five or six full cycles, which is 7.5 or 9 hours of sleep.

    How the calculation works

    Through the night you go round a cycle of light sleep, deep sleep and REM (dreaming) sleep, on average about every 90 minutes. Waking at the end of a cycle, when sleep is lighter, is thought to leave you less groggy than being woken from deep sleep.

    The calculator adds your time to fall asleep to whole cycles. For a 7:00 alarm with 15 minutes to drop off: six cycles (9 hours) means bed at 9:45 pm, five cycles (7.5 hours) means 11:15 pm, and four cycles (6 hours) means 12:45 am.

    Be realistic about how precise this is. Cycle length varies from person to person, roughly 80 to 120 minutes, and cycles change through the night: early ones contain more deep sleep, later ones more REM. Use the times as a guide, and if you know your cycles run long or short, change the cycle length. Getting enough total sleep matters far more than hitting an exact cycle.

    How much sleep you need by age

    AgeRecommended per 24 hoursSource
    Newborn, 0–3 months14–17 hoursNSF
    Infant, 4–12 months12–16 hours, including napsAASM
    Toddler, 1–2 years11–14 hours, including napsAASM
    Preschool, 3–5 years10–13 hours, including napsAASM
    School age, 6–12 years9–12 hoursAASM
    Teen, 13–17 years8–10 hoursAASM
    Adult, 18–60 years7 or more hoursAASM and SRS
    Adult, 61–64 years7–9 hoursNSF
    Adult, 65 and older7–8 hoursNSF

    These are the ranges the CDC publishes, drawn from the American Academy of Sleep Medicine (AASM, Paruthi et al. 2016), the AASM with the Sleep Research Society (SRS, Watson et al. 2015) and the National Sleep Foundation (NSF, Hirshkowitz et al. 2015). About a third of US adults regularly get less than 7 hours.

    Questions

    Is it better to sleep 6 hours or 7.5 hours?
    7.5 hours. Six hours is less than the 7 or more recommended for adults, and regularly sleeping that little is linked to poorer concentration, mood and long-term health, even if you wake at the end of a cycle and feel fine at first.
    How long should it take to fall asleep?
    Most healthy adults fall asleep in about 10–20 minutes. Regularly dropping off within a few minutes of lying down can be a sign you are not getting enough sleep. Regularly lying awake for 30 minutes or more is worth mentioning to a doctor.
    Why do I feel groggy even after a full night?
    Grogginess after waking, called sleep inertia, is normal and usually fades within 15–30 minutes. If you still feel unrefreshed most days, possible causes include poor sleep quality, irregular sleep times or a condition such as sleep apnea, which a doctor can check.
    Does this account for naps?
    No. It plans one main block of night sleep. A short nap of 10–20 minutes stays in light sleep, so it is less likely to leave you groggy.
    Why are the times shown in 12-hour (or 24-hour) format?
    The calculator follows your device’s language and region settings. The time boxes also use your system’s format.