Sleep Calculator: Find Your Optimal Bedtime & Wake Time
Last updated: July 7, 2026 · Written by Shakeel Muzaffar · Medically reviewed by Dr. Abdullah Khalil (MBBS)
1. Select your age range
2. Enter your time
Advanced options
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
📊 Your night in cycles
Deep sleep dominates early cycles; REM lengthens toward morning. Bars show relative deep-sleep share per cycle.
⚖️ 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.
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.
| Day | Bedtime | Wake time | Duration |
|---|---|---|---|
| Mon | 8h 15m | ||
| Tue | 8h 15m | ||
| Wed | 8h 15m | ||
| Thu | 8h 15m | ||
| Fri | 8h 45m | ||
| Sat | 9h 0m | ||
| Sun | 9h 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.
| 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.
- 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.
- Choose a direction. "Wake up at" works backward to bedtimes; "go to bed at" works forward to wake times.
- Enter the time. Fine-tune fall-asleep time or cycle length under Advanced options.
- Review, read the insights, and pick. Aim for at least 5 complete cycles (about 7.5 hours) when your schedule allows.
The sleep calculator formula
To find a bedtime from a wake time, subtract whole cycles plus your time to fall asleep:
cycles × 90 min) − 15 min to fall asleepWorked 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.
| Wake time | 6 cycles (9h) | 5 cycles (7.5h) | 4 cycles (6h) |
|---|---|---|---|
| 6:00 AM | 8:45 PM | 10:15 PM | 11:45 PM |
| 6:30 AM | 9:15 PM | 10:45 PM | 12:15 AM |
| 7:00 AM | 9:45 PM | 11:15 PM | 12:45 AM |
| 7:30 AM | 10:15 PM | 11:45 PM | 1:15 AM |
| 8:00 AM | 10:45 PM | 12:15 AM | 1:45 AM |
| Bedtime | 5 cycles (7.5h) | 6 cycles (9h) |
|---|---|---|
| 10:00 PM | 5:45 AM | 7:15 AM |
| 10:30 PM | 6:15 AM | 7:45 AM |
| 11:00 PM | 6:45 AM | 8:15 AM |
| 11:30 PM | 7:15 AM | 8:45 AM |
| 12:00 AM | 7:45 AM | 9:15 AM |
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.
| Age group | Recommended | Approx. 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 hours | 6–7 |
| Teen (14–17 years) | 8–10 hours | 5.5–6.5 |
| Young adult (18–25 years) | 7–9 hours | 5–6 |
| Adult (26–64 years) | 7–9 hours | 5–6 |
| Older adult (65+ years) | 7–8 hours | 4.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.
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.
Related calculators
Explore the full sleep toolkit.
Related articles
Evidence-based reads to sleep better.
About the author and reviewer
Shakeel Muzaffar
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)
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
- 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
- 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
- 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.
- Carskadon MA, Dement WC. Normal human sleep: an overview. In: Principles and Practice of Sleep Medicine. Elsevier.
- Ohayon MM, et al. Meta-analysis of quantitative sleep parameters across the lifespan. Sleep. 2004;27(7):1255–1273.
- Centers for Disease Control and Prevention. About Sleep. cdc.gov/sleep
- 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).