Works on this device
Sleep Calculator
Enter the time you want to wake up, or the time you go to bed. The calculator counts whole sleep cycles and shows the times in the 24-hour and the 12-hour clock. It is clock arithmetic, not medical advice.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose what you want to work out, for example When to go to bed, for a wake-up time.
- Enter the time in the 24-hour clock: 7 in the morning is 07:00 and 11 at night is 23:00.
- Check the length of one sleep cycle and the time to fall asleep. They start at 90 and 15 minutes. Change them if you know your own.
- Choose Calculate. The result lists a time for 4, 5 and 6 sleep cycles, with the time asleep for each.
- Under More options you can list 1 to 8 cycles.
The method
- Bedtime = wake-up time − sleep cycles × cycle length − time to fall asleep.
- Wake-up time = bedtime + time to fall asleep + sleep cycles × cycle length.
- Time asleep = time in bed − time to fall asleep − time awake during the night.
- Sleep efficiency = time asleep ÷ time in bed × 100.
- Sleep debt = the sum over the nights of (your target − the sleep you had). A night above the target lowers the debt.
- Nap end = the time you lie down + time to fall asleep + nap length.
- Another time zone: clock there = clock at home + the time difference.
- All times are counted in whole minutes. A result past midnight is marked as the next day, and a result before midnight as the day before.
Worked example
You want to wake up at 07:00. A cycle is 90 minutes and you need 15 minutes to fall asleep. Six cycles are 9 hours of sleep: 07:00 − 9 h − 15 min = 21:45 (9:45 pm) the day before. Five cycles are 7 h 30 min of sleep: bedtime 23:15 (11:15 pm). Four cycles are 6 hours: bedtime 00:45 (12:45 am) on the same day.
You go to bed at 23:00. You fall asleep at about 23:15. Four cycles end at 05:15, five at 06:45 and six at 08:15 the next day.
You were in bed from 23:00 to 07:00, which is 8 hours. It took 15 minutes to fall asleep and you lay awake for 20 minutes in the night. Time asleep = 480 − 15 − 20 = 445 minutes, or 7 h 25 min. Sleep efficiency = 445 ÷ 480 × 100 = 92.7%.
Your target is 8 hours. In one week you slept 6:30, 7, 5:45, 7.5, 6, 9 and 8:15 hours. That is 50 hours against a target of 56 hours, so the sleep debt is 6 hours.
Hours of sleep by age: one published table
This calculator does not choose a number of hours for you. The table shows the ranges that the National Sleep Foundation (United States) published in 2015. Other health bodies give ranges that differ a little, and people differ too. Ask a doctor what is right for you or your child.
| Age group | Recommended hours |
|---|---|
| Newborns, 0 to 3 months | 14 to 17 |
| Infants, 4 to 11 months | 12 to 15 |
| Toddlers, 1 to 2 years | 11 to 14 |
| Preschool children, 3 to 5 years | 10 to 13 |
| School-age children, 6 to 13 years | 9 to 11 |
| Teenagers, 14 to 17 years | 8 to 10 |
| Young adults, 18 to 25 years | 7 to 9 |
| Adults, 26 to 64 years | 7 to 9 |
| Older adults, 65 years and over | 7 to 8 |
Limits you should know
- This tool is clock arithmetic. It is not medical advice.
- Sleep cycles differ between people and from night to night. The 90 minutes and the 15 minutes are commonly quoted averages, not facts about you.
- The calculator cannot measure sleep. It does not know how much deep sleep or REM sleep you get. That needs a device or a sleep study.
- It does not judge your numbers, and it has no sleep score.
- The time zone option uses the time difference you type. It does not look up time zones or summer time, and it is not a plan against jet lag.
- It has no alarm. Use a clock or a phone for that.
- See a doctor about sleep problems that last, such as trouble falling asleep, waking often, loud snoring or feeling very sleepy in the day.