Sleep Calculator
Calculate the best times to sleep and wake up based on 90-minute sleep cycles. Get 4-6 cycle recommendations for optimal rest.
Sleep Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Bedtime = Wake Time โ (Cycles ร 90 min) โ 15 min (fall asleep time)
Worked example โ Best bedtimes: 9:45 PM (optimal), 11:15 PM, or 12:45 AM
Medical disclaimer: This calculator is provided for educational and informational purposes only and does not constitute medical advice, diagnosis, or treatment. Results are general estimates and may not reflect your individual circumstances. Always consult a qualified healthcare professional before making decisions about your health.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Sleep Calculator Formula
Bedtime = Wake Time โ (Cycles ร 90 min) โ 15 min (fall asleep time)
Each sleep cycle lasts approximately 90 minutes. The calculator subtracts the total sleep duration (number of cycles times 90 minutes) and 15 minutes to fall asleep from your desired wake time, or adds them to your bedtime, to recommend optimal times.
Sleep Calculator โ Worked Examples
Example 1: Wake at 7:00 AM
Problem:You need to wake up at 7:00 AM. When should you go to bed to complete full sleep cycles?
Solution:6 cycles: 7:00 AM - 9h - 15min = 9:45 PM 5 cycles: 7:00 AM - 7.5h - 15min = 11:15 PM 4 cycles: 7:00 AM - 6h - 15min = 12:45 AM 15 minutes added for time to fall asleep
Result:Best bedtimes: 9:45 PM (optimal), 11:15 PM, or 12:45 AM
Example 2: Bedtime at 11:00 PM
Problem:You go to bed at 11:00 PM. When should you set your alarm?
Solution:Fall asleep by 11:15 PM 4 cycles: 11:15 PM + 6h = 5:15 AM 5 cycles: 11:15 PM + 7.5h = 6:45 AM 6 cycles: 11:15 PM + 9h = 8:15 AM
Result:Best wake times: 5:15 AM, 6:45 AM, or 8:15 AM (optimal)
Sleep Calculator โ Frequently Asked Questions
What is a sleep cycle?
A sleep cycle is a complete progression through all stages of sleep, lasting approximately 90 minutes. Each cycle includes light sleep (N1, N2), deep sleep (N3/slow-wave sleep), and REM (rapid eye movement) sleep. Most adults go through 4-6 cycles per night. Waking at the end of a complete cycle, during light sleep, helps you feel more refreshed than waking mid-cycle during deep sleep.
Why is 90 minutes used for each cycle?
Sleep research has established that the average sleep cycle lasts approximately 90 minutes (ranging from 80-120 minutes). This duration encompasses all sleep stages: about 5 minutes in N1, 25 minutes in N2, 20 minutes in N3 (deep sleep), and 20 minutes in REM, with transitions between stages. The 90-minute average is widely used in sleep science and clinical practice.
How many sleep cycles do I need?
Most adults need 5-6 complete sleep cycles (7.5-9 hours). The National Sleep Foundation recommends 7-9 hours for adults aged 18-64. Four cycles (6 hours) is the minimum for adequate function but creates a sleep deficit over time. Six cycles (9 hours) is optimal for recovery and learning. Teenagers need 8-10 hours, while older adults may need 7-8 hours.
Why do I feel groggy even after enough sleep?
This is called sleep inertia, and it often occurs when you wake during deep sleep (N3 stage) rather than at the end of a cycle during light sleep. Aligning your alarm with the end of a 90-minute cycle reduces sleep inertia. Other causes include inconsistent sleep schedules, poor sleep quality, sleep disorders, dehydration, or sleeping too much (oversleeping can cause grogginess).
Does it really take 15 minutes to fall asleep?
The average sleep onset latency (time to fall asleep) is 10-20 minutes for healthy adults, with 14 minutes being a commonly cited average. If you consistently fall asleep in under 5 minutes, it may indicate sleep deprivation. If it takes over 30 minutes, you may have insomnia or poor sleep hygiene. Sleep Calculator uses 15 minutes as a standard estimate.
What is the difference between time in bed and total sleep time?
Time in bed is the whole interval between lights out and getting up; total sleep time is only the portion actually spent asleep. Their ratio is sleep efficiency, and above roughly 85 percent is generally treated as normal. Because the two differ, Sleep Calculator adds a 15-minute sleep-onset allowance to the bedtime rather than assuming you fall asleep instantly, so an eight-hour sleep target needs more than eight hours in bed.
Should I keep the same bedtime on weekends as on weekdays?
Largely yes. Shifting your sleep window by two or three hours at the weekend and back again produces a mismatch between your circadian clock and your social schedule, often described as social jetlag, and it makes Monday's wake time feel like an early-morning flight. If you need extra recovery, take it by going to bed earlier rather than by sleeping in, which keeps the wake time - and therefore your morning light exposure, the dominant cue for the circadian clock - fixed.
How does caffeine timing interact with the bedtime Sleep Calculator suggests?
Caffeine blocks adenosine, the molecule whose build-up across the day generates sleep pressure, and its half-life in most adults is roughly five hours - meaning a mid-afternoon dose can still be pharmacologically active at bedtime. Even when it does not delay sleep onset, it tends to reduce slow-wave sleep. If your calculated bedtime keeps slipping, moving your last caffeine several hours earlier is usually more effective than moving the bedtime itself.
What is the difference between one short night and accumulated sleep debt?
A single short night mainly costs alertness and mood the following day and is largely repaid by the next normal night. Sleep debt is the running shortfall built from many small restrictions - an hour a night across a working week is a five-hour deficit - and it degrades reaction time and sustained attention even after the subjective feeling of sleepiness has levelled off. Recovering it takes several consecutive normal-length nights, not one long lie-in.
How should naps change the bedtime Sleep Calculator produces?
A nap discharges some of the sleep pressure you would otherwise carry to bedtime, so a long or late nap can make your calculated bedtime hard to reach. Short naps of around 20 minutes taken in the early afternoon stay in light sleep and interfere least. If you regularly nap for an hour or more, treat your nightly target as the remainder of your total sleep need rather than as a separate full-length requirement.
Sleep Calculator โ Background & Theory
History of the Sleep Calculator
References
Related Calculators
๐Sleep Cycle Calculator
Calculate optimal sleep and wake times
๐Sleep Debt
Calculate accumulated sleep debt
โ๏ธBMI Calculator
Calculate your Body Mass Index and health category
๐ฅBMR Calculator
Calculate your Basal Metabolic Rate
๐Calorie Calculator
Calculate daily calorie needs for weight goals
๐ดCycling Power Zone Calculator
Calculate cycling training zones based on FTP with multiple models
๐งDaily Hydration & Electrolyte Planner
Calculate personalized water and electrolyte needs based on activity
โกTDEE Calculator
Calculate Total Daily Energy Expenditure