How the sleep calculator works
This calculator checks your sleep schedule against 90-minute sleep cycles. It shows how long you sleep, whether your alarm wakes you mid-cycle, and bedtimes or wake-up times that end on a full cycle.
Formula
Sleep = wake-up time − bedtime − time to fall asleep. Full cycles = sleep ÷ 90 minutes, rounded down; the rest is how far into the next cycle you wake.
- 1
Find your sleep time
In bed from 10:30 PM to 6:30 AM is 8 hours. Minus 15 minutes to fall asleep: 7 h 45 min of sleep.
- 2
Count the cycles
465 minutes ÷ 90 = 5 full cycles, with 15 minutes into a sixth one.
- 3
Pick a better time
To wake at 6:30 AM after 5 full cycles, go to bed at 10:45 PM. Or keep 10:30 PM and wake at 6:15 AM.
Worked example
The calculator opens with these values
- Bedtime
- 22:30
- Wake-up time
- 06:30
- Time to fall asleep
- 15 min
Sleep you get
7 h 45 min
What time to go to bed for your alarm
Find your alarm time, then pick the column that fits your night. If you usually take longer than 15 minutes to fall asleep, move the bedtime earlier by the difference.
Cycle lengths vary from person to person, so treat these as starting points and adjust by 15 minutes if you still wake groggy after a week.
| Wake-up time | Bedtime for 6 cycles (9 h) | Bedtime for 5 cycles (7 h 30 min) |
|---|---|---|
| 5:00 AM | 7:45 PM | 9:15 PM |
| 5:30 AM | 8:15 PM | 9:45 PM |
| 6:00 AM | 8:45 PM | 10:15 PM |
| 6:30 AM | 9:15 PM | 10:45 PM |
| 7:00 AM | 9:45 PM | 11:15 PM |
| 7:30 AM | 10:15 PM | 11:45 PM |
| 8:00 AM | 10:45 PM | 12:15 AM |
How much sleep each age group needs
These are hours in 24, naps included, from the American Academy of Sleep Medicine consensus for children (AASM, 2016) and for adults (AASM and Sleep Research Society, 2015).
- Infants 4 to 12 months: 12 to 16 hours.
- Children 1 to 2 years: 11 to 14 hours.
- Children 3 to 5 years: 10 to 13 hours.
- Children 6 to 12 years: 9 to 12 hours.
- Teens 13 to 18 years: 8 to 10 hours.
- Adults 18 to 60 years: 7 hours or more. The CDC lists 7 to 9 hours at 61 to 64 and 7 to 8 hours from 65.
Habits that help you fall asleep
The CDC lists these habits for better sleep. Small, steady changes work better than a single big one.
- Go to bed and get up at the same time every day, weekends included.
- Keep the bedroom quiet, dark and at a comfortable, cool temperature.
- Put away TVs, computers and phones before bed.
- Avoid large meals, caffeine and alcohol in the hours before bedtime.
- Be physically active during the day; it can help you fall asleep more easily at night.
- If you often snore loudly, stop breathing in your sleep or feel sleepy all day, talk to a doctor.
Common questions
How long is a sleep cycle?
About 90 minutes on average, though it ranges from 70 to 120 minutes. Each cycle moves from light sleep to deep sleep and then to REM sleep, when most dreaming happens.
Why do I feel groggy even after a long sleep?
Waking from deep sleep in the middle of a cycle causes sleep inertia, a heavy, foggy feeling. Waking near the end of a cycle, in light sleep, usually feels easier, even after less total sleep.
How much sleep do adults need?
The American Academy of Sleep Medicine recommends 7 hours or more a night for adults; 7–9 hours suits most people. That is about 5 or 6 sleep cycles.
How is the rating worked out?
It starts at 100 and loses points for under 7 or over 9 hours of sleep, for waking in the middle of a cycle and for a bedtime outside 9 PM to 1 AM.
Related calculators
Work Hours Calculator With Breaks
Calculate weekly hours, breaks, overtime, and pay
Night Shift Pay Calculator
Calculate overnight hours, breaks, and differential pay
Screen Time Calculator
Track and analyze your daily screen time
Heart Rate Calculator
Calculate target heart rate zones for exercise