Sleep Calculator
Find the best bedtime or wake time based on 90-minute sleep cycles.
Enter your values and click Calculate
How It Works
Each human sleep cycle lasts approximately 90 minutes and passes through light sleep, deep slow-wave sleep, and REM phases. The calculator multiplies your chosen number of cycles by 90 to get the total required sleep time in minutes, then factors in your fall-asleep latency — the additional time you need to actually drift off after getting into bed. In bedtime mode, this combined total (cycles × 90 + fall-asleep minutes) is subtracted from your desired wake time to find the ideal time to get into bed. In wake-time mode, the total is added to your chosen bedtime to find when you will naturally finish a full cycle. All times are computed using 24-hour modular arithmetic, so overnight calculations that cross midnight wrap correctly and are displayed in 12-hour AM/PM format for readability. Adjusting the cycle count lets you balance sleep duration against your schedule — five cycles gives 7.5 hours of actual sleep while six cycles gives a full 9 hours.