How to use the sleep calculator
Start with the time that can't move. If your alarm is fixed, plan a bedtime. If your bedtime is fixed by a shift or kids, plan a wake time. To check a night you already have in mind, use the audit mode and enter both times.
Be honest with the extra minutes. Time to fall asleep and time awake during the night both come out of your time in bed. Leave them at zero and the plan assumes you sleep the moment your head hits the pillow.
- Choose a mode: plan bedtime from wake time, plan wake time from bedtime, or audit an overnight window.
- Enter your wake-up time, your bedtime, or both.
- Set a target in hours and minutes, or switch to the optional cycle model.
- Add your usual minutes to fall asleep and any time awake overnight.
- Pick an age group and press Calculate to see time in bed, estimated sleep and the CDC comparison.
Bedtime calculator chart
Here are bedtimes for common alarm times. Each one includes 15 minutes to fall asleep and no time awake overnight, so add more if you usually wake in the night.
| Wake-up time | 7 hours of sleep | 7.5 hours | 8 hours | 9 hours |
|---|---|---|---|---|
| 5:00 AM | 9:45 PM | 9:15 PM | 8:45 PM | 7:45 PM |
| 5:30 AM | 10:15 PM | 9:45 PM | 9:15 PM | 8:15 PM |
| 6:00 AM | 10:45 PM | 10:15 PM | 9:45 PM | 8:45 PM |
| 6:30 AM | 11:15 PM | 10:45 PM | 10:15 PM | 9:15 PM |
| 7:00 AM | 11:45 PM | 11:15 PM | 10:45 PM | 9:45 PM |
| 7:30 AM | 12:15 AM | 11:45 PM | 11:15 PM | 10:15 PM |
| 8:00 AM | 12:45 AM | 12:15 AM | 11:45 PM | 10:45 PM |
Worked example: waking at 7:00 AM
Say you want 8 hours of sleep, usually take 15 minutes to fall asleep and spend about 10 minutes awake during the night. You need 8 hours 25 minutes in bed. Counting back from 7:00 AM puts you in bed at 10:35 PM, asleep around 10:50 PM.
Run it the other way to audit a night. In bed at 11:00 PM and up at 7:00 AM is 8 hours in bed. Take away the same 25 minutes and you're left with 7 hours 35 minutes of sleep. That still meets the adult minimum, but it isn't the 8 hours the clock suggests.
| Step | Value | Math |
|---|---|---|
| Target sleep | 8h 0m | Entered |
| Time to fall asleep | 15m | Added |
| Awake during the night | 10m | Added |
| Time in bed needed | 8h 25m | 8h + 15m + 10m |
| Get into bed at | 10:35 PM | 7:00 AM - 8h 25m |
Sleep cycle calculator mode
Many bedtime tools count in 90-minute cycles. This one lets you do that too, with a cycle length you choose from 80 to 100 minutes. NHLBI says a sleep cycle starts over every 80 to 100 minutes, usually four to six times a night, so 90 is a middle value.
Take a 7:00 AM alarm, 15 minutes to fall asleep and 90-minute cycles. Six cycles means bed at 9:45 PM, five at 11:15 PM and four at 12:45 AM. Real cycles vary in length through the night, and the calculator can't tell which stage you're in when the alarm goes off. Use cycle timing as a rough guide and let total hours lead.
How much sleep do you need by age?
The age check uses CDC's daily ranges. For preschoolers the total includes naps, so an overnight figure alone can look short. For adults 18 to 60 the guidance is a minimum of 7 hours with no fixed upper limit.
| Age | Recommended daily sleep | Note |
|---|---|---|
| 3-5 years | 10-13 hours | Includes naps |
| 6-12 years | 9-12 hours | Per 24 hours |
| 13-17 years | 8-10 hours | Per 24 hours |
| 18-60 years | 7 or more hours | Minimum only |
| 61-64 years | 7-9 hours | Per night |
| 65 and older | 7-8 hours | Per night |
The bedtime formula
Everything runs in minutes and then converts back to a clock. When your wake-up time is earlier on the clock than your bedtime, the audit adds 24 hours to cross midnight.
Time in bed = target sleep + minutes to fall asleep + minutes awake overnightBedtime = wake-up time - time in bedWake-up time = bedtime + time in bedEstimated sleep (audit) = time in bed - minutes to fall asleep - minutes awakeCycle target = number of cycles x minutes per cycle
When hours aren't the whole story
The American Academy of Sleep Medicine counts quality, timing, regularity and freedom from sleep disorders as part of healthy sleep, alongside duration. This calculator handles only the clock. It doesn't know about daylight saving changes, time zones, split sleep or rotating shifts, so work those out as separate windows.
CDC lists trouble falling asleep, waking often and feeling tired after enough time in bed as signs of poor sleep. If that happens regularly, or you snore loudly with pauses or gasps, or feel very sleepy in the day, talk to a doctor. Don't use a calculator result to decide whether you're safe to drive.
Sources
These public-health and sleep medicine references back up the age ranges, the cycle lengths and the warning signs on this page.