This free sleep calculator tells you when to go to bed or when to set your alarm, based on your age and the 90-minute rhythm of a sleep cycle. Enter a wake-up time and get bedtimes that line up with the end of a cycle, enter a bedtime and get wake-up times, check how much sleep you actually got, or plan a nap. It runs in your browser, needs no signup and stores nothing.
Sleep calculator by age: bedtime, wake-up time, hours slept and naps
The tool has four modes. Each one uses the same cycle maths, so the results are consistent.
- Wake-up time: pick the time you must get up and see when to go to bed.
- Bedtime: pick the time you will get into bed and see when to set your alarm.
- Hours slept: enter when you went to bed and when you woke up to see how much sleep you got and how it compares with your age group.
- Nap: pick a nap start time and get wake-up times for a power nap, a short nap or a full cycle.
How to use the sleep calculator
- Choose a mode. Select what you want to work out.
- Enter your time. Use the time picker for your wake-up time, bedtime or nap start.
- Select your age range. Sleep needs change a lot from babies to older adults, so the suggested cycles change with age.
- Adjust the fall-asleep time. The default is 15 minutes. Change it if you usually drift off faster or slower.
- Press Calculate. You get a best match plus the other options, each with its number of cycles and hours.
How the sleep calculator works
Sleep moves through repeating stages that last about 90 minutes on average, although real cycles vary between people and across the night. The calculator treats each cycle as exactly 90 minutes. Waking at the end of a cycle tends to feel easier than being pulled out of deep sleep.
The formulas are simple:
- Bedtime = wake-up time - (cycles x 90 minutes) - time to fall asleep
- Wake-up time = bedtime + time to fall asleep + (cycles x 90 minutes)
- Sleep you got = time in bed - time to fall asleep
The number of cycles offered depends on your age group. The calculator marks results inside the recommended range as recommended and results below it as short sleep.
| Age range | Recommended sleep | Cycles |
|---|---|---|
| 0-3 months | 14-17 hours | 9-11 |
| 4-12 months | 12-16 hours | 8-10 |
| 1-2 years | 11-14 hours | 7-9 |
| 3-5 years | 10-13 hours | 6-8 |
| 6-12 years | 9-12 hours | 6-8 |
| 13-17 years | 8-10 hours | 5-6 |
| 18-60 years | 7-9 hours | 5-6 |
| 61-64 years | 7-9 hours | 5-6 |
| 65+ years | 7-8 hours | 4-5 |
Worked examples
Adult who wakes at 7:00 AM
With a 15-minute fall-asleep time, 6 cycles (9 hours) means bed at 9:45 PM, 5 cycles (7.5 hours) means 11:15 PM, and 4 cycles (6 hours) means 12:45 AM. The last one is marked as short sleep, and 11:15 PM is the best match.
Adult who goes to bed at 10:00 PM
You fall asleep around 10:15 PM. Four cycles end at 4:15 AM, five cycles at 5:45 AM and six cycles at 7:15 AM. If you need to be up at 7:00 AM, the 5:45 AM option is the closest cycle ending.
How much sleep did I get?
You went to bed at 11:00 PM and woke at 6:30 AM. That is 7 hours 30 minutes in bed. Subtract 15 minutes to fall asleep and you slept about 7 hours 15 minutes, or roughly 4.8 cycles. For an adult, that is inside the 7-9 hour range.
Child aged 3-5 who wakes at 7:00 AM
For 6 to 8 cycles, the calculator suggests 6:45 PM, 8:15 PM and 9:45 PM. The earlier times give 12 and 10.5 hours of sleep, and 9:45 PM gives 9 hours. Use them as a starting point for a routine.
Nap at 2:00 PM
With a 15-minute fall-asleep time, a 20-minute power nap means waking at 2:35 PM. A full 90-minute cycle means waking at 3:45 PM.
Sleep calculator for kids, women and nap planning
- Kids and babies: pick the matching age range. Younger children have shorter cycles than adults and sleep is also shaped by feeding and daytime naps, so treat the result as a rough guide for building a routine.
- Women: the recommended ranges depend on age, not gender. Pregnancy, hormonal changes and menopause can disturb sleep, so give yourself a longer window in bed and speak to a doctor if the problem continues.
- Teens: 13-17 years uses 5 to 6 cycles, which is 7.5 to 9 hours.
- Shift workers and students: use the wake-up mode to work backwards from an early start.
- On your phone: the page works like a lightweight sleep calculator app. Use your browser's Add to Home Screen option for one-tap access.
Tips for better results
- Go to bed at the time you will actually be lying down, not the time you plan to start getting ready.
- Track how long you really take to fall asleep for a week and enter that number.
- Keep the wake-up time steady, including at weekends. A regular schedule makes cycles easier to predict.
- If the earliest option is too early, choose the next one. Five cycles are often easier to fit than six.
- Keep naps short if you want to sleep well at night, and avoid napping late in the day.
- Remember that the 90-minute model is an average. If you feel groggy at a suggested time, shift it by 15 to 30 minutes.
This sleep calculator is a planning tool, not medical advice. If you often feel exhausted despite enough time in bed, snore loudly or wake up gasping, talk to a healthcare professional.