LPT if you want to wake up at 6am feeling well rested, go to bed at 9pm, 10:30pm or midnight.
The idea is that you set your bedtime to be a multiple of 90 minute blocks from when you want to wake up. 90 minutes is the average human sleep cycle duration, which if interrupted makes you groggy. #entertainment