Updated
This sleep debt calculator totals the hours below your selected target on the nights you record. It measures a recorded shortfall, not biological sleep debt. A longer night does not subtract from earlier shortfalls, and a blank night is excluded. The eight-hour default is an editable comparison point, not a finding about how much sleep you need.
How to calculate your sleep shortfall
- 1Choose a nightly sleep target. Keep it consistent across the recorded period so that the nights are comparable.
- 2Enter estimated time actually asleep for each night, not simply time in bed. Use decimal hours: seven hours and thirty minutes is 7.5.
- 3Leave unknown nights blank. Review the recorded-night count, average sleep and shortfall chart together before comparing periods.
How the sleep debt calculation works
For each recorded night, shortfall = the greater of zero and target minus sleep. The total adds those positive shortfalls. Average sleep divides recorded sleep by the number of recorded nights; missing nights never enter that denominator.
NHLBI describes repeated sleep loss as accumulating sleep debt, but this sum is only a record against an assumed target. In a mainly NIH-funded trial of 159 healthy adults, some effects of five nights limited to four hours in bed persisted after one extended recovery night. That does not supply a personal repayment formula.
Example: three recorded nights
With an eight-hour target, nights of 6, 7 and 9 hours produce shortfalls of 2, 1 and 0 hours. The total is three hours, while average sleep is about 7 hours 20 minutes. The longer night does not erase the recorded shortfalls. Any remaining blank nights are excluded.
What the total leaves out
- Your sleep need may differ from the target. The result does not measure impairment, diagnose a sleep disorder or judge fitness to drive.
- This nightly log excludes naps. It also cannot assess sleep quality, breathing interruptions or the accuracy of a tracker estimate.
- A zero shortfall only means the recorded nights met your chosen target. Persistent tiredness despite enough time for sleep deserves further assessment.
Common questions
Can a lie-in pay back the total?
Extra sleep may help recovery, but this tool cannot say that one extra hour cancels one lost hour. Its total records earlier shortfalls and does not predict a recovery date.
Why does an empty night not count as zero sleep?
Missing information is different from no sleep. Enter zero only if you did not sleep that night. Leaving it blank excludes it from both the total and the average.
Is eight hours the right target for everyone?
No. Sleep needs vary with age and between people. Eight hours is a starting assumption for this adult planning tool; changing it changes the result.