Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Sleep Calculator

Sleep Calculator

Find your best bedtime or wake-up time based on 90-minute sleep cycles, so you wake at the end of a cycle feeling refreshed instead of groggy.

Sleep Calculator for Better Wake-Up Times

The Sleep Calculator finds the best times to go to bed or wake up by working with your body's natural sleep cycles. Each full cycle lasts about 90 minutes and runs through every stage of sleep, from light sleep through deep sleep and REM (Rapid Eye Movement) sleep.

Waking up in the middle of a cycle can leave you groggy even after a long night, while waking at the end of a cycle — when sleep is lightest — helps you feel rested and alert. Set a target time, and the calculator works the cycles backward or forward to give you smarter sleep and wake times.

It runs in two modes: pick Wake up at when you know your alarm time and want the best bedtimes, or Go to bed at when you know your bedtime and want the best wake-up times. It also factors in how long you take to fall asleep, so the results fit your own habits.

Private by design: every calculation happens in your browser. The times you enter and the results are never uploaded to a server or stored anywhere.

How to Use the Sleep Calculator

1

Choose your mode

Select Wake up at if you know when you need to wake up and want the best bedtime. Select Go to bed at if you know your bedtime and want the best wake-up time.

2

Set your time

Type the hour and minute into the time fields and switch AM or PM. Tap a preset button for a common time, or hit Now to load the current time instantly.

3

Adjust fall-asleep time

Set how many minutes it usually takes you to drift off, from 0 to 60. The default is 15 minutes, so the cycles start counting from when you actually fall asleep — not when you lie down.

4

Read your results

The calculator shows four options for 3, 4, 5, and 6 complete cycles, each labelled Ideal, Good, Minimum, or Short so you can pick the time that fits your schedule.

Features

Dual Mode Calculation

Switch with one tap. Use Wake up at to find your bedtime from an alarm time, or Go to bed at to find a wake time from your bedtime.

90-Minute Sleep Cycles

Built on the established 90-minute cycle covering light, deep, and REM sleep, so each suggested time lands at the end of a complete cycle.

Adjustable Fall-Asleep Time

Set how long you take to nod off, from 0 to 60 minutes, so cycles begin when you truly fall asleep rather than when you get into bed.

Quick Time Presets

Jump to common times with one-tap preset buttons, or hit Now to load the current time and plan around it immediately.

Real-Time Calculation

Results refresh instantly as you change the time, mode, or fall-asleep minutes — no calculate button to press.

Sleep Duration Display

Every option shows both the number of cycles and the total hours of sleep, so you can see exactly how much rest each choice gives you.

Quality Badges

Each result is tagged Ideal, Good, Minimum, or Short to highlight which times give the most restorative sleep at a glance.

Runs Entirely in Your Browser

No account, no install, nothing uploaded. Open the page and every calculation stays on your device.

Frequently Asked Questions

How long is one sleep cycle?

A complete sleep cycle lasts about 90 minutes, moving through light sleep (stages 1–2), deep sleep (stage 3), and REM sleep. The exact length varies a little from person to person, but 90 minutes is the average used in sleep research and the figure this calculator is built on.

How many sleep cycles do I need per night?

Most adults do best with 5 to 6 complete cycles, which works out to roughly 7.5 to 9 hours of actual sleep. Teenagers and younger adults often need more, while some older adults need slightly less. The calculator offers 3 to 6 cycles so you can choose based on your schedule.

Why do I feel groggy when I wake mid-cycle?

Waking in the middle of a cycle, especially during deep sleep, leaves you disoriented and heavy — an effect called sleep inertia. Timing your alarm to the end of a cycle means you wake during lighter sleep and feel more alert, which is exactly what this calculator helps you do.

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

Choose Wake up at mode, set the time to 6:00 AM, and the calculator instantly lists bedtimes that complete 3, 4, 5, or 6 full cycles. The 6-cycle option (about 9 hours of sleep) is tagged Ideal — adjust the fall-asleep minutes to make the suggestion match your own routine.

What does the fall-asleep time setting do?

It is the number of minutes between getting into bed and actually falling asleep, and it differs for everyone. Entering your typical value shifts the recommendations so the cycles start from when you fall asleep rather than when you lie down, making the times more accurate for you.

Is the calculator accurate for everyone?

Cycle length varies slightly between people and can change with age, health, and sleep quality. The 90-minute cycle is a well-established average that works for most adults. If you still feel groggy at the suggested times, try adjusting the fall-asleep setting or shifting your alarm by 15 to 30 minutes.

Is my data stored or shared?

No. Every calculation happens entirely in your browser. The times you enter and the results are never sent to any server or saved anywhere.

:
minutes

Go to bed at one of these times:

Waking up at the end of a sleep cycle helps you feel more refreshed and alert.

Select Wake up at to find the best bedtimes for a target wake-up time
Select Go to bed at to find the best wake-up times if you go to bed at a set time
Adjust the fall-asleep time to match how long you usually take to drift off
Aim for 5-6 sleep cycles (7.5-9 hours) for the most restorative rest
Look for the Ideal badge to spot the option with the most complete sleep
All calculations run locally in your browser
Want to learn more? Read documentation →
1/7
Start typing to search...
Searching...
No results found
Try searching with different keywords