Sleep Calculator

This sleep calculator tells you when to get into bed for a set wake-up time, or when you'll wake if you go to bed at a set time. Add how long you take to fall asleep and you'll see your time in bed, estimated sleep and how it compares with CDC ranges for your age.

Calculation and content reviewed by EZ Calculators Editorial Team on .

Enter values

Build a clock-based sleep opportunity, keep settling and overnight-awake assumptions visible, compare estimated sleep with a CDC age reference, and treat cycle timing as optional context rather than a promise.

Build the scenario below, then calculate for a complete result report.

Runs in your browser
Clock modelLocal time across midnight
Duration contextCDC age reference
Cycle lensOptional 80-100 minute model
Choose the question to answer

The selected task controls which clock times and targets are needed.

Set the wake-up anchor

The plan counts backward from this local wake-up time.

Bedtime plan
Enter the local clock time when the sleep opportunity ends.
Choose how to set estimated sleep

Duration is the primary planning method. The cycle option is transparent arithmetic, not a forecast of sleep stages or morning alertness.

Estimated time asleep, before adding time to settle or awake time during the night.
hours
minutes

Keep the assumptions visible

Time in bed includes more than estimated sleep. Enter a settling allowance and optional total awake time after initially falling asleep.

Daily age context
A planning allowance, not a measured sleep-study value.
minutes
Optional total for awakenings after initially falling asleep.
minutes
Planning estimate

Time in bed is not measured sleep. This calculator cannot assess sleep quality, diagnose insomnia or sleep apnea, place awakenings on the clock, or guarantee that waking near a modeled cycle boundary will feel easier.

What time should I go to bed?

Count back from your wake-up time by the sleep you want plus the time it takes you to fall asleep. CDC lists 7 or more hours for adults 18 to 60. For a 7:00 AM alarm, 8 hours of sleep and 15 minutes to drift off, get into bed at 10:45 PM. For 7 hours, 11:45 PM.

How to use the sleep calculator

Start with the time that can't move. If your alarm is fixed, plan a bedtime. If your bedtime is fixed by a shift or kids, plan a wake time. To check a night you already have in mind, use the audit mode and enter both times.

Be honest with the extra minutes. Time to fall asleep and time awake during the night both come out of your time in bed. Leave them at zero and the plan assumes you sleep the moment your head hits the pillow.

  1. Choose a mode: plan bedtime from wake time, plan wake time from bedtime, or audit an overnight window.
  2. Enter your wake-up time, your bedtime, or both.
  3. Set a target in hours and minutes, or switch to the optional cycle model.
  4. Add your usual minutes to fall asleep and any time awake overnight.
  5. Pick an age group and press Calculate to see time in bed, estimated sleep and the CDC comparison.

Bedtime calculator chart

Here are bedtimes for common alarm times. Each one includes 15 minutes to fall asleep and no time awake overnight, so add more if you usually wake in the night.

When to get into bed (includes 15 minutes to fall asleep)
Wake-up time7 hours of sleep7.5 hours8 hours9 hours
5:00 AM9:45 PM9:15 PM8:45 PM7:45 PM
5:30 AM10:15 PM9:45 PM9:15 PM8:15 PM
6:00 AM10:45 PM10:15 PM9:45 PM8:45 PM
6:30 AM11:15 PM10:45 PM10:15 PM9:15 PM
7:00 AM11:45 PM11:15 PM10:45 PM9:45 PM
7:30 AM12:15 AM11:45 PM11:15 PM10:15 PM
8:00 AM12:45 AM12:15 AM11:45 PM10:45 PM

Worked example: waking at 7:00 AM

Say you want 8 hours of sleep, usually take 15 minutes to fall asleep and spend about 10 minutes awake during the night. You need 8 hours 25 minutes in bed. Counting back from 7:00 AM puts you in bed at 10:35 PM, asleep around 10:50 PM.

Run it the other way to audit a night. In bed at 11:00 PM and up at 7:00 AM is 8 hours in bed. Take away the same 25 minutes and you're left with 7 hours 35 minutes of sleep. That still meets the adult minimum, but it isn't the 8 hours the clock suggests.

Bedtime plan for a 7:00 AM wake-up
StepValueMath
Target sleep8h 0mEntered
Time to fall asleep15mAdded
Awake during the night10mAdded
Time in bed needed8h 25m8h + 15m + 10m
Get into bed at10:35 PM7:00 AM - 8h 25m

Sleep cycle calculator mode

Many bedtime tools count in 90-minute cycles. This one lets you do that too, with a cycle length you choose from 80 to 100 minutes. NHLBI says a sleep cycle starts over every 80 to 100 minutes, usually four to six times a night, so 90 is a middle value.

Take a 7:00 AM alarm, 15 minutes to fall asleep and 90-minute cycles. Six cycles means bed at 9:45 PM, five at 11:15 PM and four at 12:45 AM. Real cycles vary in length through the night, and the calculator can't tell which stage you're in when the alarm goes off. Use cycle timing as a rough guide and let total hours lead.

How much sleep do you need by age?

The age check uses CDC's daily ranges. For preschoolers the total includes naps, so an overnight figure alone can look short. For adults 18 to 60 the guidance is a minimum of 7 hours with no fixed upper limit.

CDC daily sleep by age
AgeRecommended daily sleepNote
3-5 years10-13 hoursIncludes naps
6-12 years9-12 hoursPer 24 hours
13-17 years8-10 hoursPer 24 hours
18-60 years7 or more hoursMinimum only
61-64 years7-9 hoursPer night
65 and older7-8 hoursPer night

The bedtime formula

Everything runs in minutes and then converts back to a clock. When your wake-up time is earlier on the clock than your bedtime, the audit adds 24 hours to cross midnight.

Formula guide
  • Time in bed = target sleep + minutes to fall asleep + minutes awake overnight
  • Bedtime = wake-up time - time in bed
  • Wake-up time = bedtime + time in bed
  • Estimated sleep (audit) = time in bed - minutes to fall asleep - minutes awake
  • Cycle target = number of cycles x minutes per cycle

When hours aren't the whole story

The American Academy of Sleep Medicine counts quality, timing, regularity and freedom from sleep disorders as part of healthy sleep, alongside duration. This calculator handles only the clock. It doesn't know about daylight saving changes, time zones, split sleep or rotating shifts, so work those out as separate windows.

CDC lists trouble falling asleep, waking often and feeling tired after enough time in bed as signs of poor sleep. If that happens regularly, or you snore loudly with pauses or gasps, or feel very sleepy in the day, talk to a doctor. Don't use a calculator result to decide whether you're safe to drive.

Sources

FAQ

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

For 8 hours of sleep with 15 minutes to fall asleep, get into bed at 9:45 PM. For 7 hours, 10:45 PM. Add more time if you usually wake during the night.

If I go to bed at 11 PM, when should I wake up?

With 15 minutes to fall asleep, 7 hours of sleep ends at 6:15 AM and 8 hours at 7:15 AM. Using 90-minute cycles, five cycles ends at 6:45 AM and six at 8:15 AM.

Is 7 hours of sleep enough?

For adults 18 to 60, 7 hours meets the CDC minimum. Teens need 8 to 10 and school-age kids 9 to 12. Some adults need more, and how rested you feel matters too.

Is it better to sleep 6 or 7.5 hours?

Neither number guarantees how you'll feel, but 6 hours falls short of the 7-hour adult minimum. A schedule that gets you at least 7 hours most nights is the safer target.

Does time in bed count as sleep?

No. Time in bed includes falling asleep and any time awake. Eight hours in bed with 25 minutes of those leaves 7 hours 35 minutes of sleep.

Can I use this for naps or shift work?

You can calculate each sleep period as its own window. The calculator doesn't add naps to a night or adjust for time zones and daylight saving, so total split sleep yourself.

Why do I wake up tired after 8 hours?

Hours are only part of healthy sleep. Broken sleep, an irregular schedule or a sleep disorder can leave you tired after a full night. If it keeps happening, talk to a doctor.