Sleep Calculator

Find your ideal bedtime or wake-up time based on 90-minute sleep cycles. Free sleep calculator so you wake up refreshed, not groggy.

A sleep calculator finds your ideal bedtime or wake-up time based on 90-minute sleep cycles. The average person goes through 4–6 full sleep cycles per night, and waking up in the middle of a cycle — rather than at its natural end — is what causes grogginess, even if you clocked enough hours. This calculator works backward from your desired wake-up time, subtracting the duration of your chosen number of cycles plus an estimated "time to fall asleep" buffer. The science behind it: each sleep cycle lasts roughly 90 minutes and includes light sleep, deep sleep, and REM sleep. Waking at the boundary between cycles feels refreshed; waking mid-cycle (especially from deep sleep) causes sleep inertia. This tool is useful for shift workers, students, parents with newborns, and anyone trying to optimize their sleep schedule. All calculations run in your browser — no sleep data is collected.

schedule

Result

23.25

Breakdown

Sleep Minutes
450
Total Minutes In Bed
465

About Sleep Calculator

What is sleep calculator?

A sleep calculator finds your ideal bedtime or wake-up time based on 90-minute sleep cycles. The average person goes through 4–6 full sleep cycles per night, and waking up in the middle of a cycle — rather than at its natural end — is what causes grogginess, even if you clocked enough hours. This calculator works backward from your desired wake-up time, subtracting the duration of your chosen number of cycles plus an estimated "time to fall asleep" buffer. The science behind it: each sleep cycle lasts roughly 90 minutes and includes light sleep, deep sleep, and REM sleep. Waking at the boundary between cycles feels refreshed; waking mid-cycle (especially from deep sleep) causes sleep inertia. This tool is useful for shift workers, students, parents with newborns, and anyone trying to optimize their sleep schedule. All calculations run in your browser — no sleep data is collected.

How to use this calculator

  1. Enter your desired wake-up hour (24h).
  2. Enter your number of sleep cycles.
  3. Enter your time to fall asleep.
  4. Click the "Calculate" button.
  5. View your result instantly — the main result is displayed prominently at the top with a detailed breakdown below it.

When to use this calculator

  • Finding the best bedtime for a fixed morning wake-up time
  • Planning sleep around shift work or early flights
  • Optimizing sleep for students with irregular schedules
  • Understanding how sleep cycles affect morning alertness
  • Adjusting bedtime after a late night to still wake up at a cycle boundary

How the calculation works

The sleep calculator uses simple time arithmetic with a midnight-wrap check. Total sleep time in minutes = number of cycles × 90. Total time in bed = total sleep minutes + fall-asleep minutes. Bedtime is computed by subtracting total time in bed from the wake-up hour (converted to minutes), with wrap-around handling: if the result would be negative (before midnight), 24 hours (1,440 minutes) is added. For example, waking at 7:00 AM (420 minutes) with 5 cycles (450 minutes sleep) + 15 minutes to fall asleep = 465 minutes total. Bedtime minutes = 420 − 465 = −45, wrapped to 1,440 − 45 = 1,395 minutes, which is 23:15 or 11:15 PM.

Frequently Asked Questions

Why 90-minute sleep cycles?
A full sleep cycle lasts about 90 minutes. Waking at the end of a cycle feels easier than mid-cycle, which is why this calculator works in 90-minute blocks.
How much sleep do adults need?
Most adults need 7-9 hours per night. This calculator targets 5-6 complete cycles (7.5-9 hours) by default.

Related tools