Sleep Debt Calculator

Enter your bedtime and wake time for each day of the past week. See your total sleep debt, cognitive impact, and how long recovery will take.

1 min Van Dongen et al., 2003 Peer-reviewed formula

Your sleep log

Day Bedtime Wake Hrs
Mon 8.0
Tue 8.0
Wed 8.0
Thu 8.0
Fri 8.0
Sat 8.0
Sun 8.0
Total sleep debt this week
0.0 hrs
You're sleeping well. Keep it up.
8.0 hrs
avg nightly sleep
0.0 hrs
daily deficit
0 nights
recovery time

Cognitive impairment level

None detected
None Mild Moderate Severe Critical
After 7 days of 8 hours sleep, your cognitive performance is at full capacity.

Daily sleep breakdown

Actual sleep Sleep need

The science behind this calculator

The cumulative cost of sleep restriction was rigorously quantified by Van Dongen and colleagues in their 2003 study published in Sleep. Participants were assigned to sleep 4, 6, or 8 hours per night for 14 consecutive days. The results were striking: those sleeping 6 hours per night showed steadily worsening performance on psychomotor vigilance tests — and by day 14, their impairment was indistinguishable from participants who had been kept awake for 24 hours straight.

Critically, participants in the restricted-sleep groups reported feeling only slightly sleepy, even as their objective performance degraded dramatically. This dissociation between perceived and actual impairment is what makes sleep debt so insidious — you feel fine, but you're not.

Debt = Σ (Need − Actual)i  for i = 1..7
Sum of nightly deficits over the week · Recovery ≈ debt ÷ 1.5 extra hours/night

The BAC equivalency mapping is derived from the impairment data in Van Dongen et al. (2003) and Williamson & Feyer (2000), who compared sleep-deprived performance directly against alcohol-impaired performance on driving simulators.

Van Dongen, H. P. A., Maislin, G., Mullington, J. M., & Dinges, D. F. (2003). The cumulative cost of additional wakefulness: dose-response effects on neurobehavioral functions and sleep physiology from chronic sleep restriction and total sleep deprivation. Sleep, 26(2), 117–126.
Williamson, A. M., & Feyer, A.-M. (2000). Moderate sleep deprivation produces impairments in cognitive and motor performance equivalent to legally prescribed levels of alcohol intoxication. Occupational and Environmental Medicine, 57(10), 649–655.

Frequently asked questions

How do you calculate sleep debt?

Sleep debt is calculated by comparing how much sleep you needed versus how much you actually got, then summing the deficits across multiple nights. The formula is straightforward:

Nightly deficit = Sleep need − Actual sleep

For example, if your sleep need is 8 hours but you slept 6.5 hours on Monday, you accumulated a 1.5-hour deficit for that night. Sum all seven days and you have your weekly sleep debt. This calculator does that automatically: enter your bedtime and wake time for each day, and the running total is computed in real time.

Researchers use a similar model to measure total sleep deprivation across study periods — the cumulative deficit tracks better with cognitive impairment than any single night's data does.

What is cumulative sleep debt?

Cumulative sleep debt refers to the way sleep deficits stack up across consecutive nights and progressively worsen performance — even when each individual night seems only mildly short.

Van Dongen et al. (2003) demonstrated this compounding effect in a landmark study: participants restricted to 6 hours of sleep per night showed continuous, day-over-day declines in psychomotor vigilance over 14 days. By the end of the study, their cognitive performance was equivalent to being completely awake for 24 hours straight — yet most participants reported feeling only slightly sleepy, unaware of how impaired they had become.

The key insight is that the brain adapts its perception of sleepiness faster than it recovers actual cognitive capacity. You may feel fine after a week of 6-hour nights, but your reaction time, memory consolidation, and decision-making can all be significantly compromised.

Can you recover from sleep debt?

Yes — but recovery takes longer than most people expect, and the relationship between sleep debt and recovery is not one-to-one.

Research shows that sleeping an extra 1–2 hours per night above your normal need can pay down debt over several days. Attempting to recover all at once (e.g., sleeping 12 hours on Saturday) helps acutely but doesn't fully restore the cognitive damage accumulated over the week. Studies by Dinges et al. suggest that a single "recovery night" restores subjective sleepiness faster than it restores objective performance measures like reaction time and working memory.

Practical approach: add 1–2 hours of extra sleep per night over several days rather than banking it all in one sleep marathon. A debt of 10 hours might require 5–7 nights of extended sleep to fully resolve. This calculator estimates recovery time using that 1–2 hour/night model.

How much sleep debt is dangerous?

Van Dongen et al. mapped cumulative sleep debt to cognitive impairment equivalencies using blood alcohol concentration (BAC) as a reference point:

0–7 hours debt: Mild impairment, roughly equivalent to 0.02 BAC. Noticeable in complex tasks but manageable.
7–14 hours debt: Moderate impairment, roughly equivalent to 0.05 BAC — the legal driving limit in many countries. Reaction time, attention, and judgment are all measurably reduced.
14–21 hours debt: Severe impairment, roughly equivalent to 0.08 BAC — legally drunk in the United States. Decision-making and motor control are significantly compromised.
21+ hours debt: Critical impairment, equivalent to 0.10+ BAC. Risk of microsleeps, significantly elevated accident risk, serious physiological stress.

Any sustained debt beyond 7 hours warrants genuine concern, especially for people who drive, operate machinery, or make high-stakes decisions at work.

Is the sleep deficit calculator accurate?

This sleep deficit calculator is a science-based estimation tool, not a medical diagnostic. It uses the Van Dongen model for cumulative debt and standard sleep science research for recovery estimates. That said, several real-world variables affect individual results:

Sleep need varies: The population average is 7–9 hours, but some people are genuine short sleepers (6 hours) or long sleepers (10 hours) due to genetics. The calculator lets you set your own need. Sleep quality matters: 8 hours of fragmented, low-quality sleep may leave more debt than the calculator shows. Age and health: Sleep efficiency declines with age; medical conditions like sleep apnea can inflate real-world debt beyond what clock hours suggest.

Use this tool as a directional guide — a strong signal that your sleep pattern is or isn't meeting your biological needs. For persistent fatigue or suspected sleep disorders, consult a sleep specialist.

Does sleeping in on weekends fix sleep debt?

Partially — but the research is more nuanced than the popular belief that a long Saturday sleep "resets" the week.

Leger et al. and other researchers found that sleeping in on weekends does provide short-term cognitive recovery. Subjective alertness improves, and some reaction-time measures rebound. However, studies tracking metabolic markers, inflammatory cytokines, and long-term health outcomes show that weekend recovery does not fully reverse the physiological effects of chronic weekday sleep restriction.

A 2019 study in Current Biology by Depner et al. found that people who tried to "catch up" on weekends still gained weight and showed persistent insulin insensitivity compared to people who got consistent 9-hour nights — suggesting metabolic damage from sleep debt isn't fully undone by weekend sleep.

The verdict: weekend sleep-ins are better than nothing and help acutely, but the only reliable fix for chronic sleep debt is consistently meeting your nightly sleep need throughout the week.