Health calculators

Sleep Cycle Calculator

Updated Jul 25, 2026 By Jehan Wadia
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 your recommended (6-cycle) option. Deep sleep is heaviest early in the night; REM sleep grows toward morning.
    Sleep Duration by Option

    Introduction

    Sleep works in cycles. Each cycle lasts about 90 minutes and moves through stages of light sleep, deep sleep, and REM sleep. When your alarm goes off in the middle of a cycle, you wake up feeling groggy and tired. But when you wake up at the end of a cycle, you feel alert and rested.

    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 so you can wake up feeling refreshed. For a simpler estimate of how much sleep you need overall, you can also try our sleep calculator.

    Most adults need 5 to 6 full sleep cycles per night, which adds up to about 7.5 to 9 hours of sleep. The calculator also accounts for the time it takes you to fall asleep, which is usually around 15 minutes. 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 the best times to sleep or wake so you feel rested and alert.

    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 add 30 minutes, or "+1 hr" to add one hour.

    Sleep Cycle Length: Open Advanced Settings to change this. Most people have a 90-minute sleep cycle. 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. If caffeine tends to keep you up longer, our caffeine calculator can help you figure out how much is still in your system at bedtime.

    Press Calculate to see your results. The calculator will show a list of recommended times sorted by sleep cycles, a quality rating for each option, a sleep stage timeline, and a bar chart comparing sleep durations. Press Clear 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 90 minutes and has three main stages: light sleep, deep sleep, and REM sleep (the stage where you dream). Most people go through 4 to 6 full cycles each night.

    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. When you wake up between cycles, you feel alert and rested. When an alarm pulls you out of deep sleep mid-cycle, you feel groggy and tired — even if you slept a long time.

    Why Sleep Cycles Matter

    Each stage of sleep does a different job. Deep sleep helps your body repair muscles, build bone, and strengthen your immune system. 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 acts as a bridge between the other stages and makes up about half of your total sleep.

    Adults need about 7 to 9 hours of sleep per night, which equals roughly 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. Staying well hydrated throughout the day also supports better sleep quality, so it helps to know your recommended daily water intake.

    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.

    Results marked Optimal (5 or 6 cycles) line up with the amount of sleep most adults need. Options marked Good or Fair still end at the close of a full cycle, so you should wake up feeling less groggy — but the total sleep time may be shorter or longer than recommended.


    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). One cycle takes about 90 minutes. You repeat this pattern several times each night.

    How many sleep cycles do I need per night?

    Most adults need 5 to 6 full sleep cycles per night. That equals about 7.5 to 9 hours of sleep. The calculator marks 5 and 6 cycles as Optimal because they give your body enough deep sleep and REM sleep to feel rested.

    Why do I feel groggy even after sleeping 8 hours?

    You probably woke up in the middle of a sleep cycle instead of at the end of one. Waking during deep sleep makes you feel tired no matter how long you slept. This calculator helps you set your alarm to go off at the end of a cycle so you wake up during lighter sleep.

    What does the time to fall asleep setting do?

    It adds extra minutes before your first sleep cycle starts. The default is 15 minutes because most people need about that long to drift off. If you fall asleep faster or slower, change this number in Advanced Settings so the results are more accurate for you.

    Can I change the sleep cycle length?

    Yes. Open Advanced Settings and change the sleep cycle length. The default is 90 minutes, which works for most people. You can set it anywhere from 60 to 120 minutes. If you often feel groggy waking at the suggested times, try adjusting this number by 5 or 10 minutes.

    What do the Optimal, Good, and Fair ratings mean?

    Optimal means 5 or 6 cycles, which is the recommended amount for most adults. Good means 4 or 7 cycles — still healthy but slightly outside the ideal range. Fair means 3 or fewer cycles, which is less sleep than most people need to feel their best.

    What is the difference between the two calculation modes?

    In bedtime mode, you enter when you plan to go to bed and the calculator shows you the best times to wake up. In wake-up mode, you enter when you need to get up and it shows you the best times to go to bed. Both modes use the same sleep cycle math.

    What does the sleep stage timeline show?

    The timeline is a visual map of your recommended night of sleep. It shows how much time you spend falling asleep, in light sleep, in deep sleep, and in REM sleep. Deep sleep is heaviest early in the night, and REM sleep grows longer toward morning.

    How does the Now button work?

    The Now button sets the time input to your current time. The +30 min button sets it to 30 minutes from now, and +1 hr sets it to one hour from now. These are helpful if you want to go to bed soon but not right this second.

    Is this calculator accurate for children or teenagers?

    This calculator is designed for adults. Children and teenagers need more sleep and may have different cycle lengths. Babies may need 12 to 16 hours of sleep, school-age kids need 9 to 12 hours, and teens need 8 to 10 hours. Talk to a doctor for personalized advice for younger age groups.

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

    Long naps can make it harder to fall asleep at night, which throws off your cycles. If you nap, keep it to 20 to 30 minutes and avoid napping after 3 PM. A short nap lets you rest without entering deep sleep, so it will not disrupt your nighttime schedule as much.

    What if I wake up before my alarm goes off?

    If you wake up naturally near the end of a sleep cycle and feel alert, it is usually fine to get up. Your body may have finished its last cycle. Forcing yourself back to sleep could mean waking mid-cycle later, which can make you feel more tired.

    Does this calculator account for sleep disorders?

    No. This calculator is built for general use and assumes normal sleep patterns. If you have insomnia, sleep apnea, or another sleep disorder, your cycles may not follow the typical pattern. See a doctor or sleep specialist for advice tailored to your condition.

    How can I fall asleep faster?

    Keep your room cool, dark, and quiet. Avoid screens for at least 30 minutes before bed. Skip caffeine in the afternoon and evening. Stick to the same bedtime each night so your body learns when to feel sleepy. If you regularly take longer than 30 minutes to fall asleep, update the fall-asleep time in Advanced Settings.

    Why does the calculator show times I did not expect?

    The calculator adds the fall-asleep time (default 15 minutes) before the first cycle starts. It also calculates multiple options from 3 to 9 cycles. If the times look off, check that your hour, minute, and AM/PM are set correctly, and make sure the cycle length and fall-asleep time in Advanced Settings match your habits.