Bedtime Calculator

To wake up at 7:00 AM, go to bed at 9:45 PM for six full sleep cycles (9 hours of sleep) or at 11:15 PM for five cycles (7½ hours), allowing 15 minutes to fall asleep. Enter your own wake-up time and fall-asleep time in the bedtime calculator below to get your four best bedtimes instantly.

Bedtime Calculator

Find the best time to go to bed for your wake-up time.

Sleeping now — times below are counted from the current time on your device. It is now —.
Best Bedtime
—
Sleep Cycle
90 min
Six full cycles — the most restorative option.

How to read this: each result is a whole number of 90-minute cycles, plus the time you allow yourself to fall asleep. The Recommended options give you 6 full cycles (9 hours of sleep) or 5 cycles (7½ hours). Four cycles (6 hours) is a floor for the occasional short night, not a routine target.

Estimates for general education only — not medical advice. Calculations run in your browser; nothing you enter is sent to us. Read our full disclaimer.

How the bedtime calculator works

The bedtime calculator works backwards from the time you need to wake up. Sleep is not one long, even stretch: it runs in cycles of about 90 minutes, and you feel most refreshed when your alarm goes off at the end of a cycle rather than in the middle of one. So instead of simply subtracting eight hours from your alarm, the calculator subtracts whole cycles, plus the time you usually need to fall asleep.

Bedtime = wake time − (cycles × 90 min) − time to fall asleep

Choose your wake-up time, tell the calculator how long it normally takes you to drift off, and it shows four bedtimes: six cycles (9 hours of sleep), five cycles (7½ hours), four cycles (6 hours) and three cycles (4½ hours). The six- and five-cycle options carry the Recommended badge, because 7½ to 9 hours is the range most adults need night after night. Results update instantly whenever you change the time or the fall-asleep setting, and nothing is sent anywhere — the maths runs entirely in your browser.

Worked example: waking up at 7:00 AM

Take a 7:00 AM alarm and 15 minutes to fall asleep, the calculator’s default. Six cycles is 540 minutes (9 hours) of sleep, so 7:00 AM minus 9 hours is 10:00 PM, minus the 15 minutes to fall asleep gives a 9:45 PM bedtime. Five cycles is 450 minutes (7½ hours): 7:00 AM minus 7½ hours is 11:30 PM, minus 15 minutes gives 11:15 PM. Four cycles lands at 12:45 AM and three cycles at 2:15 AM. Those four times are exactly what the calculator shows for this input, and you can check any other alarm the same way: subtract the cycles, then subtract your fall-asleep time.

Why waking at the end of a cycle matters

Each 90-minute cycle moves through light sleep, deep sleep and dream (REM) sleep. Waking from light sleep or just after a cycle ends usually feels easy, even after fewer hours. Waking from deep sleep, by contrast, causes sleep inertia — that heavy, foggy feeling that can last 20 to 30 minutes and makes the whole morning feel wrong. Two people can both sleep for seven hours and feel completely different the next day, purely because one alarm landed at a cycle boundary and the other landed in deep sleep. That is why the calculator only ever suggests whole cycles: it is lining your alarm up with the natural breaks in your sleep, not just counting hours.

How to use the fall-asleep time

Most people do not fall asleep the moment their head touches the pillow, and the calculator’s latency selector covers that gap. If you usually drift off in about 15 minutes, leave the default as it is. If you are out almost instantly, choose 0 minutes; if you regularly lie awake for half an hour, choose 30. The setting matters more than it looks: a 30-minute fall-asleep time moves every suggested bedtime half an hour earlier, and ignoring it is the most common reason a “perfect” bedtime still leaves you short of sleep. If you are not sure how long you take, watch yourself for a few nights and pick the closest option — 10, 15 or 20 minutes covers most adults. Shift workers and parents of young children often find the 20- or 30-minute setting matches their reality better than the default.

What if the recommended bedtime feels too early?

A 9:45 PM bedtime can feel surprisingly early if you are used to midnight. You do not have to jump straight to it: move your bedtime 15 minutes earlier every two or three nights until you reach it, and keep the same wake-up time throughout, including weekends. If 9:45 PM is genuinely impossible with your schedule, the 11:15 PM five-cycle option is a solid routine target — 7½ hours suits many adults well. Treat four cycles (6 hours) as an occasional short night only, and three cycles (4½ hours) as an emergency option, not a plan.

When a calculator is not enough

A bedtime calculator plans timing; it cannot fix sleep that is broken for another reason. If you regularly take more than an hour to fall asleep, snore loudly with pauses in your breathing, or feel exhausted during the day despite 7 to 9 hours in bed for several weeks, talk to a doctor or a sleep clinic. For everyone else, the routine is simple: pick your wake-up time, use the calculator to find your bedtime, and then protect that bedtime the way you would protect any other appointment.

Back to the main Sleep Calculator

Common Questions

Quick answers to the questions people ask most about this calculator.

What time should I go to bed to wake up at 7am?

Go to bed at 9:45 PM for six full cycles (9 hours of sleep) or at 11:15 PM for five cycles (7½ hours), allowing 15 minutes to fall asleep. Four cycles gives 12:45 AM and three cycles gives 2:15 AM. Enter your own alarm in the calculator above for your exact times.

How many hours of sleep do I need?

Most adults need 7 to 9 hours, which is five to six 90-minute cycles. Teenagers need 8 to 10 hours and school-age children 9 to 11 hours. The calculator marks the five- and six-cycle results Recommended because they cover the adult range.

Is 6 hours of sleep enough?

Six hours is four cycles, and it is best treated as a floor for the occasional short night. Most adults feel and perform measurably worse on 6 hours, even when they stop noticing the tiredness. Aim for 5 to 6 cycles (7½ to 9 hours) as your routine.

Why does the calculator ask how long I take to fall asleep?

Because that time counts. If you get into bed at 9:45 PM but take 30 minutes to fall asleep, you are really starting your cycles at 10:15 PM, and every suggested bedtime shifts by that amount. Pick the closest option — 0, 10, 15, 20 or 30 minutes — and the maths accounts for it.

What if I fall asleep faster or slower than 15 minutes?

Change the fall-asleep selector above the results. Choosing 0 minutes moves every bedtime later by 15 minutes; choosing 30 moves every bedtime 15 minutes earlier than the default. If you are not sure, watch yourself for a few nights and pick the closest value.

Should I keep the same bedtime on weekends?

Yes, as far as you can. Your body clock anchors to your wake-up time more than your bedtime, so keep one alarm every day and let the bedtime follow it. A big weekend lie-in shifts your clock and makes Monday morning harder, even if the total hours look the same.

What if I wake up before my alarm?

If you wake naturally within about 30 minutes of your alarm and feel alert, get up — you have probably finished a cycle, and drifting back off risks starting a new one you cannot finish.

Last updated: 25 November 2026