Skip to content
Free Calculator logoFree Calculator

Sleep Calculator

Estimate sleep duration and cycle times.

What time should I go to bed?

Bedtimes are worked back from your wake-up time in whole sleep cycles, plus the time you say it takes you to fall asleep.

Formula: Estimated sleep = wake time − bedtime (crossing midnight when needed) − sleep latency − awake time. Cycle scenarios use 90 minutes per cycle.

Read the guide: how to calculate bmi

Press Calculate, or Enter in any field.

10:30 PM to 7:00 AM

With 15 minutes to fall asleep, estimated sleep is 8 hours 15 minutes.

Estimated sleep duration

8 hr 15 min

Time in bed
8 hr 30 min
Approximate 90-minute cycles
5.5

What-if comparison

6 cycles from bedtime
7:45 AM
5 cycles from bedtime
6:15 AM
4 cycles from bedtime
4:45 AM

Sleep cycles vary between people and nights; these times are estimates, not medical advice.

What this calculator does

Compare bedtime and wake time across midnight, accounting for sleep latency and awake time.

Use it to turn Bedtime, Wake time, Time to fall asleep, Awake during the night into a checked result you can compare, copy, or rerun with different assumptions.

The page shows the formula, a numeric worked example, and the assumptions that affect this everyday calculation.

Inputs and what they mean

Bedtime
— time value.
Wake time
— time value.
Time to fall asleep
— number value.
Awake during the night
— number value.

How to use it

  1. Enter the requested values.
  2. Adjust optional assumptions for your situation.
  3. Review the result and detailed breakdown.

Formula

Estimated sleep = wake time − bedtime (crossing midnight when needed) − sleep latency − awake time. Cycle scenarios use 90 minutes per cycle.

Inputs used: Bedtime, Wake time, Time to fall asleep, Awake during the night.

Edge handling: Bedtime is required.; Bedtime must use a valid clock time.; Wake time is required.; Wake time must use a valid clock time.; Time to fall asleep is required..

Worked example

10:30 PM to 7:00 AM

  1. Start with Bedtime: 22:30, Wake time: 07:00, Time to fall asleep: 15, Awake during the night: 0.
  2. Apply the method: Estimated sleep = wake time − bedtime (crossing midnight when needed) − sleep latency − awake time. Cycle scenarios use 90 minutes per cycle.
  3. With 15 minutes to fall asleep, estimated sleep is 8 hours 15 minutes.

Reading the result

The headline figure is the main answer. Any breakdown underneath shows the parts that make it up, so you can check the working and see what changes when you adjust an input.

Limitations and assumptions

  • Inputs outside the supported range are rejected rather than forced into a result.
  • The result depends on the values you enter for this sleep calculator; it does not supply missing rates, rules, prices, dates, or assumptions for you.

Common questions

What time should I go to bed?

Bedtimes are worked back from your wake-up time in whole sleep cycles, plus the time you say it takes you to fall asleep. Check the formula, example, and limitations on this page before using the result for a real everyday decision.

Does bedtime cross midnight?

Yes. A wake time earlier than bedtime is treated as the next day.

Are sleep cycles always 90 minutes?

No. Ninety minutes is a planning approximation; real cycles vary.

How do I use the Sleep Calculator?

Enter the required values for Bedtime, Wake time, Time to fall asleep, Awake during the night. The calculator applies the formula on this page and shows the main result with any supporting breakdown so you can check the arithmetic.

What formula does the Sleep Calculator use?

Estimated sleep = wake time − bedtime (crossing midnight when needed) − sleep latency − awake time. Cycle scenarios use 90 minutes per cycle. The visible formula section above lists the calculation path and the edge cases the page handles, so the result can be checked without relying on the form alone.

Can the Sleep Calculator be used for exact decisions?

Use it as a calculation aid, not as a substitute for checking the underlying rule, contract, policy, or professional advice that applies to your situation. When a result depends on local rules, personal details, prices, or dates, enter those values yourself and confirm them before acting.

Cite this page

APA

Free Calculator. (n.d.). Sleep Calculator. https://freecalculator.tech/tools/sleep-calculator

MLA

"Sleep Calculator." Free Calculator, https://freecalculator.tech/tools/sleep-calculator.

Link

Sleep Calculator — Free Calculator, https://freecalculator.tech/tools/sleep-calculator

Related tools

Calculate exact age in years, months, days, and total elapsed days.

Everyday

Find the calendar and total-day difference between two dates.

Everyday

Calculate elapsed hours and minutes between two times, including overnight.

Everyday

Count working days between two dates.

Everyday

Total hours across multiple work shifts.

Everyday

See live time remaining or elapsed.

Everyday

People also use