UnitConv

Sleep Calculator

Find the best time to sleep or wake up based on 90-minute sleep cycles

Best times to go to bed

Fall asleep at these times to wake up rested

Recommended
09:46 PM
6 cycles
9h sleep
Recommended
11:16 PM
5 cycles
7h 30m sleep
12:46 AM
4 cycles
6h sleep

Includes about 14 minutes to fall asleep.

The 90-minute sleep cycle

A night of sleep runs through repeating cycles of about 90 minutes. Each cycle moves from light sleep into deep sleep and then REM. Waking at the end of a cycle, rather than in the middle of deep sleep, leaves you feeling far more refreshed.

Light sleep
Drifting off; easy to wake. Heart rate and breathing slow down.
Deep sleep
Physical recovery; hard to wake. Tissue repair and growth happen here.
REM sleep
Dreaming and memory; the brain is highly active while the body rests.

What is a sleep calculator?

A sleep calculator works out the best times to fall asleep or wake up so that your alarm lines up with the natural rhythm of your sleep cycles. Sleep is not uniform: it moves through repeating cycles of about 90 minutes, each running from light sleep into deep sleep and then REM. Waking at the end of a cycle, when sleep is lightest, feels much easier than being pulled out of deep sleep — which is why two people who both slept seven hours can feel completely different in the morning. Enter the time you want to wake up (or the time you plan to go to bed) and the calculator lists wake-up or bedtime options built from 4, 5 and 6 complete cycles, with the most restorative 7.5- and 9-hour options highlighted.

How to use it

1. Choose a mode: "I want to wake up at" if you have a fixed alarm time, or "I'm going to bed at" if you want to know when to set the alarm. 2. Set the time, or tap "Now" to use the current time. The calculator instantly lists the suggested times for 4, 5 and 6 sleep cycles, each labelled with the total sleep it gives. Aim for one of the highlighted recommended options (5 or 6 cycles) when you can, and use the 4-cycle option only for a short night.

How it works: sleep cycles and onset time

Sleep runs through cycles of roughly 90 minutes. Within each cycle the brain passes through light NREM sleep, deeper NREM sleep used for physical recovery, and REM sleep, where most dreaming and memory consolidation happen. Across a full night the proportion of deep sleep falls and REM grows, so later cycles feel lighter. The calculator also adds a sleep-onset latency of about 14 minutes — the average time it takes to actually fall asleep after getting into bed. Wake time = bedtime + 14 min + (number of cycles × 90 min) Bedtime = wake time − (number of cycles × 90 min) − 14 min For example, going to bed at 22:00 gives wake-up options at 05:44 (5 cycles, 7.5 hours) and 07:14 (6 cycles, 9 hours). Times wrap correctly past midnight.

Reading your results

Each card shows a suggested time, the number of completed 90-minute cycles, and the total time asleep. The highlighted cards (5 and 6 cycles, 7.5 and 9 hours) match the amount of sleep recommended for most adults. The 4-cycle option (6 hours) is a fallback for nights when you can't get a full rest. Because real cycles vary from person to person and night to night, treat the times as a guide: a few minutes either way still lets you wake near the light end of a cycle, which is the whole point.

Frequently asked questions

How many hours of sleep do I actually need?

Most adults need 7 to 9 hours, which is about 5 to 6 full sleep cycles. Teenagers and children need more. Consistently getting fewer than 6 hours is linked to poorer health and concentration.

Why do I wake up tired even after 8 hours?

If your alarm interrupts deep sleep you wake groggy regardless of total hours. Aligning your wake-up with the end of a 90-minute cycle — what this calculator does — usually helps you feel more refreshed.

How long should it take to fall asleep?

Falling asleep within about 10 to 20 minutes is typical; this calculator assumes roughly 14 minutes. Regularly taking much longer, or falling asleep the instant you lie down, can be a sign of a sleep problem worth discussing with a doctor.

Is the 90-minute cycle the same for everyone?

No. Ninety minutes is an average; individual cycles range from about 70 to 120 minutes and shift through the night and with age. The calculator uses the average, so the suggested times are a practical starting point rather than an exact prescription.

This sleep calculator is for general informational and educational purposes only and is not medical advice. Sleep cycle lengths vary between people and nights. If you have ongoing sleep problems, excessive daytime sleepiness, or a suspected sleep disorder, please consult a qualified healthcare professional.