How the calculator works
Through the night you move through repeating cycles of lighter sleep, deep sleep and REM (dreaming) sleep. The first REM period usually arrives about 90 minutes after you fall asleep (NINDS). Waking near the end of a cycle, rather than in the middle of deep sleep, tends to feel easier, so the calculator counts back from your alarm in whole cycles and adds the time it takes you to fall asleep.
With the defaults, a 7:00 AM alarm gives lights out at 11:15 PM for five cycles: 15 minutes to drift off, then 7 hours 30 minutes asleep. Choose Bedtime to work forwards instead, or press Now if you are heading to bed.
Choosing the settings
Time to fall asleep: use what is normal for you. The National Sleep Foundation counts falling asleep within 30 minutes as a sign of good sleep quality in adults. Cycle length: 90 minutes is the usual rule of thumb, but in a study of over 6,000 recorded cycles the median was 96 minutes, with wide differences between people (Cajochen et al., 2024). If you often wake groggy, try 95 or 100.
The suggested option is the shortest night that still gives the 7 or more hours the AASM and Sleep Research Society recommend for adults (Watson et al., 2015). Children and teenagers need more: see sleep needs by age.