Health calculators

Sleep Cycle Calculator

Updated Nov 11, 2026 By Infinity Calculator Formulas Sources Medical disclaimer
Rate
Calculation Mode
Bedtime
Enter the time you plan to get into bed. Times use 5-minute steps.

Results

    Step-by-Step Solution
    Sleep Stage Timeline An estimate for the suggested option. Deep sleep is heaviest early in the night, and REM sleep grows toward morning.
    Sleep Duration by Option

    Introduction

    Sleep works in cycles. Each cycle lasts about 80 to 100 minutes and moves through stages of light sleep, deep sleep, and REM sleep.3 The groggy feeling right after you wake up is called sleep inertia. Some studies find it is worse when you wake from deep sleep, though others find no difference.6

    This sleep cycle calculator helps you find the best times to fall asleep or wake up based on how these cycles work. Pick your bedtime, and it shows you when to set your alarm. Or pick the time you need to wake up, and it tells you when to go to bed. Each result lines up with the end of a full sleep cycle.

    Most adults need 7 to 9 hours of sleep per night.2 With 90-minute cycles, 5 cycles come to 7.5 hours and 6 cycles to 9 hours. The calculator also adds the time it takes you to fall asleep, 15 minutes by default. You can adjust both the cycle length and fall-asleep time in the advanced settings to match your own sleep habits.

    How to Use Our Sleep Cycle Calculator

    Enter your bedtime or desired wake-up time, and this calculator will show you times to sleep or wake that line up with the end of a full sleep cycle.

    Calculation Mode: Pick "I'm going to bed at…" if you know when you will go to sleep. Pick "I want to wake up at…" if you know when you need to get up.

    Time: Set the hour, minute, and AM or PM for your bedtime or wake-up time. You can also tap "Now" to use the current time, "+30 min" to set the time 30 minutes from now, or "+1 hr" to set it one hour from now.

    Sleep Cycle Length: Open Advanced Settings to change this. A new cycle usually starts every 80 to 100 minutes.3 The default is 90 minutes. You can set it from 60 to 120 minutes if your cycle is shorter or longer than average.

    Time to Fall Asleep: Open Advanced Settings to change this. The default is 15 minutes. Raise or lower it based on how long it usually takes you to drift off after getting into bed.

    Press Calculate to see your results. The calculator will show a list of times sorted by sleep cycles, a rating for each option, a sleep stage timeline, and a bar chart comparing sleep durations. Press Reset to reset all inputs back to their defaults.

    How the Sleep Cycle Calculator Works

    Your body does not stay in one type of sleep all night. Instead, it moves through repeating rounds called sleep cycles. Each cycle lasts about 80 to 100 minutes and has three main stages: light sleep, deep sleep, and REM sleep (the stage where you dream).3 The National Institute of Neurological Disorders and Stroke puts the first REM period about 90 minutes after falling asleep.1 Most people go through four to six full cycles each night.3

    This sleep cycle calculator finds the best times to fall asleep or wake up based on these cycles. The goal is to wake up at the end of a cycle, not in the middle of one. You may wake up briefly between cycles anyway.3 Some studies link waking from deep sleep to slower reactions and more grogginess, though others find no link.6

    Why Sleep Cycles Matter

    Each stage of sleep does a different job. Deep sleep triggers the release of a hormone that boosts muscle mass and helps repair cells and tissues.4 It happens most in the first half of the night. REM sleep helps your brain store memories and process emotions. It grows longer in later cycles, closer to morning. Light sleep leads into deeper sleep, and you spend more of the night in light stage 2 sleep than in any other stage.1

    Adults aged 18 to 64 need about 7 to 9 hours of sleep per night, and adults 65 and older about 7 to 8 hours, the National Sleep Foundation's recommended ranges.2 At the default 90-minute cycle, 7 to 9 hours is about 5 to 6 full cycles. Getting fewer than 4 cycles regularly can hurt your focus, mood, and health over time. Poor sleep also disrupts your metabolism and appetite hormones, which can make it harder to manage your daily calorie needs and maintain a healthy body mass index.4

    How to Use This Calculator

    Pick one of two modes. In "I'm going to bed at…" mode, enter your bedtime and the calculator shows you the best times to wake up. In "I want to wake up at…" mode, enter your alarm time and it shows you when to go to bed. The calculator adds 15 minutes by default for the time it takes to fall asleep. You can change this number, along with the cycle length, in the advanced settings.

    Each option is rated by its total sleep time, using the National Sleep Foundation's ranges for adults aged 26 to 64: 7 to 9 hours is Recommended, 6 or 10 hours May be appropriate, and less than 6 or more than 10 hours is Not recommended.2 A total between those whole hours, such as 6.5 or 9.5 hours, is rated May be appropriate. For adults 65 and older, 9 hours may be appropriate and more than 9 hours is not recommended.2


    Formulas used

    Wake-up time (bed mode)
    T_{\text{wake}} = T_{\text{bed}} + t_{\text{fall}} + n \times C
    Bedtime (wake mode)
    T_{\text{bed}} = T_{\text{wake}} - n \times C - t_{\text{fall}}
    Total sleep duration
    D = n \times C
    Deep-sleep fraction for cycle i
    f_{\text{deep}}(i) = \max\!\left(0.05,\; 0.42 - 0.06\,(i-1)\right)
    REM-sleep fraction for cycle i
    f_{\text{REM}}(i) = \min\!\left(0.38,\; 0.08 + 0.055\,(i-1)\right)
    Light-sleep fraction for cycle i
    f_{\text{light}}(i) = 1 - f_{\text{deep}}(i) - f_{\text{REM}}(i)

    Frequently asked questions

    What is a sleep cycle?

    A sleep cycle is one full round of sleep stages your body goes through. It starts with light sleep, moves into deep sleep, then finishes with REM sleep (when you dream). A new cycle starts about every 80 to 100 minutes.3 You repeat this pattern several times each night.

    How many sleep cycles do I need per night?

    Most adults need 7 to 9 hours of sleep per night.2 With 90-minute cycles, that is about 5 to 6 full cycles, which come to 7.5 and 9 hours. The calculator rates each option by its total hours, so at the default 90-minute cycle it marks 5 and 6 cycles as Recommended.

    Why do I feel groggy even after sleeping 8 hours?

    The groggy feeling right after waking is called sleep inertia. It is common even after a full 8 hours of sleep, and some studies find it is worse when you wake from deep sleep.6 This calculator sets your alarm for the end of a cycle, when you may wake up briefly anyway.3 If you often feel unusually tired during the day, see a doctor.1

    Does napping during the day affect my sleep cycles at night?

    Naps may boost your alertness, but adults should nap for no more than 20 minutes, and if you have trouble falling asleep at night, limit naps or take them earlier in the afternoon.5 Deep sleep usually starts about 30 minutes after you fall asleep, so a nap of 30 minutes or less is less likely to leave you groggy.6

    What if I wake up before my alarm goes off?

    You may wake up briefly between cycles.3 If you cannot get back to sleep, do not lie in bed awake. Do something else, like reading or listening to calming music, until you feel tired.1

    How can I fall asleep faster?

    Keep your room quiet, cool, and dark. Use the hour before bed for quiet time, away from bright screens. Go to bed and wake up at the same time every day. Skip caffeine from the late afternoon on, since its effects can last up to 8 hours.5 If it regularly takes you a long time to fall asleep, raise the fall-asleep time in Advanced Settings, and see a doctor if you have problems sleeping.1


    Sources

    1. Brain Basics: Understanding Sleep. National Institute of Neurological Disorders and Stroke. Accessed September 4, 2026.
    2. Hirshkowitz M, Whiton K, Albert SM, Alessi C, Bruni O, DonCarlos L, et al. National Sleep Foundation's sleep time duration recommendations: methodology and results summary. Sleep Health. 2015;1(1):40-43. doi:10.1016/j.sleh.2014.12.010. Accessed September 4, 2026.
    3. How Sleep Works: Sleep Phases and Stages. National Heart, Lung, and Blood Institute. Sleep Phases and Stages. Accessed November 11, 2026.
    4. Sleep Deprivation and Deficiency: How Sleep Affects Your Health. National Heart, Lung, and Blood Institute. Physical health benefits. Accessed November 11, 2026.
    5. Sleep Deprivation and Deficiency: Healthy Sleep Habits. National Heart, Lung, and Blood Institute. Accessed November 11, 2026.
    6. Hilditch CJ, McHill AW. Sleep inertia: current insights. Nature and Science of Sleep. 2019;11:155-165. doi:10.2147/NSS.S188911. Accessed November 11, 2026.