Sleep Cycle Calculator — Your Perfect Bedtime & Wake-Up Time

Wake up refreshed — every single morning.

Show details

This sleep calculator finds your optimal bedtime or wake-up time — based on 90-minute sleep cycles, an exact custom duration if that's all the time you have, and personalised to your age group. Most people wake up groggy not because they slept too little, but because they woke in the middle of a deep sleep stage. Enter your target wake-up time or select 'Sleep Now' to instantly get bedtime options aligned to complete cycle boundaries, adjustable to your own cycle length and how long you personally take to fall asleep.

Loading calculator...

How It Works

1
Choose your mode — either 'I want to wake up at...' or 'I want to sleep now'
2
If you only have a fixed amount of time available, turn on 'Custom duration' and enter your exact hours and minutes instead of a cycle count
3
Optionally open 'Personalize for your age & body' to set your age group, your own sleep cycle length, and how long you personally take to fall asleep — all adjustable rather than fixed
4
The calculator subtracts (or adds) 90-minute sleep cycles — or your custom duration — working from your target time
5
You receive bedtime options covering 3, 4, 5, and 6 complete sleep cycles, with the option matching your age group highlighted
6
Each option shows your exact bedtime, total sleep hours, and a quality rating
7
Your check-in is saved on this device so you can see a short history and a daily streak the next time you visit

The Formula

How your optimal bedtime is calculated

Formula

Cycle mode: Bedtime = Wake Time − (N × Cycle Length) − Sleep Onset Custom duration mode: Bedtime = Wake Time − Duration − Sleep Onset

Variables

N

Number of Sleep Cycles

The number of complete sleep cycles you want to complete. Adults need 5–6 cycles (7.5–9 hours) for full recovery; teens typically need more, older adults' guidance clusters closer to 5. The age selector highlights the cycle count that fits your group.

Cycle Length

Sleep Cycle Duration

Each complete sleep cycle consists of four stages — N1 (light), N2 (light), N3 (deep/slow-wave), and REM — and averages 90 minutes, with an individually normal range of 80–120 minutes. This is adjustable in the calculator's settings if you know your own average from a sleep tracker.

Sleep Onset

Sleep Onset Latency

The time it takes a healthy adult to fall asleep after lying down. Commonly cited research ranges from 10–20 minutes; we default to 15 minutes as the midpoint, and this is adjustable if you know your own typical onset time is meaningfully faster or slower.

Duration

Custom Sleep Duration (optional mode)

If cycle-based planning doesn't fit your situation — you only have a fixed window available tonight — enter your exact hours and minutes instead. The result is calculated precisely rather than rounded to a whole cycle, with a note that this carries a slightly higher chance of waking mid-cycle than a cycle-aligned option.

Note: Sleep cycle duration varies between 80–120 minutes across individuals, and typical sleep onset ranges 10–20 minutes. Both defaults (90 minutes, 15 minutes) can be adjusted in the calculator's settings panel if you know your personal figures from a wearable device or your own experience.

Step-by-Step Example

Want to wake up at 6:30 AM with 5 complete sleep cycles?

1

Set your target wake time

6:30 AM

2

Choose number of cycles

5 cycles (recommended for most adults)

3

Multiply cycles by cycle length

5 × 90 = 450 minutes = 7 hours 30 minutes of sleep

4

Subtract sleep time from wake time

6:30 AM − 7h 30min = 11:00 PM

5

Subtract sleep onset time

11:00 PM − 15 minutes = 10:45 PM

6

Your optimal bedtime

10:45 PM → You should be in bed, lights off, at 10:45 PM

Reference Guide

cycleshoursbedtimerating
69h9:15 PMOptimal
57h 30min10:45 PMGreat
46h12:15 AMFair
34h 30min1:45 AMMinimum

What Does My Result Mean?

Understanding your sleep options

⭐ 6 Cycles — Optimal (9 hours)

Maximum recovery. Ideal after intense exercise, illness, or sustained cognitive work — and the range most often highlighted for teens, whose sleep needs run higher than adults'.

Best for: Athletes, intensive study periods, post-illness recovery, teens during school terms

✓ 5 Cycles — Great (7.5 hours)

The sweet spot for most healthy adults, and also the most commonly well-supported target for older adults, whose sleep tends to fragment more. The CDC recommends 7+ hours; 7.5 hours aligns cleanly with cycle math.

Best for: Most adults, older adults, everyday work and life

⚠ 4 Cycles — Fair (6 hours)

Functional for occasional use. Research by the University of Pennsylvania (Van Dongen et al.) found that 6 hours of sleep per night accumulates measurable cognitive deficits within about two weeks, even though people generally don't feel proportionally impaired.

Best for: Occasional short nights only — not sustainable long-term

✗ 3 Cycles — Minimum (4.5 hours)

Severely insufficient. Use only in true emergencies. The CDC classifies fewer than 7 hours as insufficient sleep for adults.

Best for: Emergency only — never routinely

What Are Sleep Cycles — and Why Do They Matter?

While you sleep, your brain cycles through four distinct stages approximately every 90 minutes. These stages are not optional rest states — each serves a critical biological function that cannot be replicated while awake. Stage N1 (Light Sleep, 1–5 min): The transition from wakefulness to sleep. Muscle activity slows, and you can be easily woken. This stage accounts for roughly 5% of total sleep time. Stage N2 (Light Sleep, 10–25 min): Your heart rate slows and body temperature drops. The brain produces sleep spindles and K-complexes — waveforms associated with memory consolidation. You spend about 50% of your night here. Stage N3 (Deep Sleep / Slow-Wave Sleep, 20–40 min): The most physically restorative stage. Growth hormone is released, tissues repair, and the immune system strengthens. This stage is harder to awaken from — being woken here causes 'sleep inertia' (the groggy feeling). REM Sleep (15–60 min): Brain activity surges close to waking levels. Dreams occur. This stage is critical for emotional processing, creative problem-solving, and long-term memory consolidation. REM periods grow longer later in the night. Sleep timing is also governed by your circadian clock — an internal rhythm that responds to light and darkness and normally aligns your sleep cycles with night. Disrupt that alignment sharply (long-haul travel, for instance) and the body doesn't just lose sleep — it can show a 'REM rebound' on subsequent nights, spending more time in REM than usual as if catching up on a specific stage, not just total hours. This is part of why jet lag feels different from ordinary tiredness. Why waking mid-cycle makes you feel terrible: When your alarm pulls you from deep sleep (N3), your brain requires significant time to reach alertness — this is sleep inertia, and it can impair cognition for up to 90 minutes. Waking at the end of a cycle, when you are naturally in the lightest sleep stage, allows you to rise feeling genuinely refreshed.

Key Features

Two modes: Wake up at a specific time, or calculate from sleep now
Custom duration mode — enter an exact number of hours and minutes when cycle-based planning doesn't fit your night, instead of needing a second calculator
Age-group personalization (teen / adult / older adult) that highlights the cycle count best suited to your group, without hiding the other options
Adjustable settings for your own sleep cycle length (80–120min) and personal sleep onset time (5–30min), not just fixed population averages
4 bedtime options based on 3, 4, 5, and 6 complete sleep cycles, each with a quality rating and explanation
A short check-in history and daily streak, saved only on this device, so there's a reason to come back tomorrow rather than a one-off calculation
Shareable results for accountability partners
Science citations with every key claim

💡 Pro Tips

  • →Your ideal bedtime shifts earlier as you age — adults over 50 often need 30–45 minutes earlier than their 20s bedtime to achieve the same cycle count. The age-group setting is a starting point, not a substitute for noticing your own pattern.
  • →If you wake naturally 10–15 minutes before your alarm, your body is already completing a cycle — this is the real signal of good sleep alignment. If this happens consistently, try entering your own approximate cycle length in settings instead of the 90-minute default.
  • →Alcohol suppresses REM sleep in the second half of the night. Even moderate drinking can reduce your effective cycle count by one.
  • →The 'sleepy signal' — yawning, eye rubbing, slightly blurred vision — is a window that lasts roughly one cycle length. Missing it means waiting until the next one.
  • →Use the custom duration mode honestly rather than optimistically. If you genuinely only have 5 hours before you need to wake, planning around that exact number beats picking the nearest 'nice' cycle count and hoping.
  • →Check in daily rather than only when something feels off — the streak is there to nudge a habit, and the short history makes it easy to notice if your actual bedtime keeps drifting from your calculated one.

Common Mistakes

✕

Targeting 8 hours exactly

8 hours = 5.33 cycles at the 90-minute default — you wake in the middle of a cycle. 7.5 hours (5 cycles) or 9 hours (6 cycles) are far better targets.

✕

Getting into bed, then setting the alarm

Sleep onset time means your alarm should account for the time from lights-out, not from when you physically lie down. Use this calculator to find your get-into-bed time, not your alarm-setting time.

✕

Ignoring weekend sleep drift

Sleeping in more than 1 hour on weekends shifts your circadian rhythm and creates 'social jet lag,' making Monday mornings feel like crossing a time zone.

✕

Using the adult default when you're a teen or older adult

Sleep needs genuinely differ by age group — teens typically need more than adults, older adults' sleep tends to fragment more. Set your age group in settings rather than assuming the default applies to you.

✕

Using this calculator without accounting for sleep quality

Cycle duration assumes uninterrupted sleep. If you wake during the night, your effective cycle count drops. Address sleep quality issues (temperature, noise, blue light) alongside timing.

Research & Citations

All factual claims on this page are sourced from peer-reviewed research

  1. [1]

    Hirshkowitz, M., Whiton, K., Albert, S.M., et al. (2015). National Sleep Foundation's sleep time duration recommendations: methodology and results summary. Sleep Health, 1(1), pp. 40–43.

    Defines 7–9 hours as recommended sleep duration for adults

    View source
  2. [2]

    Van Dongen, H.P., Maislin, G., Mullington, J.M., Dinges, D.F. (2003). The cumulative cost of additional wakefulness: dose-response effects on neurobehavioral functions and sleep physiology from chronic sleep restriction and total sleep deprivation. Sleep, 26(2), pp. 117–126.

    6-hour sleep group showed measurable neurobehavioral deficits within about two weeks of chronic restriction

    View source
  3. [3]

    Shen, X., Wu, Y., Zhang, D. (2016). Nighttime sleep duration, 24-hour sleep duration and risk of all-cause mortality among adults: a meta-analysis of prospective cohort studies. Scientific Reports, 6, pp. 21480.

    7–8 hours associated with lowest mortality risk

    View source
  4. [4]

    Centers for Disease Control and Prevention (2022). Sleep and Sleep Disorders: How Much Sleep Do I Need?. CDC.gov.

    Official CDC sleep duration recommendations by age group — basis for this calculator's age-group personalization

    View source
  5. [5]

    Carskadon, M.A., Dement, W.C. (2011). Monitoring and staging human sleep. Principles and Practice of Sleep Medicine (5th ed.), pp. 16–26.

    Definitive source for 90-minute sleep cycle structure, N1/N2/N3/REM staging, and the 80–120 minute individual range

This calculator is a reference tool and does not constitute medical advice. For personalised sleep health guidance, consult a qualified healthcare provider.

Last updated: September 17, 2026

Tufail Ahmed

Creators

Tufail Ahmed

Computer Scientist

Reviewers

Khizar Nadim

Reviewer — Health & Science

Quick Facts

CategoryHealth & Wellness
Cost Free
Last updated2026-09-17

Privacy Guaranteed

Your data never leaves your browser. All calculations are 100% private.

Frequently Asked Questions

What time should I go to sleep to wake up at 6:00 AM?

At the default settings (90-minute cycles, 15-minute onset), your optimal bedtimes are: 10:15 PM (5 complete cycles = 7.5 hours — recommended for most adults), 8:45 PM (6 complete cycles = 9 hours — ideal after intense days), or 11:45 PM (4 cycles = 6 hours — acceptable occasionally, not sustainably). If your own cycle length or fall-asleep time differs, adjust them in the calculator's settings for a more precise result.

How does the sleep cycle calculator work?

The calculator works backward from your target wake time, subtracting your chosen number of 90-minute sleep cycles (or your custom duration) and your sleep onset time. For example, to wake at 7:00 AM with 5 cycles at default settings: 7:00 AM − 7h 30min − 15min = 11:15 PM bedtime. Waking at the end of a cycle — when you are in your lightest sleep stage — leaves you feeling alert rather than groggy.

I only have 5 hours to sleep tonight — what should I do?

Turn on 'Custom duration' and enter 5 hours directly rather than picking the nearest cycle option. The calculator will give you the exact bedtime for that precise duration. It won't be perfectly cycle-aligned, so expect a slightly higher chance of a groggy wake-up than a full cycle count would give — but it's a more honest plan than assuming a round number works out evenly.

Does the calculator account for my age?

Yes — open 'Personalize for your age & body' and select teen, adult, or older adult. This highlights the cycle count best supported for your group without removing the other options, since individual variation exists within every age band.

Why do I feel tired after 8 hours of sleep?

8 hours does not align with 90-minute sleep cycles — it's 5.33 cycles, meaning you are likely waking in the middle of a deep sleep (N3) stage. This causes 'sleep inertia,' grogginess that can persist for 30–90 minutes. Try 7.5 hours (5 complete cycles) or 9 hours (6 complete cycles) instead.

Can I adjust the calculator for my own personal sleep cycle length?

Yes. Open the settings panel and enter your own cycle length (80–120 minutes) if you know it from a sleep tracker, and your own typical time to fall asleep (5–30 minutes) if it differs meaningfully from the 15-minute default. The calculation updates to use your entered values.

Is 6 hours of sleep enough?

Rarely, for most adults. Research from the University of Pennsylvania found that people sleeping 6 hours per night accumulated cognitive deficits comparable to much more severe short-term deprivation after about two weeks, while generally underestimating their own impairment. The CDC classifies fewer than 7 hours as insufficient for adults, though a small genetic minority functions normally on less.

What is the daily check-in streak, and is my data private?

Each time you calculate, the result is saved to a short history and a day-count streak — stored only in your browser's local storage on this device, never sent to a server. It's there so you have a quick way to notice if your bedtime is drifting, and a small reason to check in again tomorrow. Clearing it is one tap.