Sleep runs in cycles of roughly 90 minutes. Waking at the end of a cycle usually feels better than waking in the middle of deep sleep. This works backwards from your alarm.
Bedtimes that let you wake between cycles instead of mid-cycle.
Each cycle is treated as 90 minutes (the usual adult average, though 80–110 is normal), plus 15 minutes to fall asleep. For a 07:00 alarm: 07:00 − (5 × 90 + 15) = 23:15 for five cycles, and 00:45 for four.
Adults need 7–9 hours in total, so the four- and five-cycle options are the useful ones; six cycles only suits people who genuinely sleep long. Consistency of timing matters as much as the number.