Sleep Debt Calculator
Enter how many hours you slept each night over the past week to find your accumulated sleep debt, how it compares to the National Sleep Foundation recommendation for your age group, and how long you should expect to need to recover. Results update as you type.
What is sleep debt?
Sleep debt (also called sleep deficit) is the cumulative shortfall between the amount of sleep your body needs and the amount you actually get. If the National Sleep Foundation recommends 8 hours for your age group and you sleep only 6, you accumulate 2 hours of debt that night. That deficit does not disappear when morning comes; it adds to the previous night's shortfall, building up over days and weeks. Research from Van Dongen et al. (2003) showed that after just two weeks of sleeping 6 hours a night, cognitive performance deteriorated to a level equivalent to two full nights of total sleep deprivation, yet most subjects did not feel impaired, a phenomenon called "sleepiness blindness". The brain adapts its subjective sense of alertness even as objective performance falls.
How sleep debt affects your body and mind
Even modest sleep debt triggers a cascade of measurable changes. Spiegel et al. (2004) found that four nights of restricted sleep cut leptin (the fullness hormone) by 18% and raised ghrelin (the hunger hormone) by 28%, increasing appetite by roughly 24% and steering food choices toward high-carbohydrate foods. A 2022 JAMA Internal Medicine study by Tasali et al. reported that extending sleep duration in chronically short sleepers reduced daily caloric intake by an average of 270 calories without any dietary counselling. Beyond metabolism, moderate sleep debt impairs driving in a way that matches a blood alcohol concentration of 0.08%, the legal limit in most countries. Severe debt is linked to elevated cortisol, impaired immune function, and, in the long term, accumulation of tau protein in the brain, identified in a 2026 AASM systematic review as a "primary modifiable dementia risk factor".
Can you repay sleep debt?
Short-term debt (under 7 hours accumulated) can largely be repaid with a week or two of prioritised sleep; going to bed 30-60 minutes earlier each night and keeping a fixed wake time is more effective than marathon weekend sleep-ins. Research by Depner et al. (2019, Current Biology) found that sleeping 12 hours on a Saturday reduced some cognitive deficits but did not fully erase a week of accumulated debt, and the metabolic and inflammatory changes persisted. For moderate or severe debt, recovery takes weeks, not days. Practical strategies include fixing a consistent wake time first (this regulates your circadian rhythm), then shifting bedtime progressively earlier by 15-30 minutes per week. Naps of 20 minutes before 3 pm can partly offset acute alertness deficits without disrupting night sleep.
How to use this calculator accurately
Enter the actual time you were asleep each night (not the time you were in bed). If you use a wearable device, use its "sleep time" figure rather than "time in bed" since modern devices achieve roughly 89% accuracy against polysomnography for total sleep time. Include every night for the most accurate weekly total. If you leave a day blank the calculator excludes it from the average so you can still get a meaningful result from fewer than 7 days. The age group selector sets the NSF target (7.5 h for seniors, 8 h for adults, 9 h for teens, 10.5 h for children), and switching it instantly recalculates all outputs.
Sleep debt severity levels
| 7-day debt | Severity | Key effects | Recovery estimate |
|---|---|---|---|
| 0-2 h | Minimal | Occasional fatigue, mild mood changes | 3-5 days |
| 2-7 h | Mild | Morning grogginess, afternoon focus loss, ~10-15% slower reactions | 7-10 days |
| 7-15 h | Moderate | Persistent brain fog, microsleep risk, equivalent to 24-48 h total deprivation | 10-21 days |
| 15+ h | Severe | Severe impairment, involuntary microsleeps, immune dysfunction | 3-6+ weeks |
Based on NSF sleep recommendations and Van Dongen et al. (2003) neurobehavioral data.
Frequently asked questions
How much sleep do adults actually need?
The National Sleep Foundation recommends 7-9 hours per night for adults aged 18-64 and 7-8 hours for adults aged 65 and over. This calculator uses 8 hours as the midpoint target for working-age adults. Individual needs vary: some people function well on 7 hours while others genuinely need 9, and genetics plays a role. A consistent sense of alertness without caffeine in the morning and no difficulty staying awake during quiet daytime activities are the best signs that you are meeting your personal need.
Can you ever fully recover from chronic sleep debt?
For mild and moderate debt accumulated over days to weeks, yes - extended sleep over one to three weeks can restore most cognitive and metabolic markers to baseline. However, years of chronically short sleep may carry lasting neurological consequences, particularly tau protein accumulation linked to dementia risk. The sooner you address a deficit, the more completely you can recover. There is no evidence that a single long weekend sleep session erases a week's worth of debt.
Is sleeping more than 8 hours bad for you?
Regularly sleeping more than 9-10 hours is associated with elevated mortality risk in cohort studies, but researchers caution that this likely reflects underlying illness (depression, sleep apnea, or chronic disease) causing oversleeping rather than the extra sleep itself being harmful. For most healthy adults, sleeping 8-9 hours is not a problem. If you consistently feel the need for 10+ hours and still feel unrefreshed, talk to a doctor to rule out conditions like sleep apnea or hypersomnia.
Does caffeine cancel out sleep debt?
Caffeine masks the subjective feeling of sleepiness by blocking adenosine receptors, but it does not repair the underlying neurological impairment caused by sleep deprivation. Reaction times, decision-making, and working memory remain compromised even when caffeine makes you feel alert. High caffeine intake also fragments and shortens sleep, making it harder to repay debt. Cut caffeine off by early afternoon (around 2 pm) to protect sleep quality.
What is the difference between sleep debt and insomnia?
Sleep debt is a quantitative shortfall - you are not allocating enough time for sleep. Insomnia is a disorder in which you struggle to fall or stay asleep despite adequate time and opportunity in bed. Many people mistake one for the other: if you fall asleep within a minute of lying down you are likely sleep-deprived (debt), whereas lying awake for 30+ minutes most nights suggests insomnia. Both can co-exist. If you consistently cannot sleep even when you give yourself enough time, see a doctor or sleep specialist.
How does sleep debt affect weight and appetite?
Even a few nights of restricted sleep lowers leptin (fullness hormone) and raises ghrelin (hunger hormone), increasing appetite - especially cravings for high-calorie, high-carbohydrate foods. A 2022 JAMA Internal Medicine study found that extending sleep by about 1.2 hours per night in chronically sleep-deprived adults reduced their daily caloric intake by an average of 270 calories without any dietary change or counselling, suggesting that adequate sleep is a meaningful lever in weight management.
Sources
- Van Dongen, H.P.A. et al. (2003). The cumulative cost of additional wakefulness. Sleep, 26(2), 117-126.
- Tasali, E. et al. (2022). Effect of Sleep Extension on Objectively Assessed Energy Intake Among Adults With Overweight in Real-life Settings. JAMA Internal Medicine, 182(4), 365-374.
- National Sleep Foundation, Sleep Duration Recommendations (2015).