Sleep Calculator

Cycle length and time to fall asleep are averages you can change, not measurements of your sleep. This is general information, not medical advice. Everything runs in your browser; nothing is saved or sent.

This sleep calculator works three ways: it finds a bedtime from your alarm, finds an alarm from your bedtime, or checks how much sleep last night probably gave you. Every option is compared with the recommended hours for your age, so a neat cycle count that is still too short gets flagged.

Sleep calculator result showing bedtimes for a 7:00 AM wake-up
The sleep calculator marks which bedtimes reach the recommended hours for your age.

How to use the sleep calculator

  1. Pick a mode. When to go to bed, When to wake up, or Check my night.
  2. Set the time. Type it, or tap a wake-up chip. In the second mode, Use the time now fills in the current time.
  3. Choose your age group. The minimum hours change from 9 for a school-age child to 7 for most adults.
  4. Adjust the two assumptions. Minutes to fall asleep starts at 15 and cycle length at 90.
  5. Read the cards. A blue outline means the total sits in the recommended range. Copy result saves a one-line summary for your notes app.

The formula behind the bedtime

Bedtime = alarm time – (cycles x cycle length) – minutes to fall asleep. For a 7:00 AM alarm and five 90-minute cycles: 7 hours 30 minutes before 7:00 is 11:30 PM, and 15 minutes before that is 11:15 PM. The time shown is when to get into bed, not when you will be asleep.

How a sleep calculator bedtime is worked out from the alarm time
Bedtime is the alarm time minus sleep cycles minus the time you take to fall asleep.
Wake up6 cycles (9 h)5 cycles (7 h 30 min)Latest for 7 h
5:30 AM8:15 PM9:45 PM10:15 PM
6:00 AM8:45 PM10:15 PM10:45 PM
6:30 AM9:15 PM10:45 PM11:15 PM
7:00 AM9:45 PM11:15 PM11:45 PM
8:00 AM10:45 PM12:15 AM12:45 AM

The table assumes 15 minutes to fall asleep. The last column ignores cycles and simply protects 7 hours.

How many hours of sleep by age

AgeRecommended sleep per day
6 to 12 years9 to 12 hours
13 to 17 years8 to 10 hours
18 to 60 years7 hours or more
61 to 64 years7 to 9 hours
65 years and over7 to 8 hours

These figures follow the CDC sleep guidance (page dated May 15, 2024). The adult minimum matches the AASM and Sleep Research Society consensus of 2015, which also notes that more than 9 hours can suit young adults, people catching up on lost sleep and people who are ill.

광고

Why the 90-minute rule is only a starting point

The NHLBI describes a night as 4 to 6 cycles of 80 to 100 minutes, moving through non-REM and REM sleep. A 2024 study of 6,064 lab-recorded cycles from 369 people put the median near 96 minutes, with large differences between people and a shorter first cycle. Look at what that does to “five cycles”:

Five sleep cycles compared at 80, 90 and 100 minutes
The same five cycles give very different totals when the cycle length changes.

Sleep calculators often say that waking at the end of a cycle feels easier. We did not find a source that proves it for a calculated time like this, so treat cycle times as a tie-breaker and total sleep as the rule.

Watch out: choosing a later bedtime only because it “lands on a cycle” can cost you sleep. From 12:45 AM to a 7:00 AM alarm there are 6 hours of sleep at best, an hour under the adult minimum.

Example: checking a short night

Into bed at 11:30 PM and up at 6:30 AM is 7 hours in bed. Take off 15 minutes to fall asleep and you have about 6 hours 45 minutes, or 4.5 cycles. That is 15 minutes under the adult minimum, which adds up to 1 hour 15 minutes over five nights. Keeping the same alarm, the fix is to get into bed by 11:15 PM.

Check my night mode estimating 6 hours 45 minutes of sleep
Check my night turns bed and wake times into estimated sleep.

Habits that make the numbers work

  • Keep weekday and weekend sleep times within about an hour of each other.
  • Caffeine effects can last up to 8 hours, so a mid-afternoon coffee may still be active at bedtime.
  • If adults nap, the NHLBI suggests no more than 20 minutes.
  • Put screens away at least 30 minutes before bed.

The first three points come from NHLBI healthy sleep habits and the last from the CDC page above. Falling asleep in about 10 to 20 minutes is typical according to the Sleep Foundation (updated July 2026).

Sleep calculator checklist before trusting a bedtime
Five checks before you rely on a calculated bedtime.

Limits: this tool does not measure your sleep stages, night waking or sleep quality. If you snore heavily, stay sleepy after enough hours, or struggle to sleep for weeks, talk to a doctor.

Frequently asked questions

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

With 90-minute cycles and 15 minutes to fall asleep, get into bed at 9:45 PM for 9 hours of sleep or 11:15 PM for 7 hours 30 minutes. For an adult who needs at least 7 hours, the latest bedtime is 11:45 PM.

Is 4.5 hours or 6 hours of sleep enough if I wake between cycles?

No. A tidy cycle count does not replace total sleep. Adults aged 18 to 60 are advised to get 7 hours or more on a regular basis, so 3 cycles (4 h 30 min) and 4 cycles (6 h) both fall short.

How long is one sleep cycle?

About 90 minutes is the usual average, and the U.S. National Heart, Lung, and Blood Institute gives 80 to 100 minutes. It differs between people and across the night, which is why the cycle length here is editable.

How long should it take to fall asleep?

Roughly 10 to 20 minutes is typical according to the Sleep Foundation. This calculator starts at 15 minutes. Change it to match your own nights.

Can I use the calculator for children?

You can pick the 6 to 12 or 13 to 17 age group to check the total hours. The 90-minute cycle default is an adult average, so for children rely on the total sleep range more than on cycle times. Children under 6 are not covered.

Sources (checked November 29, 2026): CDC, About Sleep; AASM and SRS, Adult sleep duration consensus; NHLBI, Sleep stages and Healthy sleep habits; Sleep Foundation, Sleep latency; Cajochen et al., Sleep Health, 2024. This page is general information, not medical advice.

광고

#SleepCalculator  #BedtimeCalculator  #WakeUpTime  #SleepCycles  #HowMuchSleep  #SleepByAge  #SleepSchedule  #FreeTools  #MetaTrend

Found this useful? Share it.