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 optimal bedtime or wake-up time based on 90-minute sleep cycles. Wake up refreshed by timing your sleep to complete full cycles.

What is the Sleep Calculator?

The Sleep Calculator helps you find the optimal times to go to bed or wake up by working with your body's natural sleep cycles. Each complete sleep cycle lasts approximately 90 minutes and includes all stages of sleep, from light sleep through deep sleep and REM (Rapid Eye Movement) sleep.

Why timing matters: Waking up in the middle of a sleep cycle can leave you feeling groggy and tired, even if you've slept for a long time. By timing your sleep to complete full cycles, you can wake up at the end of a cycle when sleep is lightest, helping you feel more refreshed and alert.

This calculator supports two modes: find the best bedtimes when you know what time you need to wake up, or find the best wake-up times when you know what time you're going to bed. It also accounts for the time it takes you to fall asleep, so the calculations are more accurate to your personal habits.

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 to find the best bedtime. Select "Go to bed at" if you know when you're going to bed and want to find the best wake-up time.

2

Set Your Time

Use the time picker to set your target wake-up time or bedtime. You can use the up and down arrows to adjust hours and minutes, or type directly into the fields. Quick preset buttons let you add 30 minutes or 1 hour to the current time.

3

Adjust Fall Asleep Time

Set how many minutes it typically takes you to fall asleep after going to bed. The default is 15 minutes. This ensures the calculations account for the time you spend lying awake.

4

View Your Results

The calculator shows four options for 3, 4, 5, and 6 complete sleep cycles. The 6-cycle option (approximately 9 hours of sleep) is highlighted as the recommended choice for optimal rest.

Understanding Your Results

Time Cards

Each card shows a suggested time along with the number of sleep cycles and total sleep duration.

Recommended Option

The 6-cycle option provides the longest sleep duration and is generally best for full recovery.

Click to Copy

Click any time card to copy the time to your clipboard for easy use with alarms or reminders.

Features

Dual Mode Calculation

Switch between two modes with a single click. Use Wake up at mode when you know your alarm time and need to figure out when to go to bed. Use Go to bed at mode when you know your bedtime and want to set an alarm that wakes you at the end of a sleep cycle.

90-Minute Sleep Cycles

The calculator uses the scientifically established 90-minute sleep cycle duration. Each cycle takes you through all stages of sleep, including light sleep, deep sleep, and REM sleep.

  • Complete progression through all sleep stages
  • Wake up feeling refreshed, not groggy

Adjustable Fall Asleep Time

Most people don't fall asleep the moment they lie down. The calculator lets you set how many minutes it typically takes you to fall asleep, from 0 to 60 minutes.

  • Personalized to your sleep habits
  • More accurate cycle calculations

Quick Time Presets

Quickly adjust the time with preset buttons that add 30 minutes or 1 hour to the current selection. This is useful when planning ahead or making quick adjustments without manually entering each digit.

Real-Time Calculation

Results update instantly as you change any setting. Adjust the time or fall asleep duration and see the new options immediately, without needing to click a calculate button.

Sleep Duration Display

Each result shows both the number of sleep cycles and the total sleep duration in hours. This helps you understand how much actual sleep you'll get with each option, making it easier to choose based on your schedule and needs.

Copy to Clipboard

Click any result card to copy the time to your clipboard. This makes it easy to paste the time into your phone's alarm app or calendar.

Frequently Asked Questions

Why are sleep cycles 90 minutes?

A complete sleep cycle typically lasts about 90 minutes, during which you progress through different stages of sleep. This includes light sleep (stages 1-2), deep sleep (stage 3), and REM sleep. While the exact duration varies slightly from person to person, 90 minutes is the average used in sleep research and provides a good approximation for most adults.

How many sleep cycles do I need?

Most adults need 5 to 6 complete sleep cycles per night, which translates to 7.5 to 9 hours of actual sleep. Younger adults and teenagers may need more, while older adults sometimes need slightly less. The calculator provides options from 3 to 6 cycles so you can choose based on your schedule and personal needs.

Recommended: 6 cycles 9 hours
Minimum: 5 cycles 7.5 hours

Why do I feel tired even after sleeping enough hours?

If you wake up in the middle of a sleep cycle, especially during deep sleep, you may feel groggy and disoriented. This is called sleep inertia. By timing your alarm to the end of a sleep cycle, you wake during lighter sleep stages and feel more alert. That's exactly what this calculator helps you achieve.

Waking Mid-Cycle

Sleep Inertia

  • Groggy and disoriented
  • Difficulty concentrating
  • Reduced alertness
Waking at Cycle End

Refreshed Wake-Up

  • Alert and energized
  • Clear mental focus
  • Ready to start the day

What is the fall asleep time setting?

The fall asleep time is the number of minutes between when you get into bed and when you actually fall asleep. This varies from person to person. By entering your typical fall asleep time, the calculator adjusts the bedtime recommendations so your sleep cycles start from when you fall asleep, not when you lie down.

Typical range: Most people take between 10-20 minutes to fall asleep. If you consistently take longer than 30 minutes, you may want to consult a sleep specialist.

Is the calculator accurate for everyone?

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

  • Works for most adults using the 90-minute average
  • Customizable fall asleep time for personalization
  • Fine-tune by adjusting ±15-30 minutes if needed

Is my data stored or shared?

No. All calculations happen entirely in your browser. The times you enter and the results are never sent to any server or stored anywhere.

Privacy guaranteed: Your sleep schedule and preferences remain completely private on your device.
:
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 specific time
Adjust the fall asleep time based on how long it usually takes you to fall asleep
Aim for 5-6 sleep cycles (7.5-9 hours) for optimal rest
All calculations are done locally in your browser
Want to learn more? Read documentation →
1/6
Start typing to search...
Searching...
No results found
Try searching with different keywords