A little planning for your night.

Here’s how the sleep calculator turns your chosen time into a simple plan, and what its estimates can tell you.

Try the sleep calculator

How to use the sleep calculator

Use the sleep calculator to plan your bedtime or wake-up time in three steps.

  1. Choose a starting point. In the sleep calculator, select Wake up at for a fixed morning alarm, Go to bed at for a planned bedtime, or Sleep now when you are ready for bed. Enter the time you have in mind.
  2. Make room for sleep. Open Adjust to set your sleep goal and estimated time to fall asleep. Your wind-down routine comes before getting into bed. Date & time settings let you plan a specific date or another time zone.
  3. Find your sleep times. Calculate, then check the bedtime, sleep onset and wake-up date in your timeline. Copy or share the result for later. The sleep calculator does not set an alarm; use your usual alarm app.

The sleep calculator is free, with no account required. Calculations run in your browser, and the form values are not sent to a server. Copy and share are actions you choose; sharing places the result in the destination app you select.

How does a sleep calculator work?

A sleep calculator works backward from your alarm or forward from your bedtime. It combines your chosen sleep duration with the time you expect to spend falling asleep. The result gives you a bedtime, estimated sleep onset and wake-up time, with dates attached.

The result is a schedule, not a measurement. It cannot know when you actually fall asleep, how often you wake during the night, or which sleep stage you are in. Think of it as making room for sleep in the same way you make room for a journey: a useful plan needs both the main activity and the time before it starts.

Bedtime and sleep onset are different moments. The example shows how a 15-minute allowance fits before eight hours of sleep. Keeping those moments separate avoids counting time awake in bed as time asleep.

Two ways to plan your sleep

Use a duration target, or explore a cycle estimate.

Default planning mode

Sleep duration is the total amount of sleep you plan for. This sleep calculator starts with that approach. Choose seven, seven and a half, eight, eight and a half, or nine hours. These are adult planning options, not a diagnosis of how much sleep you personally need. An eight-hour goal does not need to divide neatly into whole cycles to be useful.

Optional estimate

Cycle estimate multiplies a chosen cycle count by an assumed cycle length. The default is 90 minutes, with a range of 80–100 minutes available under Adjust → Date & time settings. Five cycles at 90 minutes gives seven and a half hours. Four gives six hours, which is below the CDC’s general minimum for adults aged 18–60 and is flagged in the results.

NHLBI describes cycles restarting about every 80–100 minutes. That does not mean every cycle lasts the same amount of time. A sleep calculator cannot tell you exactly when REM or deep sleep ends. Do not shorten a sufficient sleep opportunity just to land on a round cycle count. Our sleep cycle calculator explains the model and compares different assumptions.

Sleep calculator examples

See how a different alarm changes your night.

These sleep calculator examples use eight hours of sleep and 15 minutes to fall asleep, on a night without a time-zone offset change. All bedtime values are on the evening before the alarm.

Wake-up time Get into bed Estimated sleep onset
6:00 AM 9:45 PM 10:00 PM
7:00 AM 10:45 PM 11:00 PM
8:00 AM 11:45 PM Midnight

For the reverse calculation, getting into bed at 11:00 PM with a 15-minute latency and an eight-hour target produces a 7:15 AM wake-up time the following morning. If you want a 7:00 AM alarm instead, move bedtime 15 minutes earlier. The bedtime calculator has more worked examples for planning around a fixed morning.

A cycle example illustrates why the assumptions matter: five 80-minute cycles give six hours and 40 minutes, while five 100-minute cycles give eight hours and 20 minutes. That 100-minute difference comes entirely from the model. It is not evidence that your body needs either result, and it is not a measurement of your night.

Make the estimate fit your night

A little context for the settings you can change.

Leave time to fall asleep

Adjust the 15-minute starting estimate

The time between getting into bed and falling asleep is often called sleep latency. The sleep calculator starts with 15 minutes simply as an editable planning assumption. It is not a statement that everyone takes 15 minutes. You can choose zero to 30 minutes in five-minute steps or enter a custom value if a different estimate better describes your routine.

Use a reasonable estimate rather than treating the setting as a target you must hit. With an eight-hour goal and a 7:00 AM wake-up time, changing latency from 15 to 30 minutes moves bedtime from 10:45 to 10:30 PM. It does not reduce the eight hours allocated to sleep. The sleep calculator does not separately subtract overnight awakenings, so a fragmented night can produce less actual sleep than the planned amount.

If you already mean “I expect to be asleep at 11:00 PM,” choose Go to bed at, open Adjust, then Date & time settings, and change the entered-time meaning to Already falling asleep. The calculation then adds the sleep duration to 11:00 PM without adding latency a second time.

Sleep needs by age

Why one sleep target does not fit everyone

The CDC’s daily guidance distinguishes adults aged 18–60, who generally need at least seven hours, from adults aged 61–64, whose range is seven to nine hours, and adults aged 65 and older, whose range is seven to eight hours. “At least seven” is a minimum recommendation, not a claim that exactly seven is enough for every adult.

NHLBI gives seven to nine hours as a general adult range. Choosing a duration is still a personal planning decision. A sleep calculator does not assess your health, recent sleep loss or individual needs. It also cannot establish that a night was restorative just because the clock shows enough hours.

Children’s needs are different. For infants and young children, the daily totals include naps and should not be entered as one uninterrupted night. Use the sleep calculator by age for clearly labeled age guidance, or read how much sleep you need for a fuller explanation of duration and quality.

Dates, time zones & clock changes

Keep overnight results on the right day

A time without a date can be misleading. A bedtime before midnight may belong to the previous day, and the clocks can change during a night. This sleep calculator keeps the date and UTC offset attached to each result. Sleep duration is elapsed time: when the clocks spring forward, eight hours of sleep may span nine hours on the clock face.

Some clock times do not exist during a daylight-saving transition. The sleep calculator asks you to choose a different time instead of silently changing it. Other times occur twice when clocks turn back. In that case, choose the earlier or later occurrence in settings. These details matter if you are planning a specific night rather than a general weekday routine.

The sleep calculator assumes the whole sleep period uses one time zone. It does not model an overnight flight or adjust your body clock after travel. If you work rotating shifts, the arithmetic can still allocate time, but it cannot determine a medically appropriate shift-sleep strategy. For repeated difficulty sleeping, CDC recommends speaking with a healthcare provider.

Frequently asked questions

Quick answers before you call it a night.

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

The sleep calculator gives a 10:45 PM bedtime for an eight-hour sleep goal and 15 minutes to fall asleep. Estimated sleep onset is 11:00 PM. Different sleep goals or latency estimates change the answer. Enter the actual date if clocks change that night.

Will a 90-minute cycle calculator help me wake up refreshed?

It can organize a schedule, but it cannot guarantee how you will feel or identify a sleep-stage boundary. Treat its results as estimates, and prioritize enough sleep over an exact multiple of 90 minutes.

Can a sleep calculator measure my actual sleep?

Our sleep calculator plans a duration you choose; it does not measure time asleep or reconstruct a night from a wearable. Time between bed and alarm includes any awake periods. Keep that distinction in mind when comparing a plan with your experience.

Does Sleep now use my local time?

Yes. The sleep calculator reads the current instant when you press Calculate and displays the plan in the selected time zone, which initially follows your device. It does not reuse a time captured when the website was built.

Can I save my sleep calculator result without signing up?

Use Copy result for a text summary, or Share result for your browser’s sharing options. If sharing is unsupported, the sleep calculator copies the text and page link. If clipboard access is unavailable, it shows selectable text you can copy yourself.

Sources & calculation limits

Educational information checked against these sources on . This is an editorial source check, not a medical review.

Sleep Calculator is an independent planning tool. It does not measure sleep, diagnose a condition, or guarantee a refreshed awakening. For persistent sleep problems, speak with a qualified healthcare professional. Read our disclaimer and methodology.