# Sleep Calculator

> Sleep calculator: find the best bedtime for your alarm, or the best time to wake up if you go to bed now, based on 90-minute sleep cycles.

Interactive calculator: https://calculatorsplatform.com/c/sleep/
Category: Health & Fitness Calculators
Calculations run in the browser; inputs can be prefilled through URL parameters and shared with the Share button.

## Sleep cycles in a nutshell

Sleep is not one uniform state. Through the night you move through repeating **cycles** of light sleep (stages N1 and N2), deep slow-wave sleep (N3) and REM sleep, when most vivid dreaming happens. A full cycle lasts roughly **90 minutes** on average, although individual cycles range from about 80 to 110 minutes. Early cycles contain more deep sleep; later ones contain more REM.

Waking from deep sleep often leaves you groggy and disoriented, a state called sleep inertia. Waking near the end of a cycle, when sleep is lighter, usually feels easier. This calculator lines up your bedtime or alarm with whole cycles to make that more likely.

## How the times are calculated

The calculator adds the time it takes you to fall asleep (default **15 minutes**; most healthy adults need 10–20) to a whole number of 90-minute cycles:

> Bedtime = wake-up time − (cycles × 90 min) − time to fall asleep

> Wake-up time = bedtime + time to fall asleep + (cycles × 90 min)

Options with **5 or 6 cycles** (7.5 or 9 hours of sleep) are highlighted as recommended because they meet the advice from the American Academy of Sleep Medicine and the Sleep Research Society that adults sleep **7 or more hours** a night. Four cycles (6 hours) is shown as an occasional option; three cycles is too short for regular use. In "Sleep now" mode the calculator uses your device's current time.

## Worked example

Your alarm is set for **7:00 AM** and you usually fall asleep in 15 minutes:

| Cycles | Sleep | Go to bed at |
|---|---|---|
| 6 | 9 h | 9:45 PM |
| 5 | 7 h 30 min | 11:15 PM |
| 4 | 6 h | 12:45 AM |
| 3 | 4 h 30 min | 2:15 AM |

For 5 cycles: 7:00 AM − 7 h 30 min = 11:30 PM, minus 15 minutes to fall asleep = **11:15 PM**. Going the other way, if you go to bed at 11:00 PM, the suggested alarms are 6:45 AM (5 cycles) and 8:15 AM (6 cycles).

## Tips for better sleep

Cycle timing helps most when the basics are in place. Keep the same wake-up time every day, including weekends; get daylight in the morning; keep your bedroom dark, quiet and cool; and avoid caffeine in the late afternoon and alcohol close to bedtime, which fragments the second half of the night. If you regularly take longer than 30 minutes to fall asleep, wake often, snore loudly or feel sleepy during the day despite enough time in bed, talk to a doctor — conditions such as insomnia and sleep apnea are common and treatable.

## Frequently asked questions

### How long is a sleep cycle?

About 90 minutes on average, but anywhere from roughly 80 to 110 minutes, and cycles vary through the night. The suggested times are a guide, not an exact prediction.

### How many hours of sleep do adults need?

At least 7 hours a night for adults aged 18–60, according to the American Academy of Sleep Medicine. Teenagers and children need more.

### Is 6 hours of sleep enough if it is 4 full cycles?

Waking at the end of a cycle may feel easier, but 6 hours is still less than adults need. Regularly short sleep is linked to poorer health, mood and concentration.

### Why does the calculator add 15 minutes?

Most people do not fall asleep the moment they lie down. Change the 'time to fall asleep' field to match how long it usually takes you.

## Sources

- [AASM/SRS — Recommended amount of sleep for a healthy adult (J Clin Sleep Med, 2015)](https://jcsm.aasm.org/doi/10.5664/jcsm.4758)
- [NIH NINDS — Brain basics: understanding sleep](https://www.ninds.nih.gov/health-information/public-education/brain-basics/brain-basics-understanding-sleep)

*Disclaimer: This calculator is for general information only and is not a substitute for professional medical advice, diagnosis or treatment. Formulas give population-based estimates; consult a doctor or registered dietitian about your own health.*

## Related calculators

- [Hours Calculator](https://calculatorsplatform.com/c/hours/index.md)
- [Time Calculator](https://calculatorsplatform.com/c/time-add/index.md)
- [Military Time Converter](https://calculatorsplatform.com/c/military-time/index.md)
- [Age Calculator](https://calculatorsplatform.com/c/age/index.md)
- [BMI Calculator](https://calculatorsplatform.com/c/bmi/index.md)
- [Countdown Calculator](https://calculatorsplatform.com/c/countdown/index.md)

---
Source: CalculatorsPlatform (https://calculatorsplatform.com/c/sleep/). Last reviewed 2026-11-25. Please link to the calculator page when citing.
