Calculators & Tools, Sleep

Sleep Debt Calculator

Photo of author

By Health Linear Editorial Team

Sleep Debt Calculator

Sleep debt is the gap between how much sleep you need and how much you’re actually getting, added up over the week. Enter your target nightly sleep and how many hours you actually slept each of the last 7 nights.

How it is calculated: sleep debt = (target hours × nights entered) − total hours slept. Most adults need at least 7 hours a night. This tool is for awareness, not diagnosis. See our medical disclaimer.

What sleep debt is

Sleep debt is the gap between the sleep your body needs and the sleep you actually get, added up over several nights. Sleeping 6 hours a night when you need 7.5 builds a debt of 7.5 hours over five work nights, the equivalent of losing a full night. Unlike a single bad night, this kind of chronic, partial sleep loss is easy to stop noticing, and that is part of what makes it harmful.

How much sleep you need

AgeRecommended sleep per 24 hours
6 to 12 years9 to 12 hours
13 to 18 years8 to 10 hours
18 to 60 years7 or more hours
61 to 64 years7 to 9 hours
65 years and older7 to 8 hours

These are the CDC's recommendations, based on consensus statements from the American Academy of Sleep Medicine and the National Sleep Foundation. Individual needs vary a little, and a good sign you are meeting yours is waking without an alarm feeling rested most days.

Why it matters: what the research shows

  • Thinking and reaction time. In a well-known 2003 study by Van Dongen and colleagues, people restricted to 6 hours a night for two weeks performed as badly on attention tests as people kept awake for one to two nights straight, yet rated themselves only slightly sleepy.
  • Driving. Drowsy driving causes thousands of crashes a year in the U.S. Being awake for 18 hours impairs driving about as much as a blood alcohol level of 0.05%.
  • Metabolism and weight. Short sleep is linked to increased appetite, insulin resistance and weight gain.
  • Heart and mood. Regularly sleeping under 7 hours is associated with high blood pressure, heart disease, depression and anxiety.

Can you pay back sleep debt?

Partly. Sleeping longer for a few nights does relieve sleepiness, and an extra hour or two a night for a week can bring a moderate debt down. But catching up only on weekends does not fully reverse the effects. In a 2019 study, people who slept 5 hours on weeknights and caught up at the weekend still had worse insulin sensitivity than people who slept enough every night. Large swings in sleep timing also disrupt your body clock, a pattern sometimes called "social jet lag."

A better approach to paying it down:

  • Go to bed 15 to 30 minutes earlier each night until you reach your target, rather than oversleeping at weekends.
  • Keep wake time within about an hour, even on days off.
  • Use short naps of 20 to 30 minutes, before mid-afternoon, if you need them.
  • Get daylight in the morning, keep the bedroom cool and dark, and cut caffeine after early afternoon.

When sleep debt is a sign of something else

See a doctor if you are often sleepy even after enough time in bed, or if you:

  • Snore loudly, gasp or stop breathing during sleep, which are signs of sleep apnea
  • Have trouble falling or staying asleep at least three nights a week for three months or more (chronic insomnia). Cognitive behavioral therapy for insomnia (CBT-I) is the recommended first treatment.
  • Fall asleep suddenly during the day, or have muscle weakness triggered by laughter, which can point to narcolepsy
  • Have an urge to move your legs in the evening (restless legs syndrome)

Related reading

Frequently asked questions

How long does it take to recover from sleep debt?

A few days of adequate sleep relieves most short-term sleepiness. Recovering from weeks of short sleep can take longer, and some effects on attention may linger for more than a week.

Is 6 hours of sleep enough?

For most adults, no. Research shows a steady build-up of impairment at 6 hours a night, even when people feel they have adjusted. A small number of people genuinely need less, but it is rare.

Do naps count toward paying off sleep debt?

Yes, naps add to your total sleep and can reduce sleepiness. Long or late naps can make it harder to sleep at night, though, so keep them short and earlier in the day.

Can you sleep too much?

Regularly needing more than 9 to 10 hours as an adult can be a sign of an underlying problem such as depression, sleep apnea or a thyroid condition, and is worth discussing with a doctor.

Sources

  • Centers for Disease Control and Prevention. About sleep
  • Van Dongen HPA, et al. The cumulative cost of additional wakefulness. Sleep. 2003. PubMed
  • Depner CM, et al. Ad libitum weekend recovery sleep fails to prevent metabolic dysregulation during a repeating pattern of insufficient sleep and weekend recovery sleep. Current Biology. 2019. PubMed
  • Qaseem A, et al. Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. 2016. PubMed

About this article

Written by the Health Linear Editorial Team from primary sources such as FDA prescribing information, DailyMed, NIH and peer-reviewed studies, which are linked in the article. Last updated October 27, 2026.

Read our editorial process and medical disclaimer. Spotted an error? Tell us and we will correct it.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.