Sleep Debt Calculator
Calculate your accumulated sleep debt from nightly sleep versus your target.
Total Sleep Debt
Nightly Deficit
How It Was Calculated
Understanding Sleep Debt
Sleep debt is the cumulative difference between the amount of sleep you need and the amount you actually get. Every night you sleep less than your personal target, a small deficit builds up; over a week or a month these shortfalls add together into a meaningful total. Unlike a one-off late night, accumulated sleep debt can affect concentration, mood, immune function, and reaction time, and it is not always paid back by a single long lie-in.
This calculator gives you a simple, transparent estimate. You enter the sleep you aim for each night, the average you actually achieve, and the number of nights you want to measure across. It then shows how many hours of sleep you have lost in total and per night, and tells you whether you are running a deficit, are well-rested, or have a surplus from oversleeping.
How Sleep Debt Is Calculated
The Formula
The nightly deficit is the gap between your target and your actual sleep. Multiplying it by the number of nights gives your total sleep debt. A negative value means you slept more than your target, which represents a surplus rather than a debt.
Nightly deficit = target − actual
Total debt = nightly deficit × nights
Worked Example
If your target is 8 hours, you average 6.5 hours, and you measure over 7 nights, then your nightly deficit is 8 − 6.5 = 1.5 hours and your total sleep debt is 1.5 × 7 = 10.5 hours.
References
The concept of sleep debt and recommended sleep durations used here are based on established sleep-health guidance:
- National Sleep Foundation. "How Much Sleep Do We Really Need?" NSF Sleep Duration Recommendations
- U.S. Centers for Disease Control and Prevention (CDC). "About Sleep." CDC Sleep and Sleep Disorders
Note: This calculator is for informational purposes only and provides a simple estimate of accumulated sleep debt based on the figures you enter. Individual sleep needs vary with age, health, and lifestyle, and sleep debt cannot always be fully recovered by sleeping in. If you have persistent sleep problems or daytime fatigue, consult a healthcare professional.