Bedtime Calculator

Quick answer

A bedtime calculator counts backward from your wake-up time in whole sleep cycles of about 90 minutes, plus the time you need to fall asleep. To wake at 6:30 AM after five cycles (7.5 hours of sleep) with 15 minutes to drift off, go to bed at 10:45 PM.

Updated October 11, 2026By Shakeel Muzaffar
Try
Sleep timing
Age group
Your alarm time. Works across midnight.
Exam, flight check-in, race start or first shift.
0 to 180.
0 to 300.
Spare minutes for delays, 0 to 180.
How long you usually lie awake before sleep (0 to 60).
70 to 120. Keep 90 unless you know your own pattern.
Recommended bedtime
—
Wake-up time—
Asleep by—
6 cycles—
5 cycles—
4 cycles—
3 cycles (minimum)—

Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.

Saved results (0)

How To Use The Bedtime Calculator

  1. Enter your wake-up time. Use the time your alarm goes off, not the time you get out of bed.
  2. Set how long you take to fall asleep. Leave 15 minutes if you are not sure. Raise it if you usually lie awake longer.
  3. Pick your age group. The calculator then highlights the bedtime that gives you enough full cycles for your age.

The highlighted bedtime is the latest one that still meets the sleep range for your age group.

ResultWhat it meansBest used for
Recommended bedtimeLatest bedtime that gives enough whole cycles for your age groupYour normal nightly target
6 cyclesAbout 9 hours of sleep with 90-minute cyclesTeens, children, or paying back a short night
5 cyclesAbout 7.5 hours of sleepMost adults on a work night
4 cyclesAbout 6 hours of sleepA one-off late night, not a habit
3 cycles (minimum)About 4.5 hours of sleepEmergencies only; expect to feel tired

What Is A Bedtime Calculator?

A bedtime calculator is a planning tool that works backward from a fixed wake-up time to show when you should be in bed. It adds the minutes you need to fall asleep and then subtracts whole sleep cycles, so your alarm is more likely to ring near the end of a cycle than in the middle of deep sleep.

It does not measure your sleep, track stages, or detect a sleep disorder. It turns a wake-up time and a few averages into a bedtime you can act on tonight.

How Does The Bedtime Calculator Work?

The calculator subtracts your time to fall asleep and a whole number of sleep cycles from your wake-up time. Each cycle moves through light non-REM sleep, deep non-REM sleep, and REM sleep. The NHLBI describes a cycle that repeats every 80 to 100 minutes, four to six times a night, which is why 90 minutes is the usual planning figure.

Formula: Bedtime = Wake time - Minutes to fall asleep - (Number of cycles x Cycle length)
  1. Convert the wake-up time to minutes after midnight (6:30 AM = 390).
  2. Subtract the minutes you need to fall asleep (390 – 15 = 375).
  3. Subtract 3, 4, 5 and 6 cycles (for example 5 x 90 = 450, so 375 – 450 = -75).
  4. Wrap negative values around midnight (-75 + 1,440 = 1,365 minutes = 10:45 PM).
  5. Highlight the smallest number of cycles that reaches the minimum sleep for your age group.

Learn what happens inside each cycle in our guide to the stages of sleep.

Worked Example: Waking Up At 6:30 AM

Maria is 34 and her alarm is set for 6:30 AM. She usually falls asleep in about 15 minutes and has no reason to think her cycles are unusual, so she keeps the 90-minute default.

CyclesSleep timeBedtime
69.0 h9:15 PM
57.5 h10:45 PM
46.0 h12:15 AM
34.5 h1:45 AM

Five cycles give her 7.5 hours of sleep, which meets the 7-hour adult minimum, so the calculator highlights 10:45 PM. If she stays up to 11:30 PM instead, her alarm lands partway through a cycle.

Factors That Change Your Ideal Bedtime

Time To Fall Asleep

Every extra 15 minutes it takes you to fall asleep pushes the right bedtime 15 minutes earlier.

Cycle Length

Cycles vary from person to person, so the tool accepts 70 to 120 minutes. A longer cycle moves every bedtime earlier.

Age

Teens need 8 to 10 hours and children 6 to 12 need 9 to 12 hours, so the highlighted bedtime moves one cycle earlier for them.

Body Clock And Schedule

Your circadian rhythm decides when you feel sleepy. Night-shift workers should plan around their own shift pattern with the shift work sleep calculator.

What Time Should I Go To Bed? Bedtimes By Wake-Up Time

These assume 15 minutes to fall asleep and 90-minute cycles. Most adults should pick 5 cycles.

Wake-up timeBedtime for 5 cycles (7.5 h)Bedtime for 6 cycles (9 h)
5:00 AM9:15 PM7:45 PM
5:30 AM9:45 PM8:15 PM
6:00 AM10:15 PM8:45 PM
6:30 AM10:45 PM9:15 PM
7:00 AM11:15 PM9:45 PM
7:30 AM11:45 PM10:15 PM
8:00 AM12:15 AM10:45 PM

More wake-up times: 4:00 AM, 4:30 AM, 8:30 AM, 9:00 AM, 9:30 AM, 10:00 AM, 10:30 AM, 11:00 AM, 11:30 AM, 12:00 PM, 12:30 PM, 1:00 PM, 1:30 PM, 2:00 PM, 2:30 PM.

Alarm Calculator: What Time To Set Your Alarm

If your bedtime is fixed and your alarm is flexible, run the sum forwards.

Formula: Alarm time = Bedtime + Minutes to fall asleep + (Cycles x 90 minutes)

In bed at 11:00 PM and asleep by 11:15 PM, set the alarm for 6:45 AM (5 cycles) or 8:15 AM (6 cycles). The 90-minute sleep cycle calculator in the related tools below does this for you, including a Right now option.

Bedtime For An Early Start: Exam, Flight Or Race

When the fixed point is an event, not an alarm, choose Early start. The calculator works out your wake-up time first, then counts back in cycles.

Formula: Wake-up time = Event start - Minutes to get ready - Travel minutes - Buffer

Sam has an exam at 9:00 AM. He needs 45 minutes to get ready, 40 minutes to travel and wants 15 spare minutes.

StepResult
Wake-up time: 9:00 AM – 45 – 40 – 15 min7:20 AM
Bedtime for 5 cycles (7.5 h), 15 min to fall asleep11:35 PM
Asleep by11:50 PM
Bedtime for 6 cycles (9 h)10:05 PM

The same steps fit an early flight, a race or a first day at work. If the bedtime is much earlier than usual, your body clock may not feel sleepy yet, so raise the minutes to fall asleep to plan for that.

Bedtime Calculator vs Sleepytime-Style Calculators

FeatureSleepytime-style calculatorsThis bedtime calculator
What you enterA wake-up time or a bedtimeWake-up time, minutes to fall asleep, cycle length and age group
Time to fall asleepBuilt in, not adjustable0 to 60 minutes, your choice
Cycle lengthBuilt in, not adjustable70 to 120 minutes
AgeNot consideredAdult, teen or child sleep ranges
ResultA list of timesA highlighted bedtime that meets your age range, plus 3 to 6 cycle options

The original Sleepytime site, sleepyti.me, now redirects to a page that returned an error when we checked in October 2026.

Who Should Use A Bedtime Calculator?

It is most useful when your wake-up time is fixed and your bedtime is flexible.

  • Students and parents: set the age group to Teen or Child to see a bedtime with enough cycles for a growing body.
  • Travellers and shift workers: use it for the first nights on a new schedule.

Common Mistakes When Choosing A Bedtime

Using The Time You Get Into Bed As The Time You Fall Asleep

Lying awake counts. Add your real time to fall asleep or the plan will be short by that amount every night.

Chasing The 3-Cycle Option Every Night

4.5 hours ends on a cycle boundary but is far below what adults need.

Changing Bedtime Every Day

A steady schedule trains your body clock. Pick one bedtime and keep it, weekends included.

Ignoring Sleep Habits

Late caffeine, bright screens and a warm room all delay sleep. The basics in sleep hygiene 101 make any bedtime work better.

Accuracy And Limitations

The times are exact for the inputs you give, but your real cycles vary from night to night.

What It Calculates Accurately

  • Clock maths across midnight for any wake-up time
  • Whole-cycle bedtimes for the cycle length you enter
  • Whether total sleep meets the age-group range

What It Does Not Account For

  • Night-to-night changes in cycle length
  • Awakenings during the night
  • Sleep disorders, medicines, pregnancy or illness
  • Your personal chronotype

How We Calculate Your Bedtime

Method
Backward count from wake time: latency plus whole cycles
Inputs
Wake-up time, minutes to fall asleep (0 to 60), cycle length (70 to 120), age group
Assumptions
15-minute latency and 90-minute cycles as defaults; cycles treated as equal length
Age ranges
Adults 7 to 9 h (MedlinePlus; NHLBI lists 7 to 8 h), teens 8 to 10 h, children 6 to 12: 9 to 12 h
Rounding
Times to the minute; hours to one decimal
Edge cases
Wraps across midnight; rejects out-of-range latency or cycle length

Bedtime Calculator FAQs

Is 7.5 hours of sleep better than 8 hours?

Neither is better by itself. 7.5 hours ends on a cycle boundary, while 8 hours gives slightly more sleep. Choose what you can keep every night.

Why does this calculator show a different time from other bedtime calculators?

Most tools fix the time to fall asleep and the cycle length. This one lets you change both and applies an age-based minimum.

What time should I go to bed to get 8 hours of sleep?

Count back 8 hours plus your time to fall asleep from your alarm. For a 6:30 AM alarm and 15 minutes to fall asleep, that is 10:15 PM; 10:45 PM gives 7.5 hours and ends on a cycle.

Is this bedtime calculator like Sleepytime?

It uses the same idea of counting back in 90-minute cycles, but you can also change time to fall asleep, cycle length and age group.

How long is one sleep cycle?

An average cycle lasts about 90 minutes. The NHLBI describes a range of 80 to 100 minutes, and cycle length varies from person to person.

How many sleep cycles do adults need?

Most adults need four to six cycles a night. Five cycles of 90 minutes equal 7.5 hours, which meets the NHLBI guidance of 7 to 8 hours for adults.

Can a bedtime calculator help with insomnia?

It can give you a consistent schedule, but it does not treat insomnia. Ongoing trouble sleeping should be checked by a doctor.

Does the calculator work for naps?

No. Short naps follow different rules. Use a nap tool for daytime sleep.

Sources

Related Calculators

For bedtimes and wake-up times in both directions, use the main sleep calculator. Explore every sleep timing, sleep need and sleep health tool in one place.

All sleep tools

This calculator gives general sleep education based on population averages. It is not medical advice or a diagnosis. Talk to a doctor about ongoing sleep problems, loud snoring or daytime sleepiness. Spotted an error? Let us know.