Smekys
Ad Space

Bedtime Calculator

Enter your wake-up time to get the best bedtimes for 4, 5, or 6 full 90-minute sleep cycles, including a 15-minute fall-asleep buffer.

Enter Values

h

The hour you need to be awake by, on a 24-hour clock (0 = midnight, 13 = 1 PM).

min

The minute part of your target wake-up time.

min

Average time it takes you to drift off; most adults need 10–20 minutes.

min

One full sleep cycle; most adults cycle through roughly 90 minutes per stage.

Result

Bedtime for 4 Cycles (≈6h)
45 min
Bedtime for 5 Cycles (≈7.5h)
23:15
Bedtime for 6 Cycles (≈9h)
21:45
Recommended Sleep Duration
450 min

Tired in the morning even after eight hours in bed? The problem may not be how long you sleep, but when you sleep. Sleep does not come as one solid block — it repeats in roughly 90-minute cycles that light sleep, deep sleep, and REM. Waking up at the end of a cycle leaves you clear-headed; waking up in the middle of one leaves you groggy for hours. This bedtime calculator works backward from your target wake-up time and shows you exactly when to lie down so you complete four, five, or six full cycles, plus a small buffer for the time it actually takes you to fall asleep.

Adjust the wake-up hour and minute, and every suggested bedtime updates instantly. You can also tune the time it takes you to drift off and the length of your personal sleep cycle if you know yours runs a little longer or shorter than the 90-minute average.

How to Use

  1. Set your Wake-Up Hour — the hour you have to be up by, on a 24-hour clock. Seven means 7 AM; 13 means 1 PM.
  2. Set your Wake-Up Minute — the minutes past that hour. Use 0 for the top of the hour, 30 for half past.
  3. Optionally adjust Time to Fall Asleep. The default is 15 minutes, which matches the average adult. If you usually lie awake for half an hour before nodding off, bump this to 30.
  4. Optionally adjust Sleep Cycle Length. The default 90 minutes is the widely cited average; most people can leave this untouched.
  5. Read the three bedtime options: ≈6 hours (4 cycles), ≈7.5 hours (5 cycles, the highlighted recommendation), and ≈9 hours (6 cycles).
  6. Pick the bedtime that fits your evening and repeat it for at least a week. Consistency matters more than any single night.

The result card shows a clock time for each cycle count and a single recommended bedtime — the five-cycle option, which lands near the 7.5 hours of sleep that sleep researchers most often associate with daytime alertness for healthy adults.

The Sleep Cycle Math

Human sleep repeats in ultradian cycles of roughly 90 minutes. Each cycle moves through light sleep, deep slow-wave sleep, and rapid-eye-movement (REM) sleep. The moment you wake up inside a cycle — especially during deep sleep — your brain is chemically primed to stay asleep, which is why the alarm can feel cruel even after a full night.

The formula is simple:

bedtime = (wakeMinuteOfDay − (cycles × cycleLengthMinutes + sleepOnsetMinutes)) mod 1440

Where:

  • wakeMinuteOfDay is your wake-up time measured in minutes from midnight.
  • cycles is 4, 5, or 6 — the number of complete 90-minute blocks you want to finish.
  • cycleLengthMinutes is almost always 90.
  • sleepOnsetMinutes is the extra cushion for falling asleep.
  • mod 1440 wraps the bedtime back into the 24-hour clock when the arithmetic crosses midnight.

Worked example: you need to be up at 7:00 AM. Wake-minute-of-day is 420. For five cycles at 90 minutes plus 15 minutes to fall asleep, the total is 5 × 90 + 15 = 465 minutes before 7:00 AM. 420 − 465 = −45, which wraps to 1395 minutes, or 23:15 (11:15 PM). That means lights-out at 11:15 PM gets you five complete cycles and a wake-up feeling far lighter than lights-out at 11:45 PM, which would split a cycle right at the alarm.

Why 7.5 Hours Is the Sweet Spot

Adult sleep recommendations from the American Academy of Sleep Medicine and the Sleep Foundation land at 7 or more hours, with a sweet spot of 7–9 hours. In cycle terms that is five cycles (7.5 hours) or six cycles (9.0 hours). Four cycles (6 hours) is the floor — survivable for a few nights, but it accumulates sleep debt that shows up as slower reaction times, foggy memory, and a bigger appetite for sugar the next day.

About 30% of US adults regularly get less than the recommended minimum, and that shortfall accumulates even when you feel used to it. The highlighted recommendation on this page is the five-cycle bedtime because it sits right in the middle of the recommended range and is the most realistic target for people who work fixed hours. If you regularly need six cycles to feel rested, that is not a problem — it just means your sleep efficiency or your biological schedule runs long, and you should protect that extra hour instead of force-cutting it.

Examples

Example 1 — Standard weekday. A teacher must wake at 6:30 AM. She leaves the defaults (15 minutes onset, 90-minute cycles). The calculator suggests lying down at 00:15 for four cycles (6 hours), 22:45 for five cycles (7.5 hours), and 21:15 for six cycles (9 hours). She chooses 22:45 because it lets her finish dinner, read, and still get a full five cycles.

Example 2 — Long fall-asleep time. A new parent lies awake for 40 minutes after lights-out because of scattered sleep. He sets wake-up to 6:00 AM and raises Time to Fall Asleep to 40. The five-cycle bedtime shifts later than the default would suggest, because the calculator now adds that extra 25 minutes on top of the 15-minute cushion. If he had used the default 15 minutes, he would have been in bed for 40 minutes before the first cycle even started, effectively losing a chunk of the very sleep he was trying to protect.

Example 3 — Night-shift worker. A nurse finishes at midnight and wants to sleep until 8:30 AM. She enters wake-hour 8, wake-minute 30. The calculator gives her bedtimes measured backward from 8:30 AM, which means her "night" sleep starts at 01:00 for six cycles, 02:30 for five, or 04:00 for four. She picks 02:30 — five cycles — and keeps the same schedule on weekends to stabilize her circadian rhythm.

FAQ

What time should I go to bed if I wake up at 6 AM?

With the defaults (15 minutes to fall asleep, 90-minute cycles), going to bed at 10:45 PM gives you five cycles — 7.5 hours of sleep. Four cycles (6 hours) means lying down at 12:15 AM, and six cycles (9 hours) means 9:15 PM. Enter your exact wake-up time above for a personalized answer.

How many sleep cycles do I need?

Most adults function best on five cycles (7.5 hours). Four cycles (6 hours) is the minimum for short-term use, and six cycles (9 hours) is appropriate if you are recovering from a sleep deficit, illness, or unusually high physical exertion. The American Academy of Sleep Medicine recommends at least 7 hours for adults.

Why does the calculator add 15 minutes for falling asleep?

Because lying down is not the same as sleeping. On average it takes a healthy adult 10–20 minutes to transition from being awake to being asleep. If you plan your bedtime around "sleep duration" without that buffer, you start the first cycle later than you think. Adjust the Time to Fall Asleep slider to your real number.

What if my alarm goes off and I feel terrible?

You almost certainly woke up in the middle of a deep-sleep stage. Shift your bedtime 15 minutes earlier or 15 minutes later for a few nights so the alarm lands at the end of a cycle rather than in the middle. Avoid snoozing — broken fragments of sleep do not count as a new cycle.

Does this work for naps?

Not directly. Naps are short (20–90 minutes) and rarely complete a full cycle without dipping into deep sleep, which is why long naps can leave you groggy. Use this calculator for your main overnight sleep; keep naps under 20 minutes or, if you can, allow a full 90-minute block.

Is the 90-minute sleep cycle real?

The 90-minute figure is an average first measured by Nathaniel Kleitman and William Dement in the 1950s. Individual cycles vary between roughly 80 and 110 minutes, and they drift longer across the night. Treat 90 minutes as a planning estimate, not a biological guarantee.

Disclaimer

This bedtime calculator is provided for informational purposes only and is not medical advice. Sleep needs vary by age, health condition, medication, and lifestyle, and persistent insomnia, excessive daytime sleepiness, or loud snoring with witnessed pauses in breathing should be discussed with a qualified healthcare provider or sleep specialist. Always consult your doctor before making changes to your sleep routine, especially if you suspect a sleep disorder such as insomnia, sleep apnea, narcolepsy, or restless legs syndrome.

Related Calculators

Disclaimer

Results are estimates for illustration only. Verify important figures independently.