Sleep calculator: when to go to bed or wake up
Find bedtimes or wake-up times that line up with 90-minute sleep cycles, allowing for the time it takes you to fall asleep.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
Sleep runs in cycles of light, deep and REM sleep that last roughly 90 minutes on average, and many people find it easier to wake near the end of a cycle than in the middle of deep sleep. This calculator suggests bedtimes for a chosen wake-up time, or wake-up times for a chosen bedtime, at whole numbers of cycles, after adding the time you usually take to fall asleep.
Cycle length varies between people and through the night, so treat the results as starting points. Health guidance for adults is to get at least 7 hours of sleep regularly; the 4.5-hour option is shown for occasional short nights, not as a routine.
How to use it
- Choose whether you want to wake at a set time or go to bed at a set time.
- Enter that time.
- Enter how many minutes you usually take to fall asleep (15 is typical).
- Run it and pick the option with 5 or 6 cycles where possible.
How the calculation works
Bedtime = wake time − fall-asleep time − n × 90 minutes, for n = 6, 5, 4 and 3. In bedtime mode the cycles are added instead.
bedtime = wake time − fall-asleep time − n × 90 minWorked example
To wake at 6:30 a.m. and allowing 15 minutes to fall asleep, the suggested bedtimes are 9:15 p.m. (6 cycles, 9 h), 10:45 p.m. (5 cycles, 7.5 h), 12:15 a.m. (4 cycles, 6 h) and 1:45 a.m. (3 cycles). For most adults, 10:45 p.m. gives the recommended 7 or more hours.
Sample input and result
I want to: Wake up at this time Time: 07:00 Minutes to fall asleep: 15 → Bedtime for 6 sleep cycles (9 h): 9:45 p.m. → Bedtime for 5 sleep cycles (7.5 h): 11:15 p.m. → Bedtime for 4 sleep cycles (6 h): 12:45 a.m. → Bedtime for 3 sleep cycles (4.5 h): 2:15 a.m.
Limitations
- Uses a fixed 90-minute average cycle.
- General guidance for adults, not medical advice; not suitable for children’s sleep needs.
- Fall-asleep time from 0 to 120 minutes.
Sources
- How much sleep do I really need? (American Academy of Sleep Medicine, sleepeducation.org) ↗
- Understanding Sleep – Brain Basics (NINDS, U.S. National Institutes of Health) ↗
Last updated:
Frequently asked questions
How much sleep do adults need?
Health organizations such as the American Academy of Sleep Medicine recommend that adults sleep 7 or more hours per night on a regular basis.
Are sleep cycles always 90 minutes?
No. They average roughly 90 minutes but range from about 70 to 120 minutes and change during the night.
Does this help with insomnia?
It is a planning aid only. Persistent trouble sleeping is worth discussing with a doctor.
Troubleshooting
I wake up groggy anyway.
Your cycles may be longer or shorter; shift the bedtime by 15 minutes and see how you feel over several days.
The suggested bedtime is unrealistic.
Consistency matters more than hitting a cycle boundary; aim for at least 7 hours at the same times each day.
I fall asleep at very different speeds.
Use your typical time; on nights you lie awake longer, the cycle timing will shift.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
Adult BMI calculator
Calculate adult BMI as a screening measure, not a diagnosis.
Adult health estimatesCalorie and TDEE estimator
Estimate adult maintenance energy needs; not a weight-loss prescription.
Adult health estimatesMacronutrient calculator
Convert a chosen energy target and protein/fat percentages to grams.
Adult health estimates