Sleep Debt Formula
Sleep debt is the cumulative deficit between sleep need and sleep actually obtained. Van Dongen et al. 2003 (Sleep) showed neurobehavioral function degrades linearly during partial sleep restriction — after 14 days of 4-6h nights, performance equals total sleep deprivation for 24-48 hours. Recovery requires multiple nights at 1-2h above baseline need; you cannot fully repay sleep debt in a single long sleep.
Formula
Copy the exact expression or work through it step by step below.
sleep_debt_hours = Σ_{i=1}^{14} (sleep_need_i − sleep_actual_i)
sleep_need: 7-9h adults (AASM 2015), 9-10h adolescents, 10-12h children
recovery_pace: net +1.0 to +1.5 h/night until debt zero
maximum_recovery_per_night: ~2 hours (Banks 2010) Variables
sleep_debt_hours
Cumulative sleep debt
Sum of nightly deficits over the 14-day rolling window. Older deficits matter less (function recovers partially over time even without full repayment) but track within the 2-week window.
sleep_need
Individual sleep need
AASM consensus: 7-9h for healthy adults (median 8h). Individual variation 6-10h based on genetics + age. Athletes need 30-60 min more during heavy training blocks (Halson 2014).
sleep_actual
Actual sleep obtained
Time-in-bed minus sleep latency minus wake-after-sleep-onset (WASO). Wearables report this with ±15-20 min accuracy; sleep diary is the gold standard.
recovery_pace
Debt repayment rate
Maximum net positive sleep per night during recovery is ~1-2h above baseline need. Trying to sleep 4h extra in one night is futile — fragmented, low-quality, and performance still impaired the next day (Banks 2010).
Step By Step
- 1
Establish your personal sleep need. Track sleep on a 7-day vacation without alarms — your free-running sleep is your need.
Average free-running sleep on vacation: 8.0h. That's your need.
- 2
Log nightly sleep for 14 days (sleep tracker or diary).
M:6.5, T:7.0, W:5.5, T:6.0, F:5.5, S:8.5, S:9.0, M:6.0, T:6.5, W:6.0, T:6.5, F:6.0, S:8.0, S:9.0.
- 3
Compute nightly deficits: need − actual (clamp negatives to zero — extra sleep doesn't bank).
Deficits (8h need): 1.5, 1.0, 2.5, 2.0, 2.5, 0, 0, 2.0, 1.5, 2.0, 1.5, 2.0, 0, 0 = 18.5h.
- 4
That's your sleep debt. Performance impact: each ~6h missed = equivalent to one all-nighter on next day's cognitive tasks.
18.5h debt = 3 all-nighters of accumulated impairment per Van Dongen's framework. Reaction time + decision-making degraded ~30% vs rested baseline.
- 5
Recover: 9-10h nightly for 3-7 days. Track. Repeat sleep-need check at end.
Sleep 9.5h × 5 nights = net +7.5h ahead of need. Reduces debt to 11h. Continue 2-3 more nights to clear most of it. Performance restoration measurable within ~3 days of consistent 8-9h nights.
Worked Example
Athlete tracking sleep during a hard training block, 14 days at varying sleep durations
Sleep need
8.0h
14-day sleep log
Mean 6.8h, range 5.5-9.0h
Sum of nightly deficits (negative deficits clamped to 0): Week 1: 1.5 + 1.0 + 2.5 + 2.0 + 2.5 + 0 + 0 = 9.5h Week 2: 2.0 + 1.5 + 2.0 + 1.5 + 2.0 + 0 + 0 = 9.0h Total 2-week debt = 18.5h
18.5h sleep debt. Roughly equivalent to 3 nights of total deprivation. Recovery plan: 5-7 nights of 9-10h sleep clears the debt. Avoid training maximum effort during recovery — strength outputs reduced 5-10% even at modest sleep debt (Reilly & Edwards 2007). Match training intensity to recovery state.
Common Variations
Try These Tools
Run the numbers next
Sleep Calculator
Calculate optimal bed and wake times based on 90-minute sleep cycles.
HRV Deload Trigger
Decide whether to deload from 7 days of HRV vs 30-day baseline using the Plews 2014 method.
Resting Heart Rate Calculator
Assess cardiovascular fitness from your resting heart rate — classification, cardio age, and improvement targets.
Sources & References
- Van Dongen, Maislin, Mullington & Dinges (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 — foundational chronic-restriction dose-response paper
- Banks, Van Dongen, Maislin & Dinges (2010). Neurobehavioral dynamics following chronic sleep restriction: dose-response effects of one night for recovery. — Sleep — single-night recovery is insufficient
- Watson, Badr, Belenky, Bliwise, Buxton et al. (2015). Recommended Amount of Sleep for a Healthy Adult: A Joint Consensus Statement of the American Academy of Sleep Medicine and Sleep Research Society. — Sleep — AASM 7-9h adult consensus
- Mah, Mah, Kezirian & Dement (2011). The effects of sleep extension on the athletic performance of collegiate basketball players. — Sleep — sleep extension performance study