The amount of sleep that you need is likely determined by your genetics, your age, your overall health, the various demands during your day, and other factors. If you obtain the total sleep time you need, you can avoid sleep deprivation and improve your daytime function. Most people get most of their sleeping done at night, but sleep needs can also be supplemented by taking naps. It is possible to determine the amount of sleep you need by following a simple experiment.
In general, the average healthy adult needs 7.5 to 8.5 hours of sleep per night. Experiments have demonstrated that the average amount of sleep needed to avoid detrimental effects on daytime function is about 8 hours and 10 minutes.
Kryger, MH et al. "Principles and Practice of Sleep Medicine." Elsevier, 5th edition, 2011.
Van Dongen, HPA et al. "The cumulative cost of additional wakefulness: dose-response effects on neurobehavioral functions and sleep physiology from chronic sleep restriction and total sleep deprivation." Sleep 2003;26(2):117-126.
Wehr, TA et al. "Conservation of photoperiod-responsive mechanisms in humans." Am J Physiol 1993;165(4):R846-857.