Sleep Calculator

🌙 Sleep Cycle Calculator

Sleep Calculator: Find Your Optimal Bedtime & Wake Time

Quick overview: This calculator uses 90-minute sleep cycles and a 15-minute sleep-latency buffer (the average time to fall asleep) to suggest the best times to go to bed or wake up. Enter a wake time to get bedtime options, or a bedtime to get wake-time options — each aligned to the end of a complete cycle, plus an instant quality score and plain-language insights.

Last updated: July 7, 2026 · Written by Shakeel Muzaffar · Medically reviewed by Dr. Abdullah Khalil (MBBS)

90 min
Average sleep cycle (80–120)
5–6
Cycles adults need / night
15 min
Buffer to fall asleep
20 / 90
Best nap minutes
4.8★
User rating (1,270+)

1. Select your age range

2. Enter your time

Advanced options
15 min
90 min

Example: to wake up at 7:00 AM

These bedtimes each end on a complete 90-minute cycle (including 15 minutes to fall asleep). Pick the one that gives you at least 5 cycles when you can.

💯 Sleep quality score

0
out of 100

📊 Your night in cycles

Deep sleep dominates early cycles; REM lengthens toward morning. Bars show relative deep-sleep share per cycle.

Bedtime Wake

⚖️ You vs recommended

🤖 Smart insights — what this means for you

Your next steps

Questions about your result

🕑 Recent calculations

Your recent calculations will appear here so you can compare options.

Go deeper: 90-minute cycle calculator · sleep quality calculator · sleep debt calculator · circadian rhythm calculator.

Try another time or scenario
Adjust your inputs above and recalculate — it takes two seconds.
↑ Back to calculator

Power nap calculator

Choose a nap length that matches your goal. A ~20-minute nap boosts alertness without grogginess; a full 90-minute nap completes one cycle for deeper recovery. Avoid 30–60 minutes, which usually ends in deep sleep and causes sleep inertia.

When are you napping?

7-day sleep planner

Keep bedtimes and wake times within a 1-hour window across all seven days to protect your circadian rhythm. Large weekday-to-weekend swings create "social jet lag," which is linked to fatigue and poorer health.

Plan and check consistency across the week
DayBedtimeWake timeDuration
Mon8h 15m
Tue8h 15m
Wed8h 15m
Thu8h 15m
Fri8h 45m
Sat9h 0m
Sun9h 0m

Average sleep: 8.5 hours · Social jet lag: check your weekend shift

Sleep debt calculator

Sleep debt is the running gap between the sleep you need and the sleep you get. Enter your last seven nights to estimate the deficit. You cannot fully "repay" chronic debt in one long lie-in — recovery takes several consistent nights.

Hours slept, last 7 nights
Mon
Tue
Wed
Thu
Fri
Sat
Sun

How to use the sleep calculator

Pick your age range, choose whether you know your wake time or your bedtime, enter that time, then read the suggested options. Each ends at the close of a complete 90-minute cycle and already includes 15 minutes to fall asleep, so you can pick the time that best fits your schedule.

  1. Select your age range. Results are framed against age-based duration ranges from the National Sleep Foundation, and the calculator updates the moment you change age.
  2. Choose a direction. "Wake up at" works backward to bedtimes; "go to bed at" works forward to wake times.
  3. Enter the time. Fine-tune fall-asleep time or cycle length under Advanced options.
  4. Review, read the insights, and pick. Aim for at least 5 complete cycles (about 7.5 hours) when your schedule allows.
↑ Open the calculator

The sleep calculator formula

To find a bedtime from a wake time, subtract whole cycles plus your time to fall asleep:

Bedtime = Wake time − (cycles × 90 min) − 15 min to fall asleep

Worked example (wake at 6:30 AM). Six cycles is 9 hours; add 15 minutes of latency for 9 h 15 m, giving a 9:15 PM bedtime. Five cycles (7 h 45 m total) gives 10:45 PM. Four cycles (6 h 15 m total) gives 12:15 AM. To go the other way, add cycles and latency to your bedtime instead of subtracting.

Bedtime and wake-time tables

Quick reference when you do not want to open the tool. Each assumes an average 90-minute cycle and 15 minutes to fall asleep.

If you need to WAKE UP at… go to bed at one of these times
Wake time6 cycles (9h)5 cycles (7.5h)4 cycles (6h)
6:00 AM8:45 PM10:15 PM11:45 PM
6:30 AM9:15 PM10:45 PM12:15 AM
7:00 AM9:45 PM11:15 PM12:45 AM
7:30 AM10:15 PM11:45 PM1:15 AM
8:00 AM10:45 PM12:15 AM1:45 AM
If you GO TO BED at… you should wake at one of these times
Bedtime5 cycles (7.5h)6 cycles (9h)
10:00 PM5:45 AM7:15 AM
10:30 PM6:15 AM7:45 AM
11:00 PM6:45 AM8:15 AM
11:30 PM7:15 AM8:45 AM
12:00 AM7:45 AM9:15 AM
↑ Calculate your exact time

The science behind sleep cycles

Sleep is organized into repeating cycles of about 90 minutes, each moving through light sleep (N1, N2), deep sleep (N3), and REM. Deep sleep dominates early cycles for physical restoration; REM lengthens toward morning for memory and emotional processing. Waking at the end of a cycle, rather than mid-deep-sleep, is what reduces morning grogginess.

Stage N1 — light sleep (about 5 minutes)

The transition from wake to sleep. Muscles relax, heart rate slows, and you are easily woken.

Stage N2 — core sleep (about 25 minutes)

Body temperature drops and the brain produces sleep spindles that help protect sleep and consolidate memory. N2 is roughly half of total sleep.

Stage N3 — deep sleep (20–40 minutes)

The most restorative stage: tissue repair, immune activity, growth-hormone release. Concentrated in the first half of the night and hardest to wake from.

REM sleep (10–60 minutes)

Dreaming, memory consolidation, and emotional processing. REM periods are short early and can reach an hour by the final cycle.

Why cycle timing matters

Waking during deep sleep produces "sleep inertia" — grogginess that can last 15–60 minutes. Timing your alarm near the end of a cycle, during lighter sleep, is why a slightly shorter but complete night can feel better than a longer, interrupted one.

How much sleep you need by age

Recommended sleep duration falls with age, from 14–17 hours for newborns to 7–8 hours for older adults. These are ranges from the National Sleep Foundation's expert consensus; individual needs vary within each band.

National Sleep Foundation recommended sleep duration by age
Age groupRecommendedApprox. cycles
Newborn (0–3 months)14–17 hours
Infant (4–11 months)12–15 hours
Toddler (1–2 years)11–14 hours
Preschool (3–5 years)10–13 hours
School age (6–13 years)9–11 hours6–7
Teen (14–17 years)8–10 hours5.5–6.5
Young adult (18–25 years)7–9 hours5–6
Adult (26–64 years)7–9 hours5–6
Older adult (65+ years)7–8 hours4.5–5.5

How accurate are sleep calculators?

Sleep calculators are helpful planning estimates, not clinical measurements. They assume an average 90-minute cycle and 15-minute sleep latency, but real cycles vary from 80 to 120 minutes and change through the night. Treat the output as a starting schedule and fine-tune by 10–15 minutes based on how you actually feel.

What a calculator cannot see: your true cycle length on a given night, awakenings you do not remember, or an undiagnosed sleep disorder. For most healthy adults it still improves on guessing, because it anchors bedtime to a consistent, cycle-aware target.

Methodology & trust

This calculator counts backward or forward from your chosen time in whole 90-minute cycles (adjustable 80–120), adds a 15-minute sleep-latency buffer (adjustable 5–30), and scores the resulting duration against National Sleep Foundation age ranges. The quality score weighs total duration, cycle completion, and how close you land to your age target. All content is written by Shakeel Muzaffar and medically reviewed by Dr. Abdullah Khalil (MBBS). Sources are listed under References.

Naps and sleep debt

For naps, stick to about 20 minutes or a full 90 minutes and nap before roughly 3 PM. For sleep debt, recover gradually by adding 30–60 minutes to your regular nights rather than sleeping in for hours, which disrupts your body clock.

Avoid the 30–60 minute nap

Naps in this range often end during deep sleep, producing strong sleep inertia. A 20-minute nap stays in light sleep; a 90-minute nap completes a full cycle.

↑ Plan a nap now

Shift work and other edge cases

Shift workers

Rotating shifts fight your circadian rhythm. Where possible rotate forward (day → evening → night), use bright light during your "desired morning," and keep the sleep environment fully dark and quiet during daytime sleep. See the shift-work sleep calculator.

Pregnancy & teens

Later pregnancy fragments sleep; prioritize total time in bed and consistency. Adolescence shifts the body clock later, so many teens are not sleepy until 11 PM yet still need 8–10 hours.

Polyphasic and biphasic sleep

Splitting sleep can suit some schedules, but most polyphasic patterns reduce total sleep and REM. A biphasic pattern (a main night plus a short early-afternoon nap) is the most sustainable variation.

Sleep hygiene that makes cycle timing work

Cycle timing helps most when paired with consistent habits: a fixed schedule, morning daylight, a dark and cool room (about 18°C / 65°F), no screens for an hour before bed, and no caffeine within about 8–10 hours of sleep.

  • Consistency: keep bed and wake times within an hour, every day.
  • Morning light: 10–30 minutes soon after waking anchors your rhythm.
  • Cool, dark room: supports the natural drop in core temperature during sleep.
  • Wind-down: a 30–60 minute low-light routine before bed.
  • Caffeine and alcohol: stop caffeine early; alcohol fragments sleep and suppresses REM.

Frequently asked questions

A full cycle averages about 90 minutes but ranges from 80 to 120 minutes. Earlier cycles are shorter; later cycles lengthen as REM grows. The calculator uses 90 minutes as a reliable baseline.

Most adults need 5–6 complete cycles (about 7.5–9 hours). Four cycles (~6 hours) is a functional minimum; consistency and completing cycles matter more than a slightly longer, broken night.

Bedtime = wake time − (cycles × 90 min) − 15 min. For a 6:30 AM wake time: about 9:15 PM (6 cycles), 10:45 PM (5), or 12:15 AM (4).

They are planning estimates. Individual cycle length varies (80–120 min) and shifts through the night. Adjust by 10–15 minutes if you wake groggy.

About 20 minutes for alertness, or a full 90 minutes for one cycle. Avoid 30–60 minutes, and nap before ~3 PM.

Possible causes: sleep debt, an inconsistent schedule, poor sleep quality (e.g., sleep apnea), medications, or conditions like thyroid issues, anemia, or depression. If it persists after three weeks, see a clinician.

About the author and reviewer

Shakeel Muzaffar

Founder, Homeopath & AI Tool Developer

Shakeel Muzaffar is the founder of SleepCalculators.online, a homeopath, and an AI tool developer. He builds research-driven calculators and digital resources focused on sleep, health, and wellness, combining data analysis, health expertise, and user-centered design. His background spans health sciences, educational design, digital tool development, and calculator-based content systems.

Dr. Abdullah Khalil (MBBS)

Medical Reviewer

Dr. Abdullah Khalil is a physician and serves as Reviewer at SleepCalculators.online. He reviews sleep and health-related content and tools for accuracy, clarity, and quality.

References

  1. Hirshkowitz M, et al. National Sleep Foundation's sleep time duration recommendations. Sleep Health. 2015;1(1):40–43. doi:10.1016/j.sleh.2014.12.010
  2. Watson NF, et al. (AASM & SRS). Recommended amount of sleep for a healthy adult. Sleep. 2015;38(6):843–844. doi:10.5665/sleep.4716
  3. Dement W, Kleitman N. Cyclic variations in EEG during sleep and their relation to eye movements, body motility, and dreaming. EEG Clin Neurophysiol. 1957;9(4):673–690.
  4. Carskadon MA, Dement WC. Normal human sleep: an overview. In: Principles and Practice of Sleep Medicine. Elsevier.
  5. Ohayon MM, et al. Meta-analysis of quantitative sleep parameters across the lifespan. Sleep. 2004;27(7):1255–1273.
  6. Centers for Disease Control and Prevention. About Sleep. cdc.gov/sleep
  7. American Academy of Sleep Medicine. Sleep education resources. sleepeducation.org

Medical disclaimer: This calculator and guide are educational and are not a substitute for professional medical advice. If you have persistent insomnia, loud snoring or breathing pauses, excessive daytime sleepiness, or another suspected sleep disorder, consult a qualified healthcare provider. Content written by Shakeel Muzaffar and medically reviewed by Dr. Abdullah Khalil (MBBS).