Wake up between 90-minute sleep cycles, not in the middle of one.
Sleep runs in cycles of about 90 minutes, moving from light sleep to deep sleep and into dreaming (REM) before starting again. Waking at the end of a cycle usually feels far easier than waking mid-cycle, even with slightly less total sleep — which is why 7.5 hours can beat 8 for how you feel at the alarm.
Pick the time you must wake up and it counts backwards in 90-minute cycles, adding about 15 minutes to fall asleep — six cycles (9 hours) is the top suggestion, five (7.5 hours) suits most adults. Or enter your bedtime and it counts forwards to the best wake times.
Cycle length varies between people (roughly 80–120 minutes) and across the night, so treat the suggested times as a starting experiment. Consistent wake times, morning light and a cool, dark room move sleep quality more than perfect arithmetic.