It also has a lot to do with your general lifestyle, eating habits, and exercise.
BTW, I no longer have sleep issues, after years of severe insomnia with an average of 4 hours per night. I now fall asleep, no issues, and sleep 7.5-8hrs per night and wake fully rested, on time, with no alarm.