Toolzent

Sleep Calculator

Free sleep calculator that finds the best bedtime or wake-up time using 90-minute sleep cycles, so you wake at the end of a cycle feeling refreshed.

Updated 2026-06-09 · Free · No sign-up · Runs privately in your browser

Each sleep cycle is ~90 minutes; waking at the end of a cycle (rather than mid-cycle) helps you feel more rested. 5–6 cycles (7.5–9 h) suits most adults. Adjust the cycle length and fall-asleep time to match your own body.

What is a sleep calculator?

A sleep calculator tells you the best time to go to bed or wake up so that your alarm lands at the end of a 90-minute sleep cycle. Instead of choosing a random bedtime, you give it one fixed time — either when you need to wake up or when you plan to fall asleep — and it works out the matching times that should leave you feeling refreshed rather than groggy.

It is built around a simple idea: sleep is not one long block but a series of repeating cycles. Waking at the natural end of a cycle, when sleep is lightest, is easier than being jolted awake in the middle of deep sleep. This tool does the cycle counting for you so you do not have to do the arithmetic at midnight.

How does the sleep calculator work?

Sleep happens in roughly 90-minute cycles, and waking at the end of a cycle feels more refreshing than waking mid-cycle. The calculator also allows about 15 minutes to fall asleep (sleep latency), then counts whole cycles to find each candidate time.

The exact method the calculator uses is:

cycle = 90 minutes
bedtime  = wake time − (15 + cycles × 90) minutes
wake time = bedtime + 15 + cycles × 90 minutes

It lists options for 6, 5, 4 and 3 cycles, which correspond to 9, 7.5, 6 and 4.5 hours of actual sleep. The 15 minutes of fall-asleep time is added on top of those hours, so the gap between getting into bed and the alarm is always a little longer than the sleep itself.

The two key terms are simple. A cycle is one full pass through light sleep, deep sleep and REM (about 90 minutes). Sleep latency is the time between lying down and actually drifting off, fixed here at 15 minutes as a typical average.

Examples

Here are worked examples that match the tool’s output exactly.

Example 1 — wake at 7:00 AM

  • 6 cycles: 7:00 AM − (15 + 540) min = 7:00 AM − 9h15m = fall asleep at 9:45 PM (9 hours)
  • 5 cycles: 7:00 AM − (15 + 450) min = 7:00 AM − 7h45m = fall asleep at 11:15 PM (7.5 hours)
  • 4 cycles: 7:00 AM − (15 + 360) min = 7:00 AM − 6h15m = fall asleep at 12:45 AM (6 hours)

Example 2 — go to sleep at 11:00 PM

  • 5 cycles: 11:00 PM + 15 + 450 min = 11:00 PM + 7h45m = wake at 6:45 AM (7.5 hours)
  • 6 cycles: 11:00 PM + 15 + 540 min = 11:00 PM + 9h15m = wake at 8:15 AM (9 hours)

Example 3 — a short night

  • If you must wake at 7:00 AM but get to bed late, 3 cycles gives 7:00 AM − (15 + 270) min = 7:00 AM − 4h45m = fall asleep at 2:15 AM (4.5 hours). It is not ideal, but waking at a cycle’s end still beats a mid-cycle alarm.

Sleep cycle reference table

This table shows the total time from getting into bed to your alarm, including the 15 minutes to fall asleep, for each number of cycles.

CyclesHours of sleepPlus 15 min latencyTotal time in bed
69 h9 h 15 m9 hours 15 minutes
57.5 h7 h 45 m7 hours 45 minutes
46 h6 h 15 m6 hours 15 minutes
34.5 h4 h 45 m4 hours 45 minutes

To use it, pick your target cycle count and subtract the “total time in bed” from your wake-up time, or add it to your bedtime — which is exactly what the tool above does instantly.

When is a sleep calculator useful?

A cycle-based bedtime is handy whenever your wake-up time is fixed or your night is shorter than usual, such as:

  • Setting an alarm for work or school, by choosing a bedtime that ends on a full cycle.
  • Planning an early start for a flight or appointment, so you wake feeling functional.
  • Recovering from a late night, by aiming for the best whole-cycle option you can still fit in.
  • Building a consistent routine, by going to bed at the same cycle-aligned time each night.

For wider health planning you can pair it with the BMI calculator to check body weight, or the water intake calculator for daily hydration.

Tips and common mistakes

A few practical points help you get the most from the result:

  • Get into bed a little early. The 15 minutes is an average; if you usually take longer to drop off, climb in sooner so your real sleep still ends on a cycle.
  • Aim for 5 or 6 cycles most nights. That is 7.5 to 9 hours, the range most adults need. Treat 4 and 3 cycles as fallback options, not a habit.
  • Keep your schedule steady. Going to bed and waking at similar times daily strengthens your body clock more than any single calculated bedtime.
  • Do not chase the exact minute. The times are guidance, not a stopwatch. A few minutes either way will not ruin your sleep.
  • Remember it counts sleep, not screen time. Scrolling in bed pushes your real sleep start later than the bedtime you entered.

Limitations and notes

The 90-minute cycle and 15-minute fall-asleep time are useful averages, but real sleep varies. Cycles can run anywhere from about 70 to 120 minutes and tend to lengthen toward morning, and how fast you fall asleep changes with stress, caffeine, light and age. So the suggested times are a smart starting point rather than a precise measurement of your own cycles.

The tool also cannot measure your sleep — it only does the cycle arithmetic. It does not track sleep stages, sleep quality or any health condition, and getting enough total sleep usually matters more than landing perfectly at a cycle boundary. If you regularly feel unrefreshed, snore heavily, or struggle to fall or stay asleep, that points to factors this calculator cannot see.

Everything here runs privately in your browser. The times you enter are never sent to a server, so nothing about your sleep schedule is stored or shared.

Health note: This sleep calculator is a general planning aid for healthy adults, not medical advice. Persistent insomnia, daytime exhaustion or suspected sleep disorders should be discussed with a qualified healthcare professional.

For more self-tracking tools, try the heart rate calculator or browse the full health & medical category.

Frequently asked questions

How does a sleep calculator work?+

It counts backward or forward in 90-minute sleep cycles and adds 15 minutes to fall asleep, so your alarm lands at the end of a cycle: bedtime = wake time − (15 + cycles × 90) minutes.

What time should I go to sleep to wake up at 7 AM?+

To wake at 7:00 AM, fall asleep around 9:45 PM for 6 cycles (9 hours), 11:15 PM for 5 cycles (7.5 hours) or 12:45 AM for 4 cycles (6 hours).

What is a 90-minute sleep cycle?+

A sleep cycle is one full pass through light sleep, deep sleep and REM, lasting roughly 90 minutes on average. Waking at the end of a cycle tends to feel easier than waking mid-cycle.

Why does the calculator add 15 minutes?+

The 15 minutes is the average time it takes to fall asleep after getting into bed, known as sleep latency. Adding it makes the suggested times line up with when you are actually asleep.

How many sleep cycles do I need?+

Most adults do well with 5 to 6 cycles, which is about 7.5 to 9 hours of sleep. The calculator also lists 4 and 3 cycles for short nights or naps.

When should I wake up if I go to bed at 11 PM?+

Going to sleep at 11:00 PM gives refreshing wake times of 6:45 AM after 5 cycles (7.5 hours) or 8:15 AM after 6 cycles (9 hours).

Is 6 hours of sleep enough?+

Six hours equals 4 full cycles and is below the 7 to 9 hours most adults need. It can work for an occasional short night but is not ideal as a regular routine.