Sleep Cycle Calculator
Calculate how many complete 90-minute sleep cycles fit into your available sleep time.
Enter your values and click Calculate
Each sleep cycle lasts approximately 90 minutes and includes both light, deep, and REM sleep stages. Waking up at the end of a cycle — rather than mid-cycle during deep sleep — dramatically reduces grogginess and helps you feel more refreshed. Enter your available sleep time and your typical fall-asleep latency to find out how many complete 90-minute cycles fit into your night, how many minutes of sleep those cycles cover, and how many leftover minutes remain. Use this information to fine-tune your bedtime or alarm so you wake at a natural cycle boundary rather than being jolted out of deep sleep. Most adults benefit from five to six complete cycles per night for optimal cognitive function and physical recovery. If the leftover minutes shown are large — say 60 minutes or more — consider adjusting your available sleep time by a small amount to fit an additional complete cycle and make better use of the time you have available.
How It Works
The calculator first converts your available sleep time from hours to minutes, then subtracts your fall-asleep latency (the time it takes you to actually drift off after getting into bed) to determine your true sleeping time. That net sleep time is divided by 90 — the average duration of one complete sleep cycle — and the result is rounded down using the floor function to ensure only full, complete cycles are counted. Any remaining minutes that do not fill another complete cycle are shown separately as leftover non-cycle sleep. For example, 8 hours in bed minus 14 minutes of fall-asleep time gives 466 minutes of true sleep; 466 ÷ 90 = 5.17, which floors to 5 complete cycles (450 minutes), leaving 16 leftover minutes. Adjusting your available sleep time up or down by small amounts can sometimes allow one extra complete cycle to fit.