Going to bed at roughly the same time each night is one of the few sleep habits with consistent support in the research: regular timing is associated with better sleep quality and less of the weekend catch-up that researchers call social jet lag. Working backwards from a fixed wake-up time turns that intention into a number you can set a reminder for.

min
Leave at 15 unless you know better.

What this calculator is doing

The calculation subtracts the time you need to fall asleep, then whole cycles of about 90 minutes. The latest-bedtime figure uses the smallest number of cycles that still delivers a seven-hour sleep opportunity, which is the lower edge of the 7–9 hour range recommended for adults.

How to use it

  1. Enter the time your alarm needs to go off — the one you actually have to honour.
  2. Adjust the sleep onset figure if you know you take longer than 15 minutes to drop off.
  3. Treat the calm-down time as part of the routine: dim lights, screens down, and no decisions left to make.

Formulas and assumptions

Bedtime for a cycle-aligned night
bedtime = wake time − (cycles × cycle length) − sleep onset

Run for four, five and six cycles. Five cycles (7.5 hours) is highlighted because it sits inside the recommended 7–9 hour range.

Latest bedtime for a seven-hour opportunity
latest = wake time − (ceil(420 ÷ cycle length) × cycle length) − sleep onset

Seven hours is the floor of the recommendation. Later than this and the night is shorter than the range that the guidelines cover.

Wind-down start
wind-down = bedtime − 30 min

Half an hour to dim the lights, finish messages and get ready. The exact ritual matters less than doing the same one at the same time.

Bedtimes for common alarm times

Five cycles (7.5 hours of sleep) with a 15-minute sleep onset.
AlarmGo to bedStart winding downHours asleep
5:30 AM9:45 PM9:15 PM7.5 h
6:00 AM10:15 PM9:45 PM7.5 h
6:30 AM10:45 PM10:15 PM7.5 h
7:00 AM11:15 PM10:45 PM7.5 h
7:30 AM11:45 PM11:15 PM7.5 h
8:00 AM12:15 AM11:45 PM7.5 h

Each hour later on the alarm moves the bedtime an hour later. Add six cycles instead of five if you are recovering from a short stretch of sleep.

Frequently asked questions

Should I go to bed at the same time every night?

As far as life allows, yes. A consistent sleep window helps your body clock anticipate sleep. The wake-up time matters most, because morning light is the strongest signal your circadian system uses.

How long before bed should I stop using screens?

Dim the lights and wind down for 30 to 60 minutes. The evidence that blue light alone ruins sleep is mixed, but a calm routine in lower light helps most people fall asleep faster and reduces the urge to keep scrolling.

What if I get into bed and cannot sleep?

After about 20 minutes of lying awake, get up and do something calm in dim light, then go back. Staying in bed frustrated teaches your brain that the bed is a place for worrying, which makes the next night harder.

Is 7.5 hours enough?

For most adults, yes: 7 to 9 hours is the recommended range. If you are sleepy in the afternoon, rely on caffeine to function, or sleep much longer at weekends, aim for six cycles instead of five.

Sources and further reading

  • Watson NF, Badr MS, Belenky G, et al. Recommended amount of sleep for a healthy adult: joint consensus statement of the American Academy of Sleep Medicine and Sleep Research Society. Sleep. 2015;38(6):843-844. source
  • Hirshkowitz M, Whiton K, Albert SM, et al. National Sleep Foundation's sleep time duration recommendations. Sleep Health. 2015;1(1):40-43. source
  • National Heart, Lung, and Blood Institute. Sleep deprivation and deficiency. source
Last updated: November 2026 Reviewed by the RhythmCalc editorial team How we build our calculators

RhythmCalc gives general information for healthy adults, not medical advice. Sleep, caffeine and nutrition needs vary between people and change with health conditions, medication and pregnancy. Talk to a qualified clinician about your own situation.