Metrics Calculator

Updated March 14, 2026

Sleep Calculator

A sleep cycle lasts about 90 minutes. To wake feeling rested, count backward in 90-minute blocks from your alarm time and add 15 minutes to fall asleep. For a 7 AM alarm, ideal bedtimes are 9:30 PM (6 cycles) or 11:00 PM (5 cycles).

Enter your desired wake-up time to find ideal bedtimes

Rec: 7-9 hours

Ideal Bedtimes

Based on 90-minute sleep cycles with 15 minutes to fall asleep

9:45 PM

Recommended
6 sleep cycles9h of sleep

11:15 PM

Recommended
5 sleep cycles7h 30m of sleep

Tip: Waking at the end of a complete sleep cycle helps you feel more refreshed. Each cycle lasts about 90 minutes and includes light sleep, deep sleep, and REM stages.

Key Takeaways

  • One sleep cycle lasts about 90 minutes and includes light sleep, deep sleep, and REM stages.
  • Adults need 7 to 9 hours of sleep per night, which equals 5 to 6 complete sleep cycles.
  • Waking between cycles (not during deep sleep) reduces grogginess and sleep inertia.
  • Add 10 to 20 minutes of fall-asleep time when planning your bedtime.
  • Teenagers need 8 to 10 hours due to biological circadian rhythm shifts during adolescence.
  • A consistent sleep schedule every day of the week matters more than catching up on weekends.

How Sleep Cycles Work

Sleep is not a uniform state. Your brain cycles through distinct stages in a repeating pattern that lasts approximately 90 minutes per cycle. The formula for timing your sleep is straightforward: Ideal bedtime = Wake time - (number of cycles x 90 minutes) - fall-asleep time. For example, if you need to wake at 6:30 AM and want 5 cycles (7.5 hours of sleep), subtract 7 hours 30 minutes plus 15 minutes of fall-asleep time to get a 10:45 PM bedtime.

Maya Singh, a student in Pinewood Falls, used this cycle-based approach during exam season. She set her bedtime at 10:30 PM to wake at 6:00 AM, giving her 5 full cycles plus 15 minutes to fall asleep. The key insight is that waking at the end of a cycle (during light sleep) feels very different from waking in the middle of deep sleep. A person who sleeps 7.5 hours and wakes between cycles often feels more rested than someone who sleeps 8 hours but wakes during stage N3 deep sleep.

Early cycles contain more deep sleep (stages N3), which is critical for physical recovery and immune function. Later cycles shift toward longer REM periods, which support memory consolidation and learning. This is why cutting sleep short by even one cycle can disproportionately reduce your REM sleep, since most REM occurs in the final 2 to 3 hours of a full night's rest. The National Sleep Foundation's guide to sleep stages provides a detailed breakdown of what happens in each stage.

Sleep needs change significantly across the lifespan. The table below shows recommendations from the Centers for Disease Control and Prevention and the National Sleep Foundation. These ranges represent the amount of sleep associated with the best health outcomes in large population studies.

Age Group Recommended Hours Sleep Cycles
Newborn (0-3 months)14-17 hoursN/A (irregular cycles)
Infant (4-11 months)12-15 hoursN/A (cycles developing)
Toddler (1-2 years)11-14 hoursIncluding naps
Preschool (3-5 years)10-13 hours7-9 cycles
School Age (6-12 years)9-12 hours6-8 cycles
Teenager (13-17 years)8-10 hours5-7 cycles
Adult (18-64 years)7-9 hours5-6 cycles
Older Adult (65+ years)7-8 hours5-6 cycles

Source: CDC and National Sleep Foundation (2015 updated recommendations)

Coach Rivera schedules morning practice at 7:00 AM for his Pinewood Falls team, so he reminds his teenage players to be in bed by 9:00 PM at the latest. Teenagers need 8 to 10 hours, but the adolescent circadian rhythm naturally shifts later, making it difficult for teens to fall asleep before 11 PM. The American Academy of Sleep Medicine has advocated for later school start times (8:30 AM or later) to align with teen biology. Individual variation exists within each age group. Some adults function well on 7 hours while others need a full 9 hours to feel rested.

The Science of Sleep Stages

Each 90-minute sleep cycle contains four stages that serve different biological functions. Understanding these stages explains why both deep sleep and REM sleep matter for health and why the timing of your alarm makes such a large difference in how you feel upon waking.

Stage N1 (Light Sleep, 1-5 minutes): This transitional stage between wakefulness and sleep is when your muscles begin to relax and your heart rate slows. Brain waves shift from alpha to theta frequency. You can be easily awakened during N1 and may not even realize you were asleep. This stage makes up about 5% of total sleep time.

Stage N2 (Light Sleep, 10-25 minutes): Body temperature drops, eye movements stop, and brain waves slow further. Sleep spindles (short bursts of brain activity) appear on EEG readings and are associated with memory consolidation. N2 makes up roughly 45% to 55% of total sleep. This is the stage where you spend the most time across a full night.

Stage N3 (Deep Sleep, 20-40 minutes): Also called slow-wave sleep or delta sleep. This is the most restorative stage for physical recovery. Growth hormone is released, tissue repair occurs, and the immune system strengthens. Waking from N3 causes the most severe sleep inertia. Deep sleep dominates the first half of the night. According to the National Institute of Neurological Disorders and Stroke, deep sleep decreases with age, which partly explains why older adults wake more easily.

REM Sleep (10-60 minutes): Rapid eye movement sleep is when most vivid dreaming occurs. Brain activity resembles wakefulness, but your voluntary muscles are temporarily paralyzed (atonia) to prevent acting out dreams. REM periods get longer as the night progresses: the first REM period may last only 10 minutes, while the final one can exceed 60 minutes. REM sleep is critical for emotional processing, learning, and creativity. Maya Singh noticed that she remembered more study material after nights when she got her full 5 cycles, since the later cycles contain the longest REM periods.

Tips for Better Sleep

Sleep hygiene refers to habits and environmental factors that promote consistent, high-quality sleep. The CDC's sleep hygiene guidelines and the National Sleep Foundation recommend the following evidence-based practices for improving sleep quality.

Keep a consistent schedule. Go to bed and wake up at the same time every day, including weekends. Your circadian rhythm (internal clock) anchors to consistent light-dark and wake-sleep timing. Shifting your schedule by more than an hour on weekends creates "social jet lag," which has effects similar to crossing time zones. A regular schedule trains your body to feel sleepy and alert at predictable times.

Control your sleep environment. Keep your bedroom dark, quiet, and cool (60 to 67 degrees Fahrenheit is optimal for most adults). Use blackout curtains or a sleep mask to block light. White noise or earplugs can mask disruptive sounds. Remove screens from the bedroom if possible. The blue light emitted by phones, tablets, and computers suppresses melatonin production, so avoid screens for at least 30 minutes before bed.

Watch your intake. Caffeine has a half-life of 5 to 6 hours, meaning half the caffeine from an afternoon coffee is still in your system at bedtime. Avoid caffeine after 2 PM. Alcohol may help you fall asleep faster but disrupts sleep architecture by suppressing REM sleep in the second half of the night. Large meals close to bedtime can cause discomfort and acid reflux that fragments sleep. Coach Rivera advises his Pinewood Falls players to stop eating 2 to 3 hours before bed.

Build a wind-down routine. Spend 30 to 60 minutes before bed on calming activities: reading, stretching, journaling, or taking a warm bath. A warm bath raises your core temperature, and the subsequent cooling signals your body to produce melatonin. Regular physical activity improves sleep quality, but finish vigorous exercise at least 3 to 4 hours before bedtime to allow your heart rate and core temperature to return to baseline.

Sleep Debt and Recovery

Sleep debt is the cumulative difference between the sleep you need and the sleep you actually get. If you need 8 hours but sleep only 6 hours per night for five weeknights, you accumulate 10 hours of sleep debt by Friday. Research from the National Institutes of Health shows that sleep debt impairs attention, reaction time, decision-making, and emotional regulation in a dose-dependent manner. Each hour of lost sleep adds measurably to cognitive impairment.

Recovering from sleep debt takes longer than most people expect. A study published in PLOS ONE found that after a week of sleeping 5 hours per night, participants needed at least 3 nights of extended recovery sleep (10+ hours) to return cognitive performance to baseline levels. For chronic sleep deprivation lasting months or years, full recovery may require weeks of consistent, adequate sleep. The popular strategy of "catching up on weekends" provides only partial benefit and does not reverse the metabolic and cardiovascular effects of chronic short sleep.

The most effective approach is prevention: maintaining a consistent 7-to-9 hour sleep schedule prevents debt from accumulating in the first place. A person who sleeps only 5 hours a night for a week and then sleeps 11 hours on Saturday will still feel foggy on Monday. If you do fall behind, add 1 to 2 extra hours per night over the course of a week rather than trying to repay the entire debt in one marathon sleep session.

When to See a Doctor

Most sleep issues improve with better sleep hygiene and a consistent schedule. However, some sleep problems require medical evaluation. The National Heart, Lung, and Blood Institute recommends seeing a doctor if you experience any of the following: persistent difficulty falling asleep (more than 30 minutes) or staying asleep, loud snoring with gasping or choking, excessive daytime sleepiness despite adequate time in bed, or restless legs that create an irresistible urge to move.

Common sleep disorders include obstructive sleep apnea (affecting an estimated 22 million Americans), insomnia disorder, restless legs syndrome, and narcolepsy. Sleep apnea is particularly important to identify because it is associated with hypertension, stroke, heart failure, and Type 2 diabetes. A sleep study (polysomnography) can diagnose these conditions, and effective treatments exist for each one. Do not assume that poor sleep is simply a matter of willpower or lifestyle. A medical evaluation can identify treatable conditions that no amount of sleep hygiene will fix on its own.

Results are estimates for educational purposes. They do not replace professional medical advice. This calculator uses average 90-minute sleep cycles, but individual cycle lengths vary from 80 to 120 minutes. Consult a healthcare provider for persistent sleep problems.


Related Calculators

Frequently Asked Questions

What is a sleep cycle and how long does it last?

A sleep cycle is a repeating pattern of brain activity that includes four stages: N1 (light sleep), N2 (deeper light sleep), N3 (deep slow-wave sleep), and REM (rapid eye movement). One complete cycle lasts about 90 minutes on average, though it can range from 80 to 120 minutes depending on the individual. Most adults go through 4 to 6 complete cycles per night.

Why is it better to wake up at the end of a sleep cycle?

Waking during deep sleep (stage N3) causes sleep inertia, the groggy, disoriented feeling that can last 15 to 30 minutes after waking. When you wake at the end of a cycle, you are in the lightest stage of sleep. This makes it easier to get up and feel alert quickly. The sleep calculator times your bedtime or alarm so you wake between cycles rather than in the middle of one.

How many hours of sleep do adults need?

The National Sleep Foundation and the CDC recommend 7 to 9 hours of sleep per night for adults aged 18 to 64. Older adults aged 65 and above need 7 to 8 hours. Individual needs vary based on genetics, health conditions, and activity level. Consistently sleeping fewer than 7 hours is associated with increased risk of obesity, heart disease, diabetes, and impaired cognitive function.

Does the time it takes to fall asleep matter?

Sleep onset latency (the time it takes to fall asleep) directly affects when your first sleep cycle begins. The average adult takes 10 to 20 minutes to fall asleep. If you fall asleep instantly (under 5 minutes), it may signal sleep deprivation. If it takes more than 30 minutes regularly, you may have onset insomnia. This calculator adds your estimated fall-asleep time to the cycle calculation so your alarm aligns with cycle endings.

How much sleep do teenagers need?

The American Academy of Sleep Medicine recommends 8 to 10 hours per night for teenagers aged 13 to 18. Adolescent biology shifts the circadian rhythm later, making teens naturally sleepy around 11 PM and alert later in the morning. Despite this biological shift, early school start times often cut teen sleep short. The CDC reports that about 73% of high school students get fewer than 8 hours on school nights.

Can I make up for lost sleep on weekends?

Sleeping extra on weekends (social jet lag) can partially reduce sleep debt, but it does not fully reverse the cognitive and metabolic effects of chronic short sleep during the week. Research published in Current Biology found that weekend recovery sleep did not prevent metabolic problems caused by weeknight sleep restriction. A consistent sleep schedule 7 days a week is more effective than alternating between short and long sleep periods.

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

To wake at 6:00 AM after 5 complete 90-minute sleep cycles (7.5 hours) plus 15 minutes to fall asleep, go to bed at 10:15 PM. For 6 cycles (9 hours) plus 15 minutes, go to bed at 8:45 PM. The 5-cycle option (7.5 hours of sleep) falls within the recommended 7-9 hour range for adults and is the most practical choice for a standard work schedule.