Calculators Tools

Sleep Calculator

Find your best bedtime or wake-up time by age using 90-minute sleep cycles, check how much you slept, or plan a power nap.

Published by Free Online Tools Last updated: 16 uses

Your sleep times will appear here.

Choose a mode, enter a time and press Calculate.

A general planning tool based on the 90-minute sleep cycle model. Not medical advice.

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

  1. Choose a mode. Select what you want to work out.
  2. Enter your time. Use the time picker for your wake-up time, bedtime or nap start.
  3. Select your age range. Sleep needs change a lot from babies to older adults, so the suggested cycles change with age.
  4. Adjust the fall-asleep time. The default is 15 minutes. Change it if you usually drift off faster or slower.
  5. 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 rangeRecommended sleepCycles
0-3 months14-17 hours9-11
4-12 months12-16 hours8-10
1-2 years11-14 hours7-9
3-5 years10-13 hours6-8
6-12 years9-12 hours6-8
13-17 years8-10 hours5-6
18-60 years7-9 hours5-6
61-64 years7-9 hours5-6
65+ years7-8 hours4-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.

Frequently asked questions

What time should I go to bed to wake up at 7am?
For an adult who takes 15 minutes to fall asleep, the cycle-based bedtimes are 9:45 PM, 11:15 PM or 12:45 AM. The 11:15 PM option gives 7.5 hours of sleep.
How many sleep cycles do I need?
Most adults aim for 5 to 6 cycles, which is 7.5 to 9 hours. Children need more, and adults over 65 usually need 4 to 5.
How many hours of sleep do I need by age?
The range runs from 14-17 hours for newborns down to 7-9 hours for adults aged 18-64 and 7-8 hours for 65 and over. The table above shows every age group.
Is there a sleep calculator for kids?
Yes. Choose the child's age range and the tool suggests bedtimes or wake-up times for the recommended number of cycles. Real routines also depend on naps and feeding.
Does the sleep calculator work differently for women?
No. Recommended sleep depends on age, so the results are the same. If pregnancy or hormonal changes disturb your sleep, allow extra time in bed.
How long should a power nap be?
Many people use about 20 minutes to get a quick boost. A longer nap of 90 minutes completes a full cycle, but it takes more time.
How do I work out how much sleep I got?
Use the Hours slept mode, enter your bedtime and wake-up time, and set how long you take to fall asleep. The tool subtracts that time and compares the result with your age group.
Is this sleep calculator accurate?
It follows a common planning model that treats every cycle as 90 minutes, but real cycles vary. Use the results as a starting point and adjust by what feels best.