Sleep Calculator

Find the best time to go to bed or wake up from 90-minute sleep cycles, with the time you take to fall asleep included, on a 12-hour or 24-hour clock.

Health & Fitness Runs in your browser · no upload

Reviewed 23 November 2026 · Free · No account needed

ExecutionYour browserInput never leaves your tab
File retentionNoneNothing is stored
AccountNot requiredNo sign-up, no paywall
PriceFreeNo trial, no usage cap on the tool itself

How to use

  1. Choose Wake up at to see bedtimes, or Go to bed at to see wake-up times.
  2. Set the time. In bed mode you can press Use the time now.
  3. Adjust the time you take to fall asleep and the length of a sleep cycle if the defaults of 15 and 90 minutes do not suit you.
  4. Pick a time from the cards. The ones that give 7 to 9 hours of sleep are highlighted.

Example

Input: Wake at 7:00 AM, 15 minutes to fall asleep

Output: Bed at 9:45 PM (9 h), 11:15 PM (7 h 30 min), 12:45 AM (6 h) or 2:15 AM (4 h 30 min)

How it works

A night of sleep is made of cycles of light, deep and dreaming sleep. The tool counts whole cycles forward from your bedtime, or backward from your wake-up time, and adds or takes off the minutes you need to fall asleep. Times wrap past midnight.

Wake-up time = bedtime + time to fall asleep + cycles × cycle length. Bedtime = wake-up time − time to fall asleep − cycles × cycle length. Cycles shown are 3, 4, 5 and 6. Sleep of 7 to 9 hours (420 to 540 minutes) is highlighted.

Another example

Bedtime 11:00 PM, 15 minutes to fall asleep and 90-minute cycles: 5 cycles is 450 minutes, so 11:00 PM + 15 minutes + 7 h 30 min = 6:45 AM. Six cycles gives 8:15 AM. Four cycles gives 5:15 AM, which is only 6 hours of sleep.

Limits and edge cases

  • Sleep cycles last about 90 minutes on average, but they vary between people and through the night. Use the cycle length box to match what suits you.
  • The tool assumes a fixed time to fall asleep. Change that box if you usually take more or less time.
  • It is a planning aid, not a medical device. It cannot diagnose or treat a sleep problem, so see a doctor if you sleep badly for a long time.
  • The tool does not read your clock unless you press Use the time now, and it does not set an alarm.
  • Times past midnight wrap round, so a bedtime of 11:00 PM plus 9 hours of sleep shows the next morning.
  • If you change the cycle length, the highlight follows the real sleep time. With 100-minute cycles, 5 cycles is 8 h 20 min and is highlighted, but 4 cycles is 6 h 40 min and is not.
  • An empty or invalid time shows a prompt instead of times, and cycle lengths outside 70 to 120 minutes are refused.
  • Time to fall asleep can be 0 to 60 minutes.

Method & sources

Counts whole sleep cycles of the length you set (often about 90 minutes) plus the time you take to fall asleep. Real cycles vary from night to night. Adults are advised to get 7 or more hours.

Privacy

Everything is calculated in this browser tab. The numbers you enter are never sent to a server or stored.

About this page

Written and reviewed by Toolnexo on 23 November 2026. The limits above describe the published tool, not an idealised version of it. If a result looks wrong or the page is unclear, email [email protected] with the tool URL and what you entered. Corrections are published here.

Further reading

Guides that use Sleep Calculator

All guides →

Related tools

FAQ

Questions about Sleep Calculator

How does a sleep calculator work?

It counts sleep cycles. Sleep runs in cycles of about 90 minutes, and the calculator works out the times that end a whole number of cycles after you fall asleep, so that you wake at the end of a cycle and not in the middle of one.

How long is a sleep cycle?

About 90 minutes on average, though in practice it ranges from roughly 70 to 120 minutes and changes between people and through the night. Change the cycle length box to try a different value.

How much sleep do I need?

Most adults are advised to get 7 to 9 hours a night. Teenagers and children need more. The cards for 7 to 9 hours are highlighted, but the right amount for you is the one that leaves you rested.

Does waking at the end of a cycle really help?

Some people find it easier to wake from light sleep and feel less groggy. The evidence is mixed, and the total amount of sleep matters more than the exact minute you wake, so treat the times as a helpful guide.

Why does it add 15 minutes?

It is the time most people take to fall asleep. The cycles start counting once you are asleep, not when you get into bed. Change the box if you fall asleep faster or slower.

Is anything uploaded?

No. The times are worked out in your browser and nothing is sent anywhere.