If I get < 6 hrs of sleep, I am for the most part a zombie. I can be ok for the first 6 hours, but after about 10 hrs awake I am barely functional.
If I get 6-6.5 hrs of sleep, I am decent most of the day.
If I get 7+ hrs of sleep, I am good.
If I get 9 hrs of sleep, I be at my sharpest that day.
Usually I get between 6 and 7 hrs of sleep a day (in bed by 00:00-00:40, wake up at 07:00) I also can get between 15-30 minutes of sleep on the bus and potentially another 15-30 on the way back.
Things that affect my sleep, or ability to stay awake:
1) Coffee/Sugar. I avoid it. Any large quantity of it will put me into insane sleepy mode after about 15-30 minutes of consumption.
2) Something interesting: If I am doing something mentally engaging near the end of the day, I am very likely to miss my bed time and could take 10-20 minutes to fall asleep. If it is extremely interesting I may wind up having a lack of deep sleep.
3) Physical exercise helps me sleep better. I started having 2 or so hrs a day (1 in morning 7am, 1 in evening 8pm) walks with my dog, which are sometimes walks, sometimes jogs, sometimes full-speed running. The more I get in a day the better my sleep is and the more rested I am the next day given I have a minimum of 7 hrs of sleep.
I find it's easiest to have a schedule, and stick to even even on days off, especially on days off actually.