Sleep Calculator

Work backward from a wake-up time or forward from bedtime to compare practical sleep schedules.

Result
—
Loading worked example…
Formula or assumptions will appear here.
Result overviewRelative result components
PLAN A MORE REALISTIC NIGHT

Sleep timing, cycles & the bigger picture

This calculator turns one clock time into several possible schedules. It includes the time you expect to need to fall asleep and lets you adjust the assumed cycle length. Use the options as planning estimates, not a promise that you will wake at the end of a biological sleep cycle.

How to use the sleep calculator

Choose wake-up time to work backward toward possible bedtimes, or choose bedtime to work forward toward possible wake-up times. Then set your target time, estimated time to fall asleep, and an assumed cycle length. Press calculate to compare four, five, and six-cycle schedules.

The time to fall asleep is added before sleep begins. If you are planning a bedtime, it is added to the displayed wake-up time. If you are planning a wake-up time, it is subtracted from the displayed time to get into bed.

How much sleep do people need?

Sleep needs change with age and vary between individuals. The CDC publishes the following daily amounts. For younger age groups, the total may include naps.

CDC daily sleep recommendations
Age groupRecommended sleep
4–12 months12–16 hours, including naps
1–2 years11–14 hours, including naps
3–5 years10–13 hours, including naps
6–12 years9–12 hours
13–17 years8–10 hours
18–60 years7 or more hours
61–64 years7–9 hours
65+ years7–8 hours

These are population-level recommendations. Health, pregnancy, recovery from sleep loss, and other circumstances can change an individual's needs.

The formula, with a worked example

Suppose you want to wake at 7:00 AM, allow 15 minutes to fall asleep, and use the default 90-minute cycle estimate. A five-cycle schedule contains 450 minutes of sleep, so the suggested time to get into bed is 11:15 PM the previous evening.

Sleep timecycles × cycle length
Bedtime modebedtime + latency + sleep time
Wake modewake time − sleep time − latency

The calculator handles midnight automatically. The three result cards let you compare total sleep duration instead of focusing on a single supposedly perfect minute.

Sleep cycles are not all exactly 90 minutes

During the night, sleep moves through non-REM and REM phases. The NIH's National Heart, Lung, and Blood Institute says a cycle restarts about every 80 to 100 minutes, and people usually have four to six cycles per night. Cycle timing changes through the night and differs between people.

Treat the result as a schedule, not a diagnosis

A cycle estimate can make bedtime planning easier, but it cannot measure your actual sleep stages. Only a sleep study can classify stages using signals such as brain activity and eye movements.

Build a steadier sleep schedule

Duration is only one part of healthy sleep. Consistent bed and wake times, a comfortable sleep environment, daytime light, physical activity, and limiting bright light near bedtime can all support a routine. If one calculated option gives you too little sleep for your age, choose an earlier bedtime or later wake time rather than relying on cycle timing.

Speak with a healthcare professional if you regularly struggle to fall asleep, wake often, feel very sleepy during the day, snore loudly, or have concerns about your sleep. This page does not diagnose insomnia, sleep apnea, or another condition.

Frequently asked questions about sleep timing

Should I always choose five sleep cycles?

No. Five 90-minute cycles equal 7.5 hours, but your real cycles may be shorter or longer and your sleep need depends on age and circumstances. Compare the total duration with the recommendation for your age.

Does the result include time to fall asleep?

Yes. The selected latency is included separately from the estimated sleep duration. Adjust it to reflect your usual experience.

Why does the bedtime appear on the previous day?

When a morning wake time is selected, most suitable bedtimes fall on the previous evening. The calculator labels the day relationship to avoid ambiguity around midnight.

Will waking at the end of a cycle guarantee I feel refreshed?

No. Sleep quality, total duration, circadian timing, interruptions, health, and individual variation all matter. Cycle timing is only an estimate.

What if I work nights or sleep during the day?

The arithmetic still works for any clock time. Day labels are relative to the entered time, but the tool does not account for circadian disruption or shift-work health considerations.

Can this calculator diagnose a sleep disorder?

No. It only performs time arithmetic. Persistent sleep problems, breathing pauses, loud snoring, or excessive daytime sleepiness warrant professional advice.