Sleep Calculator
Choose what you want to calculate, enter your values, and press Calculate.
Calculate what time you should go to sleep or wake up based on your desired sleep length, age-based sleep needs, and an optional sleep-cycle estimate.
Choose what you want to calculate, enter your values, and press Calculate.
To calculate when you should go to sleep, subtract your desired sleep duration and estimated fall-asleep time from the time you need to wake up.
If you know what time you need to wake up, calculating a reasonable bedtime starts with a simple question: how much sleep are you trying to get? Your bedtime can then be estimated by working backward from your required wake-up time and adding time for falling asleep.
The basic calculation is:
Suppose you need to wake up at 7:00 AM, want eight hours of sleep, and normally allow yourself about 15 minutes to fall asleep.
First subtract eight hours: 7:00 AM - 8 hours = 11:00 PM. That is the estimated time you would need to be asleep.
Then subtract your 15-minute fall-asleep buffer: 11:00 PM - 15 minutes = 10:45 PM.
Your suggested time to get into bed would therefore be approximately 10:45 PM. Your estimated sleep window would be 11:00 PM to 7:00 AM.
This calculation does not guarantee that you will fall asleep at exactly 11:00 PM. It gives you a practical planning time based on the sleep duration and fall-asleep buffer you selected. That distinction matters. A sleep calculator can calculate clock time. It cannot measure when your brain actually enters a specific sleep stage.
Get into bed, allow time to fall asleep, sleep through your chosen window, then wake up. Calculate above to see this timeline update with your own numbers.
To estimate what time you should go to sleep, start with your wake-up time. Then choose a realistic sleep-duration goal.
Wake-up time: 6:30 AM. Desired sleep: 8 hours.
6:30 AM - 8 hours = 10:30 PM estimated sleep start.
If you want approximately 20 minutes to wind down and fall asleep: 10:30 PM - 20 minutes = 10:10 PM suggested time to get into bed.
This is more useful than simply asking "what bedtime is best?" because your bedtime depends partly on what time you need to wake up, how much total sleep you are targeting, and how long you normally need to fall asleep.
Use this formula: Bedtime = Wake-Up Time - Desired Sleep - Fall-Asleep Buffer.
Wake: 8:00 AM. Sleep goal: 9 hours. Fall-asleep buffer: 15 minutes.
Step 1: 8:00 AM - 9 hours = 11:00 PM.
Step 2: 11:00 PM - 15 minutes = 10:45 PM.
Suggested time to get into bed: 10:45 PM. Estimated sleep start: 11:00 PM. Wake: 8:00 AM.
The formula also works in reverse: Wake-Up Time = Bedtime + Fall-Asleep Buffer + Desired Sleep.
Get into bed: 10:30 PM. Fall-asleep buffer: 15 minutes. Desired sleep: 8 hours.
Estimated sleep start: 10:45 PM. Add eight hours: 6:45 AM.
Estimated wake-up time: 6:45 AM.
This reverse calculation can be useful when your evening schedule is fixed but your morning schedule is flexible.
The amount of sleep you need changes with age, and current CDC guidance ranges from 14-17 hours for newborns to at least 7 hours for many adults.
There is no single sleep duration that applies identically to every age. CDC guidance explains that recommended sleep duration changes across the lifespan. Current CDC guidance includes:
These are population-level recommendations rather than a promise that every person will feel identical after the same number of hours. Use the calculator's age selection above as a guide to the appropriate sleep-duration range.
Each bar spans the recommended hour range for that age group on a shared 0-17 hour scale. The adult 18-60 bar is shown open-ended because CDC guidance is "7 or more hours" rather than a fixed ceiling.
| Age Group | Ages | Recommended Sleep |
|---|---|---|
| Newborn | 0-3 months | 14-17 hours |
| Infant | 4-12 months | 12-16 hours, including naps |
| Toddler | 1-2 years | 11-14 hours, including naps |
| Preschool | 3-5 years | 10-13 hours, including naps |
| School Age | 6-12 years | 9-12 hours |
| Teen | 13-17 years | 8-10 hours |
| Adult | 18-60 years | 7 or more hours |
| Adult | 61-64 years | 7-9 hours |
| Adult | 65+ years | 7-8 hours |
Getting enough sleep involves more than finding a clever alarm time. The CDC guidance on getting enough sleep emphasizes both sleep duration and sleep quality.
A person could technically spend enough hours in bed but still experience poor-quality sleep if they wake repeatedly, struggle to fall asleep, or remain tired after what appears to be enough sleep. That means the first priority of this calculator is helping you reserve enough time for sleep. Cycle timing comes second.
If an adult needs at least seven hours of sleep, choosing a six-hour sleep window simply because it represents four theoretical 90-minute cycles does not override total sleep need. This is an important limitation of many online sleep-cycle calculators.
Sleep is not one continuous, identical state. During the night, the brain and body move through different stages, and these stages repeat in cycles. A typical cycle includes movement through N1, N2, N3, and REM sleep. N1, N2, and N3 are non-REM sleep. REM stands for rapid eye movement. The structure of these stages changes across the night, a changing pattern sometimes called sleep architecture.
Sleep Foundation's educational overview, "Stages of Sleep: What Happens in a Normal Sleep Cycle?", explains that a normal night includes repeated movement through four sleep stages. The first three are non-REM stages: N1, N2, N3. The fourth is REM.
N1 is the transition from wakefulness into sleep. It is a relatively light stage. Because you are only beginning to fall asleep, waking during N1 can be easier than waking from deeper sleep.
N2 is a deeper form of light sleep. Heart rate, breathing, temperature, muscle activity, and brain activity begin changing as the body progresses further into sleep. People usually spend a substantial portion of the night in N2.
N3 is commonly called deep sleep or slow-wave sleep. It is generally harder to wake someone during this stage. Deep sleep is concentrated more heavily in the earlier part of the night.
REM means rapid eye movement. During REM sleep, brain activity becomes more active while most voluntary muscles are temporarily inhibited. REM is strongly associated with vivid dreaming, although dreams can occur during other stages. REM periods generally become longer later in the night.
Conceptual example only. Sleep architecture varies by person and night.
| Approx. hour | Stage | Note |
|---|---|---|
| 0 | Awake | Falling asleep |
| 0.5-2 | N1-N3 | Deep sleep (N3) concentrated in earlier cycles |
| 2-4 | N2-REM | REM periods begin appearing and lengthening |
| 4-8 | N2-REM | Later cycles contain progressively more REM and less N3 |
A sleep cycle averages about 90 minutes, but individual cycles are not always 90 minutes and can vary across the night.
You may have heard "one sleep cycle is exactly 90 minutes." That is too simple. Sleep Foundation explains that sleep cycles average around 90 minutes, but they are not identical. The first cycle can be shorter, often roughly 70-100 minutes. Later cycles may commonly range around 90-120 minutes. Cycle duration can also differ from person to person and night to night.
That means a calculator cannot know that your body will enter and leave each sleep stage according to a perfect 90-minute clock. The 90-minute value is useful as a simplified educational planning estimate. It should not be treated as a precise biological timer.
Use cycle times as estimates, not exact alarm targets.
| Model | Length |
|---|---|
| Simplified calculator model | approximately 90 minutes, fixed |
| Real sleep cycles, first cycle | roughly 70-100 minutes |
| Real sleep cycles, later cycles | roughly 90-120 minutes |
No. A sleep cycle averages around 90 minutes, but individual cycles vary. This is why the CalculateThisWay Sleep Calculator separates two ideas: total sleep duration and optional approximate sleep-cycle planning. Total sleep duration is the more important starting point. Approximate cycle timing is an additional educational planning tool.
There is no universal rule stating that every person must complete exactly four, five, or six sleep cycles. A typical night contains multiple cycles, but the number varies partly because cycle length varies, total sleep time varies, age varies, and individual sleep architecture varies.
Using a simplified 90-minute model: 4 cycles is approximately 6 hours, 5 cycles is approximately 7.5 hours, and 6 cycles is approximately 9 hours. But these numbers are planning estimates. Do not use "four cycles" as justification for routinely restricting an adult to six hours of sleep. Age-based total sleep guidance still matters.
Reaching a round number of nominal 90-minute cycles does not by itself mean you have slept enough. A 6-hour, 4-cycle night falls short of the 7-or-more-hour CDC guidance for most adults, even though it completes a whole number of nominal cycles.
| Scenario | Hours | Nominal Cycles | Meets Adult CDC Minimum (7+ hr)? |
|---|---|---|---|
| 4 nominal cycles | 6 hours | 4 | No |
| 5 nominal cycles | 7.5 hours | 5 | Yes |
| Adult CDC minimum | 7 hours | n/a | Yes (reference line) |
REM is one of the four major sleep stages. REM stands for rapid eye movement. REM periods tend to become longer as the night progresses. REM sleep is associated with important cognitive processes including memory and learning. A person does not simply enter REM every 90 minutes at an identical clock interval throughout the night. The sleep stages change in both length and composition.
Non-REM sleep, sometimes shortened to NREM, includes N1, N2, and N3. The three stages represent progressively different sleep states. N3 is the stage most commonly referred to as deep sleep.
REM and non-REM sleep are both parts of normal sleep architecture. The night is not divided into "REM sleep first" and "non-REM sleep later." Instead, the body cycles between stages repeatedly. Earlier cycles generally contain more deep N3 sleep. Later cycles generally contain more REM sleep. This is another reason why reducing the entire night to simple 90-minute blocks can be misleading.
Deep sleep generally refers to N3 sleep. People are more difficult to awaken during this stage compared with lighter N1 or N2 sleep. More deep sleep tends to occur earlier in the sleep period. The exact amount of deep sleep someone gets cannot be calculated simply from bedtime, wake time, and age. A clock calculator cannot directly measure brain waves.
There is not a single simple deep-sleep number this calculator can accurately prescribe for every person. Deep-sleep amount changes with age, sleep duration, sleep patterns, and individual physiology. The calculator therefore focuses on total sleep opportunity rather than pretending to calculate someone's exact deep-sleep requirement.
Similarly, this calculator should not claim to know a person's precise required amount of REM sleep. REM makes up part of a normal night and generally increases in duration later in the sleep period. The most useful action for a calculator is helping the user reserve adequate overall sleep time.
The term core sleep can be used in different ways depending on context. Some consumer sleep trackers group certain sleep stages under labels such as core sleep. However, this calculator primarily uses the standard educational categories: N1, N2, N3, REM. We do not build the page around one device manufacturer's proprietary stage labels.
Sleep inertia is the temporary groggy, slowed feeling some people experience immediately after waking. It can include sleepiness, slower thinking, reduced alertness, and difficulty getting moving. Some people associate waking from deeper sleep with stronger grogginess. However, a simple clock calculator cannot know which sleep stage a person is actually in when an alarm sounds. That is why this page does not promise "wake at this exact time and avoid sleep inertia."
Feeling tired after sleeping can have many possible causes, including not getting enough total sleep, fragmented sleep, an inconsistent schedule, poor sleep quality, sleep disorders, stress, illness, medications, alcohol, or other factors. A bedtime calculator cannot diagnose the reason. If someone consistently gets enough sleep but remains excessively sleepy, they should consider discussing it with a healthcare professional.
This phrase appears in current sleep-related search trends, but we treat it responsibly here rather than attempt to diagnose anything. Persistent tiredness can have many causes, and sleep duration is only one factor. If persistent fatigue or excessive daytime sleepiness continues despite adequate sleep opportunity, professional evaluation may be appropriate.
Nine hours is not automatically "too much." Sleep need varies by age, individual, recent sleep history, health, and circumstances. For some adults, nine hours may fall within a reasonable range. This calculator does not label nine hours as bad, excessive, or abnormal without context.
General adult sleep-duration recommendations are primarily age based, not divided into a universal separate recommendation for men and women. Individual needs may differ. This calculator uses age-based sleep guidance rather than inventing a separate "women need exactly X hours" formula.
Calculating bedtime is useful, but the clock time alone does not guarantee good sleep. Mayo Clinic's "Sleep tips: 6 steps to better sleep" discusses practical habits that support better sleep. The major ideas can be summarized in original language below.
Try to keep bedtime and wake-up time reasonably consistent. A stable schedule supports the body's regular sleep-wake rhythm.
Large meals close to bedtime can interfere with comfort. Caffeine and nicotine can interfere with sleep. Alcohol may make someone feel sleepy initially while still disrupting sleep later.
A bedroom that is cool, dark, quiet, and comfortable may make sleep easier. Light exposure, including screens close to bedtime, can make winding down more difficult.
Long or late naps can make nighttime sleep more difficult for some people.
Regular daytime physical activity can support sleep. If you track training intensity, the Target Heart Rate Calculator can help you plan activity within a reasonable heart-rate zone.
A racing mind can make falling asleep difficult. A consistent relaxing wind-down routine may help signal that bedtime is approaching.
These steps matter because the best bedtime calculation is less useful if someone's routine consistently prevents them from falling asleep.
A practical better-sleep routine may include choosing a consistent wake-up time, working backward to reserve enough sleep, building in realistic time to fall asleep, reducing bright light late at night, keeping the sleep environment comfortable, watching late caffeine intake, maintaining regular physical activity, and addressing persistent sleep problems. The sleep calculator helps with time planning. It does not replace sleep habits, sleep quality, or medical evaluation when needed.
Start with hours of sleep. Then use cycle estimates only as secondary information.
You need to wake at 6:00 AM. Suppose you choose 7.5 hours because that equals five nominal 90-minute cycles. That may be reasonable for some adults.
But if your age group and personal needs indicate that you function better with 8, 8.5, or 9 hours, there is no reason to cut your sleep short simply to fit a perfect multiple of 90 minutes. Total sleep opportunity comes first.
No. It can show a conceptual example of how sleep stages progress. It cannot measure your actual brain waves, eye movements, muscle tone, heart rate, or individual sleep architecture. A true sleep-stage measurement requires physiological data. We make this distinction clear throughout this page.
No. Bedtime matters, but sleep quality depends on many other factors. Someone could spend nine hours in bed while sleeping poorly. Another person might have a consistent, uninterrupted sleep period and feel well rested. Use the calculator to plan enough time, then consider consistency, environment, habits, and sleep quality.
For many people, wake-up time is less flexible than bedtime. School, work, appointments, commuting, and family responsibilities often determine when the day must begin. If you know you must wake at 6:30 AM, you can calculate backward.
Target: 8 hours sleep. Wake: 6:30 AM. Estimated sleep start: 10:30 PM. Allow: 20 minutes to fall asleep.
Suggested bed-entry time: 10:10 PM.
This backwards-planning approach makes the calculator practical.
Wake: 5:00 AM. Desired sleep: 8 hours. Fall-asleep buffer: 15 minutes.
5:00 AM - 8 hours = 9:00 PM estimated sleep start. 9:00 PM - 15 minutes = 8:45 PM suggested time to get into bed.
Wake: 6:00 AM. Desired sleep: 7.5 hours. Fall-asleep buffer: 15 minutes.
6:00 AM - 7 hours 30 minutes = 10:30 PM estimated sleep start. Subtract 15 minutes: 10:15 PM suggested time to get into bed.
Wake: 7:00 AM. Desired sleep: 8 hours. Fall-asleep buffer: 15 minutes.
Estimated sleep start: 11:00 PM. Suggested time to get into bed: 10:45 PM.
Wake: 8:00 AM. Desired sleep: 9 hours. Fall-asleep buffer: 20 minutes.
Estimated sleep start: 11:00 PM. Suggested time to get into bed: 10:40 PM.
Do not leave knowing only "my calculator says 10:45 PM." Leave understanding:
Most importantly: I understand both the calculation and its limitations. That is the CalculateThisWay standard.
Wake-up: 7:00 AM. Desired sleep: 8 hours. Fall-asleep buffer: 15 minutes.
7:00 AM - 8 hours = 11:00 PM. 11:00 PM - 15 minutes = 10:45 PM.
Get into bed around 10:45 PM.
Wake-up: 6:00 AM. Desired sleep: 7.5 hours. Buffer: 20 minutes.
6:00 AM - 7 hr 30 min = 10:30 PM. 10:30 PM - 20 min = 10:10 PM.
Get into bed around 10:10 PM.
Bedtime: 10:00 PM. Buffer: 15 minutes. Sleep goal: 8 hours.
Estimated sleep start: 10:15 PM.
Estimated wake-up: 6:15 AM.
Wake: 6:30 AM. CDC guidance: 8-10 hours.
8-hour option: 10:30 PM sleep start. 9-hour option: 9:30 PM. 10-hour option: 8:30 PM.
Subtract the fall-asleep buffer from each option to get the get-into-bed time.
Wake: 7:00 AM. 7 hours: 12:00 AM sleep start. 8 hours: 11:00 PM. 9 hours: 10:00 PM.
CDC guidance for ages 18-60 is 7 or more hours, so these are planning choices rather than a command that exactly one is correct.
Wake: 7:00 AM. 5 nominal cycles: 7.5 hours, approximately 11:30 PM sleep start. 6 nominal cycles: 9 hours, approximately 10:00 PM sleep start.
Subtract a 15-minute buffer for bed-entry time.
Nominal cycle planning only. Real sleep cycles vary.
You need to wake up at 6:45 AM. You want 8 hours of sleep. You usually allow 15 minutes to fall asleep.
What time should you get into bed?
6:45 AM - 8 hours = 10:45 PM.
10:45 PM - 15 minutes = 10:30 PM.
Suggested get-into-bed time: 10:30 PM.
I want to calculate bedtime, wake-up time, sleep duration, or understand sleep-cycle timing.
I want to estimate daily energy needs, BMR, TDEE, or maintenance calories.
I want to estimate training heart-rate zones.
I want a daily hydration estimate.
Subtract your desired sleep duration and your estimated time to fall asleep from the time you need to wake up. The result is your suggested time to get into bed.
It depends on your wake-up time, how many hours of sleep you are aiming for, and how long you usually take to fall asleep. Enter those values into the calculator above for a personalized estimate.
With an 8-hour sleep goal and a 15-minute fall-asleep buffer, that works out to roughly 8:45 PM. Adjust the duration and buffer above to match your own routine.
With a 7.5-hour sleep goal and a 15-minute buffer, that is approximately 10:15 PM. Your own ideal time depends on your age-based sleep need and personal buffer.
With an 8-hour goal and a 15-minute buffer, that is about 10:45 PM. Use the calculator above with your own numbers for an exact estimate.
With a 9-hour goal and a 20-minute buffer, that is approximately 10:40 PM. Enter your own wake-up time and preferences for a precise result.
Bedtime is estimated as wake-up time minus desired sleep duration minus the time you expect to need to fall asleep.
Wake-up time is estimated as bedtime plus your fall-asleep buffer plus your desired sleep duration.
It depends mainly on age. Current CDC guidance ranges from 14-17 hours for newborns down to 7 or more hours for most adults. Select your age group above to see your range.
Aim for a duration inside the CDC-recommended range for your age group, then adjust based on how you actually feel and function.
CDC guidance suggests 7 or more hours for adults ages 18-60, 7-9 hours for adults ages 61-64, and 7-8 hours for adults age 65 and older.
CDC guidance recommends 8-10 hours per night for teenagers ages 13-17.
General sleep-duration guidance is organized by age rather than a separate figure for men and women, so the same age-based CDC ranges apply, though individual needs can still vary.
Not automatically. Sleep need varies by age, individual physiology, recent sleep history, and circumstances, and nine hours falls within a reasonable range for many adults.
A sleep cycle is one pass through the sleep stages, N1, N2, N3, and REM, which repeats several times across a night.
A sleep cycle averages around 90 minutes, though individual cycles are often shorter early in the night and longer later on.
No. Ninety minutes is a useful average for planning, but the first cycle may run roughly 70-100 minutes and later cycles roughly 90-120 minutes, varying by person and night.
There is no universal number. Using a simplified 90-minute model, 4 cycles is about 6 hours, 5 cycles is about 7.5 hours, and 6 cycles is about 9 hours, but total sleep duration matters more than hitting an exact cycle count.
Five nominal cycles is roughly 7.5 hours, which falls within many adults' recommended range, but whether it is enough depends on your age-based guidance and how you feel, not the cycle count alone.
Six nominal cycles is roughly 9 hours, which is generous for most adults, but actual sufficiency still depends on sleep quality and your individual needs, not just the number of theoretical cycles.
REM stands for rapid eye movement. It is a sleep stage marked by increased brain activity, temporarily inhibited muscles, and a strong association with vivid dreaming.
REM is one stage within a full sleep cycle. The cycle also includes the non-REM stages N1, N2, and N3, with REM periods tending to lengthen later in the night.
Non-REM, or NREM, sleep includes stages N1, N2, and N3, representing progressively deeper sleep states that occur between periods of REM.
Deep sleep generally refers to N3 sleep, the stage in which people are typically hardest to wake and which is concentrated more heavily earlier in the night.
There is no single deep-sleep number this calculator can accurately prescribe, since it changes with age, total sleep duration, and individual physiology. The calculator instead focuses on total sleep opportunity.
This calculator cannot measure or prescribe an exact REM amount. REM makes up part of a normal night and tends to increase later in the sleep period.
Core sleep is a term some consumer sleep trackers use to group certain stages together. This page uses the standard educational categories, N1, N2, N3, and REM, instead of one device maker's proprietary label.
Sleep inertia is the temporary groggy, slowed feeling some people experience right after waking, which can include sleepiness and reduced alertness.
Grogginess can relate to sleep inertia, insufficient total sleep, an inconsistent schedule, or other factors. A clock-based calculator cannot know which sleep stage you were in when you woke.
Possible reasons include fragmented sleep, poor sleep quality, an inconsistent schedule, stress, or other factors. Eight hours in bed does not guarantee eight hours of high-quality sleep.
Persistent tiredness can have many causes, and sleep duration is only one factor. If fatigue continues despite adequate sleep opportunity, consider speaking with a healthcare professional.
Not reliably. Because real cycle lengths vary and a calculator cannot detect your actual sleep stage, timing an alarm to a nominal cycle boundary cannot guarantee you will avoid grogginess.
No. A clock-based calculator works with estimated times only. It cannot measure brain waves, eye movement, or muscle tone to determine your actual sleep stage.
Either can be reasonable. Start from your age-based guidance and how you feel, rather than choosing 7.5 hours solely because it is a round number of nominal 90-minute cycles.
Total sleep duration should come first. Approximate cycle planning is an optional, secondary tool, not a replacement for age-based sleep-duration guidance.
Yes. The minutes spent falling asleep are not sleep, so this calculator accounts for your fall-asleep buffer separately from your sleep duration.
This varies by person. The calculator defaults to 15 minutes as a planning estimate only, and you can change it to match your own typical experience.
Helpful habits include a consistent sleep schedule, a comfortable dark and quiet environment, limiting late caffeine and heavy meals, regular physical activity, and a calming wind-down routine.
A consistent schedule is generally considered supportive of regular sleep-wake rhythms, according to sources such as Mayo Clinic's sleep guidance.
Yes. Caffeine can interfere with the ability to fall asleep and stay asleep, especially when consumed later in the day.
Alcohol may make some people feel sleepy at first, but it can still disrupt sleep quality later in the night.
Long or late naps can make it harder to fall asleep at night for some people, so timing and length are worth considering.
It depends on their required wake-up time and the CDC-recommended 8-10 hours for ages 13-17. Enter a wake-up time and select the Teen age group above for an estimate.
Sleep needs reflect developmental and physiological differences across the lifespan, which is why CDC guidance provides separate ranges for infants, children, teens, and several adult age bands.
The four stages are N1, N2, and N3, which are non-REM, plus REM, which stands for rapid eye movement.
REM occurs repeatedly across the night within each sleep cycle, with REM periods generally becoming longer in the later cycles.
Deep sleep, N3, is generally concentrated more heavily in the earlier cycles of the night.