For functioning to your maximum capacity, you should at least aim for seven to eight hours of sleep in a night.