Sleep Calculator

: Find bedtimes and wake-up times by 90-minute sleep cycles, plan a nap, total a week of sleep debt and see hours of sleep by age
Your sleep
Such as 6:30 am, 0630, 18:30 or 7a.
0 to 120. 10 to 20 minutes is typical.
60 to 120. 90 is an average; cycles vary.
Times of day only, worked out in your browser. Cycles are an average; the CDC hours by age are a guide, not medical advice.
Your times
Bedtime, 6 cycles
9:15 PM (the evening before)
9 hours of sleep, 9 hours 15 minutes in bed: 6:30 AM − 6 × 90 min − 15 min = 9:15 PM.
Bedtime, 5 cycles
10:45 PM (the evening before)
7 hours 30 minutes of sleep, 7 hours 45 minutes in bed: 6:30 AM − 5 × 90 min − 15 min = 10:45 PM.
Wake-up time
6:30 AM
Age group
Adult, 18 to 60 years
CDC: 7 or more hours of sleep.
  • Emphasised: the cycle counts whose sleep is inside the CDC hours for adults 18 to 60 years (7 or more hours) and within the four to six cycles a night Sleep Foundation describes.
  • 90 minutes is an average: Sleep Foundation says the first cycle often runs 70 to 100 minutes and later ones 90 to 120, with four to six cycles a night. Change the cycle length to try another figure.
  • A guide, not medical advice. The times aim to end on a whole cycle; your own cycles vary from night to night. Talk to a doctor about sleep trouble that keeps on.
  • CDC says the quality of sleep matters too, not only the hours.
Bedtimes for a 6:30 AM wake-up (90-minute cycles, 15 minutes to fall asleep; For age: Yes when the sleep is inside the CDC hours for adults 18 to 60 years, 7 or more)
CyclesBedtimeSleepFor age
86:15 PM (day before)12hYes
77:45 PM (day before)10h 30mYes
69:15 PM (day before)9hYes
510:45 PM (day before)7h 30mYes
412:15 AM6hNo
31:45 AM4h 30mNo
23:15 AM3hNo
14:45 AM1h 30mNo
How each time is worked out
CyclesWorking
86:30 AM − 8 × 90 min − 15 min = 6:15 PM (day before), 12h 15m in bed
76:30 AM − 7 × 90 min − 15 min = 7:45 PM (day before), 10h 45m in bed
66:30 AM − 6 × 90 min − 15 min = 9:15 PM (day before), 9h 15m in bed
56:30 AM − 5 × 90 min − 15 min = 10:45 PM (day before), 7h 45m in bed
46:30 AM − 4 × 90 min − 15 min = 12:15 AM, 6h 15m in bed
36:30 AM − 3 × 90 min − 15 min = 1:45 AM, 4h 45m in bed
26:30 AM − 2 × 90 min − 15 min = 3:15 AM, 3h 15m in bed
16:30 AM − 1 × 90 min − 15 min = 4:45 AM, 1h 45m in bed
Hours of sleep by age (CDC, read 2026-11-22; ✓ the age group chosen)
Age groupHours
Newborn, 0 to 3 months14 to 17
Infant, 4 to 12 months12 to 16, with naps
Toddler, 1 to 2 years11 to 14, with naps
Preschool, 3 to 5 years10 to 13, with naps
School age, 6 to 12 years9 to 12
Teen, 13 to 17 years8 to 10
Adult, 18 to 60 years7 or more✓
Adult, 61 to 64 years7 to 9
Adult, 65 years and older7 to 8

This sleep calculator works out bedtimes for the time you want to wake up, or wake-up times for when you go to bed, by whole sleep cycles of about 90 minutes plus the time it takes to fall asleep. It also plans a nap, totals your sleep debt over a week or a month, and shows how much sleep you need by age. The working is printed beside every time.

  1. Pick what to work out in Calculate: Bedtimes for a wake-up time, Wake-up times for a bedtime, Wake-up times if I go to bed now, Nap or Sleep debt.
  2. Type the time: 6:30 am, 0630, 18:30 and 7a all work. Going to bed now reads this device's clock and follows it, and a nap with no start time starts now.
  3. Pick your Age group. Change Minutes to fall asleep (15 to start with) or Cycle length (minutes) (90) if yours differ, and choose a 12-hour or 24-hour Clock.
  4. Read the emphasised times first, then the table of 1 to 8 cycles with the sleep each gives, whether it is inside the hours for your age, and how each time is worked out.
  5. For sleep debt, type the hours you slept each night, such as 6, 6.5, 7:30, 5h 30m, and the hours you need a night, or leave that empty to use the low end for your age.

Bedtimes for a 6:30 am wake-up, with 15 minutes to fall asleep and 90-minute cycles, for an adult: the result rows as the tool shows them.

Input
Calculate: Bedtimes for a wake-up time
Wake-up time: 6:30 am
Age group: Adult, 18 to 60: 7 or more h
Minutes to fall asleep: 15
Cycle length (minutes): 90
Clock: 12-hour
Output
Bedtime, 6 cycles: 9:15 PM (the evening before)
Bedtime, 5 cycles: 10:45 PM (the evening before)
Wake-up time: 6:30 AM
Age group: Adult, 18 to 60 years

How does a sleep calculator work?

It counts back whole sleep cycles from your wake-up time and takes off the minutes to fall asleep. With 90-minute cycles and 15 minutes, waking at 6:30 AM gives a bedtime of 10:45 PM for 5 cycles or 9:15 PM for 6. This one prints that sum beside every time.

How long is a sleep cycle?

Sleep Foundation says about 90 minutes on average, with the first cycle often 70 to 100 minutes and later ones 90 to 120, and four to six cycles a night. Change the cycle length in the tool to try another figure.

How much sleep do I need?

CDC gives 7 or more hours for adults 18 to 60, 7 to 9 for 61 to 64, 7 to 8 from 65, 8 to 10 for teens 13 to 17 and 9 to 12 for children 6 to 12. The full table by age is under every result.

How long should a nap be?

Sleep Foundation says about 20 minutes, and no longer than 30, for adults; around an hour and a half may also help, and a nap is best eight or more hours before bedtime. The Nap way in gives all three wake-up times.

Can I catch up on sleep debt?

Sleep Foundation says it is unclear whether sleeping in makes up for sleep debt. The tool counts a night over your need against a night under it, and shows the shortfalls alone as well.

Runs entirely in your browser. Nothing is uploaded.