Time & Clock · Formula v1.0

Sleep Calculator

Find bedtimes that let you wake at the end of a sleep cycle, from your wake-up time.

LAST REVIEWEDSeptember 24, 2026Inputs stay in your browser
Live calculation

Enter your numbers

Calculated result
Bedtime for 6 cycles9:45 PM
Bedtime for 5 cycles11:15 PM
Bedtime for 4 cycles12:45 AM
Sensitivity check

What if wake-up time changes?

-10% input9:15 PM
0% input9:45 PM
+10% input10:15 PM

Answer first

What this calculator tells you

Find bedtimes that let you wake at the end of a sleep cycle, from your wake-up time. Pick a bedtime that fits whole sleep cycles, then adjust to how you actually feel in the morning. Formula: Bedtime = wake-up time − (sleep cycles × cycle length) − minutes to fall asleep. At the worked-example inputs, the bedtime for 6 cycles is 9:45 PM. Holding every other input steady, moving wake-up time from 6:00 AM to 8:00 AM moves the result from 8:45 PM to 10:45 PM.

FreeNo sign-upInputs stay in-browserCSV exportReviewed September 24, 2026

Transparent method

The formula

Bedtime = wake-up time − (sleep cycles × cycle length) − minutes to fall asleep

Pick a bedtime that fits whole sleep cycles, then adjust to how you actually feel in the morning.

Worked example

Bedtime for 6 cycles9:45 PM
Bedtime for 5 cycles11:15 PM
Bedtime for 4 cycles12:45 AM

Example inputs

Wake-up time7:00 AM
Minutes to fall asleep15
Sleep cycle length (minutes)90

How to interpret the result

Sleep runs in cycles of roughly 90 minutes, and waking at the end of one tends to feel easier than waking in the middle of deep sleep. The page counts backward from your wake-up time by whole cycles, then subtracts the minutes it takes to drift off. Waking at 7:00 with a 15 minute wind-down gives bedtimes of 9:45 PM for six cycles, 11:15 PM for five and 12:45 AM for four.

Interpretation boundary

This is a scheduling aid built on an average cycle length, not a measure of how much sleep you need. Needs differ between people and change with age and health. Persistent trouble sleeping or staying awake is a reason to talk to a clinician.

Before you rely on it

What to check

Judge the result by how you feel after a week, not by the clock alone. Cycle length varies from person to person and from night to night.

The common error

Where people go wrong with sleep calculator

Choosing the fewest cycles to fit a late night. Four cycles is six hours, and most adults need more than that on a regular basis.

Sensitivity evidence

How wake-up time changes the bedtime for 6 cycles

Holding every other input at the worked-example value, moving wake-up time from 6:00 AM to 8:00 AM moves the bedtime for 6 cycles from 8:45 PM to 10:45 PM: a spread of 120 minutes.

Sleep Calculator: bedtime for 6 cycles and bedtime for 5 cycles and bedtime for 4 cycles across a range of wake-up time, every other input held at the worked-example value.
Wake-up timeBedtime for 6 cyclesBedtime for 5 cyclesBedtime for 4 cycles
6:00 AM8:45 PM10:15 PM11:45 PM
6:30 AM9:15 PM10:45 PM12:15 AM
7:00 AMworked example9:45 PM11:15 PM12:45 AM
7:30 AM10:15 PM11:45 PM1:15 AM
8:00 AM10:45 PM12:15 AM1:45 AM

Two variables at once

Bedtime for 6 cycles by wake-up time and minutes to fall asleep

Across the grid the bedtime for 6 cycles runs from 8:42 PM to 10:48 PM. Moving wake-up time from 6:00 AM to 8:00 AM shifts it by 2:00 AM at the middle column, and moving minutes to fall asleep from 12 to 18 shifts it by 12:06 AM at the middle row, so wake-up time is the bigger lever here.

Sleep Calculator: bedtime for 6 cycles at each combination of wake-up time (rows) and minutes to fall asleep (columns).
Wake-up time \ Minutes to fall asleep121518
6:00 AM8:48 PM8:45 PM8:42 PM
6:30 AM9:18 PM9:15 PM9:12 PM
7:00 AM9:48 PM9:45 PM9:42 PM
7:30 AM10:18 PM10:15 PM10:12 PM
8:00 AM10:48 PM10:45 PM10:42 PM

The highlighted cell is the worked example: 9:45 PM.

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the sleep calculator.
InputValue usedWhat it means
Wake-up time7:00 AMThe time you need to be awake.
Minutes to fall asleep15Most people take 10 to 20 minutes.
Sleep cycle length (minutes)90About 90 minutes on average. The NHLBI describes cycles of 80 to 100 minutes.
Bedtime for 6 cycles9:45 PM
Bedtime for 5 cycles11:15 PM
Bedtime for 4 cycles12:45 AM

Inputs, definitions and assumptions

Wake-up time

The time you need to be awake. The prefilled worked-example value is 7:00 AM.

Minutes to fall asleep

Most people take 10 to 20 minutes. The prefilled worked-example value is 15.

Sleep cycle length (minutes)

About 90 minutes on average. The NHLBI describes cycles of 80 to 100 minutes. The prefilled worked-example value is 90.

How to use this calculator

  1. 1Verify the inputs. Gather wake-up time, minutes to fall asleep and sleep cycle length (minutes) from your own documents; the prefilled values are examples.
  2. 2Save a baseline. The worked example puts the bedtime for 6 cycles at 9:45 PM. Store your own version of it as Scenario A.
  3. 3Test one change. Change one assumption at a time so the driver stays visible.
  4. 4Check the boundary. Read the interpretation boundary above before acting on the result.

People also ask

Frequently asked questions

How do you calculate sleep?

Bedtime = wake-up time − (sleep cycles × cycle length) − minutes to fall asleep. At the worked-example inputs the bedtime for 6 cycles is 9:45 PM.

What does the sleep result mean?

Pick a bedtime that fits whole sleep cycles, then adjust to how you actually feel in the morning.

How much does wake-up time change the bedtime for 6 cycles?

Holding every other input at the worked-example value, moving wake-up time from 6:00 AM to 8:00 AM moves the bedtime for 6 cycles from 8:45 PM to 10:45 PM, a spread of 120 minutes.

What are the limits of this sleep calculator?

This is a scheduling aid built on an average cycle length, not a measure of how much sleep you need. Needs differ between people and change with age and health. Persistent trouble sleeping or staying awake is a reason to talk to a clinician. The tables on this page test wake-up time only from 6:00 AM to 8:00 AM; a value outside that range is not tabulated here.

Does the calculator account for daylight saving time?

Only where a field asks for it. The time zone calculator has a daylight saving setting for each zone. The other tools work from the clock times you enter, so enter the local clock reading as it appears on the day.

What happens when a time range crosses midnight?

The tools add 24 hours when the end time is earlier than the start, so 10:00 PM to 6:00 AM is eight hours. Two identical times read as zero, not as a full day.

Why do payroll systems use decimal hours?

Multiplying a rate by 7.75 is simple, while multiplying by 7 hours 45 minutes is not. Decimal hours turn a clock duration into a plain number that a spreadsheet can total.

Is 12 AM midnight or noon?

Midnight. 12 AM is the start of the day, 00:00 on the 24-hour clock, and 12 PM is noon, 12:00. Writing 12:00 midnight or 12:00 noon avoids doubt in a schedule.

How is a day counted when the result passes midnight?

The clock reading wraps back to the start of the day, and a separate count says how many days later it falls. A time of 2:45 AM with one day later is the next morning.

All time & clock questions answered

Sources and evidence

Free Calculators Online is independent and is not affiliated with or endorsed by the source organizations. Educational estimates only.

Background reading

Guides that use this calculator

Definitions

Terms used on this page

Heron's formula : glossary term
A method for calculating a triangle's area from its three side lengths alone, without needing a separate height measurement. The method computes the semi-perimeter, half the sum of the three sides, then combines it with each side under a square root. Unlike the base-times-height formula, it applies to any triangle. Right, obtuse or scalene. The only condition is that the three lengths can actually form one.