Sleep Calculator
Free Sleep Calculator. Free online tool with accurate results using verified formulas. Includes worked examples, FAQ, and instant calculations.
Reviewed 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\n5 cycles: 7:00 AM - 7.5h - 15min = 11:15 PM\n4 cycles: 7:00 AM - 6h - 15min = 12:45 AM\n15 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\n4 cycles: 11:15 PM + 6h = 5:15 AM\n5 cycles: 11:15 PM + 7.5h = 6:45 AM\n6 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.
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).
How much sleep do adults need?
The National Sleep Foundation recommends 7-9 hours per night for adults ages 18-64, and 7-8 hours for those 65+. Teenagers need 8-10 hours. Sleep is not passive downtime — deep slow-wave sleep (stages 3-4) triggers growth hormone release critical for muscle repair and tissue regeneration, while REM sleep consolidates memory and regulates emotion. Chronic sleep deprivation (under 6 hours) is causally linked to weight gain (disrupts leptin and ghrelin, the satiety hormones), impaired glucose metabolism, elevated cortisol, weakened immune response, and a 48% higher risk of heart disease over time. Consistent sleep and wake times — even on weekends — regulate your circadian rhythm and dramatically improve sleep quality without spending more time in bed.