Sleep calculator: what time should I go to bed?
Enter the time you need to get up to see when to go to bed, or enter your bedtime to see when to wake up. Each time ends a full sleep cycle, so you wake from light sleep.
Sleep calculator
I want to wake up at 6:30 AM. When should I go to bed?
Go to bed at
10:45 PM or 9:15 PM
To wake up at 6:30 AM after 5 or 6 full 90-minute sleep cycles, go to bed at 10:45 PM or 9:15 PM, allowing 15 minutes to fall asleep.
- 10:45 PM5 cycles, 7 h 30 min sleep
- 9:15 PM6 cycles, 9 h sleep
- 90 minOne sleep cycle
- 15 minTo fall asleep
General information, not medical advice. Sleep cycles differ between people and nights. Sources: American Academy of Sleep Medicine and Sleep Research Society consensus (2015), adults need 7 or more hours; NIH NINDS, Brain Basics: Understanding Sleep, cycles of about 90 minutes. See a doctor if you are tired despite enough sleep.
How the sleep calculator works it out
- One sleep cycle is about 90 minutes, so 5 cycles take 7 hours 30 minutes and 6 cycles take 9 hours.
- Count back from 6:30 AM: 6:30 AM − 7 hours 30 minutes = 11:00 PM.
- Take off 15 minutes to fall asleep: go to bed at 10:45 PM.
- For 6 cycles, go 1 hour 30 minutes earlier: 9:15 PM.
Every option ends between two sleep cycles. Pick the row that fits your evening; the 5 and 6 cycle rows in bold give adults the recommended 7 hours or more.
| Cycles | Sleep | Bedtime |
|---|---|---|
| 7 cycles | 10 h 30 min | 7:45 PM |
| 6 cycles | 9 h | 9:15 PM |
| 5 cycles | 7 h 30 min | 10:45 PM |
| 4 cycles | 6 h | 12:15 AM |
| 3 cycles | 4 h 30 min | 1:45 AM |
How to use the sleep calculator
- Clock: choose a 12-hour or 24-hour clock at the top. You can type times either way.
- I want to: choose Wake up at to get bedtimes, or Go to bed at to get wake-up times.
- Time: the time you must get up, or the time you go to bed, for example 6:30 AM or 22:30.
- Time to fall asleep: how long you usually lie awake before falling asleep. 15 minutes is typical.
- Sleep cycle length: keep 90 minutes unless a sleep tracker shows your cycles are shorter or longer.
When a sleep calculator helps
Use the sleep calculator the evening before an early start, when you need to know what time to go to bed to get up at 6 AM feeling rested. Use it the other way round when you are going to bed late and want an alarm time that does not cut a sleep cycle in half, or to plan a short night before a flight.
To add up how long you slept, use the hours between two times calculator; for other time sums, the time calculator. For more health tools, see the BMI calculator.
Sleep calculator: at a glance
What it does
Counts back (or forward) from your time by the minutes to fall asleep plus 3 to 7 sleep cycles, and shows the times that end a full cycle.
Who it's for
Anyone setting an alarm or a bedtime: students, shift workers, parents and early risers.
Watch out for
Five cycles is 7.5 hours of sleep and six is 9; fewer than five gives adults less than the recommended 7 hours.
How the sleep calculator works
During the night you go through sleep cycles of light sleep, deep sleep and REM (dream) sleep. One cycle takes about 90 minutes on average, though it can be 70 to 120 minutes. Waking at the end of a cycle, when sleep is light, usually feels easier than being woken from deep sleep.
The calculator counts whole cycles: bedtime = wake-up time − time to fall asleep − cycles × cycle length. For a wake-up time it does the same the other way round, adding the time to fall asleep and the cycles to your bedtime.
With your numbers: 6:30 AM − 15 minutes − 5 × 90 minutes = 10:45 PM.
The American Academy of Sleep Medicine advises adults to sleep 7 hours or more a night, which is why 5 cycles (7.5 hours) and 6 cycles (9 hours) are highlighted. Cycle length differs from person to person and from night to night, so treat the times as a guide. To work out the hours between any two times, use the hours between two times calculator.
Sleep calculator: worked examples
What time should I go to bed to wake up at 6:00 AM?
5 cycles of 90 minutes is 7 h 30 min; add 15 minutes to fall asleep = 7 h 45 min. 6:00 AM − 7 h 45 min = 10:15 PM. For 6 cycles (9 hours), go to bed at 8:45 PM.
Common mistake: forgetting the time it takes to fall asleep. Going to bed at 10:30 PM means falling asleep around 10:45 PM and waking in the middle of a cycle.
I go to bed at 10:30 PM. When should I wake up?
Fall asleep at 10:45 PM. Add 5 cycles (7 h 30 min) = 6:15 AM, or 6 cycles (9 hours) = 7:45 AM.
Common mistake: setting the alarm for 7:00 AM because it is a round number. That lands in the middle of the sixth cycle.
I have to get up at 1:00 AM for a night flight. When should I sleep?
1:00 AM − 15 min − 4 cycles (6 hours) = 6:45 PM; with 3 cycles, 8:15 PM. Counting back across midnight works the same as on any other time.
Common mistake: counting back to the wrong day. 1:00 AM minus 6 hours is the evening before, not the next evening.
My tracker says my cycles are 100 minutes. When should I sleep to wake at 5:00 AM?
5 cycles × 100 min = 8 h 20 min, plus 20 minutes to fall asleep = 8 h 40 min. 5:00 AM − 8 h 40 min = 8:20 PM.
Common mistake: mixing a 100-minute cycle with times from a 90-minute table. Change the cycle length in the calculator and the times move with it.
A sleep calculator in Excel and Google Sheets
Put the wake-up time in A2 (as a time, for example 6:30 AM), the number of cycles in B2, the cycle length in minutes in C2 and the minutes to fall asleep in D2. Format the answer cells as h:mm AM/PM.
Read the table row by row: each row is one cell of your sheet, what to put in it and an example.
| Cell | What goes in it | Example |
|---|---|---|
| A2 | Wake-up time or bedtime | 6:30 AM |
| B2 | Sleep cycles | 5 |
| C2 | Cycle length (minutes) | 90 |
| D2 | Minutes to fall asleep | 15 |
Bedtime for a wake-up time in A2
=MOD(A2-(D2+B2*C2)/1440,1) Wake-up time for a bedtime in A2
=MOD(A2+(D2+B2*C2)/1440,1) Hours of sleep
=B2*C2/60 Spreadsheets store a time as a fraction of a day, so minutes are divided by 1,440. MOD(…,1) keeps the answer on the clock when it crosses midnight.
Sleep calculator: frequently asked questions
What time should I go to bed?
Count back 7.5 or 9 hours (5 or 6 sleep cycles) from the time you need to get up, plus the time it takes you to fall asleep. To wake at 6:30 AM, that is 10:45 PM or 9:15 PM.
How long is a sleep cycle?
About 90 minutes on average, but anywhere from about 70 to 120 minutes, and cycles get longer and lighter toward morning. Keep 90 unless you know your own cycle length.
How much sleep do adults need?
7 hours or more a night, according to the American Academy of Sleep Medicine and the Sleep Research Society. Teenagers need 8 to 10 hours and children more.
Is it better to sleep 6 or 7.5 hours?
For most adults, 7.5 hours (5 cycles) is better: it is over the recommended 7 hours. Waking after 6 hours at the end of a cycle may feel easier than waking at 6.5 hours, but it is still short sleep.
Why does the calculator add 15 minutes?
Most people take 10 to 20 minutes to fall asleep. The cycles start when you fall asleep, not when you get into bed. Set it to 0 if you fall asleep right away.
Why does another sleep calculator show different times?
With the same cycle length and time to fall asleep, the times should match. Some calculators leave out the time to fall asleep, use a fixed cycle length, or list a different number of cycles.
Other health and fitness calculators
- BMI calculator
- BMR calculator
- Body fat calculator
- Calorie calculator
- Conception date calculator
- Due date calculator
- Heart rate zone calculator
- Ideal weight calculator
- Macro calculator
- Ovulation calculator
- Pregnancy week calculator
- Running pace calculator
- TDEE calculator
- Water intake calculator
Report a problem with this calculator · Sponsor this calculator