Sleep Debt Calculator

hours

Recommended: 7-9 for adults

Formula
Sleep debt = Σ(target - actual) for nights where actual < target

For each night you slept less than your target, calculate the shortfall. Sum the shortfalls to get your weekly sleep debt. Nights with extra sleep do not count as repayment, since recovery sleep typically does not fully reverse cognitive deficits from prior loss.

Loading calculator…
TL;DR

Enter your sleep hours for each night this week. See total accumulated sleep debt.

Enter how many hours you slept each night this past week. The calculator compares each night to your target and sums the shortfalls. Result shows your accumulated sleep debt in hours, average sleep per night, and the average shortfall compared to your target.

Sleep debt accumulates faster than most people realize. A 6.5-hour night when you need 8 hours costs you 1.5 hours of recovery. Five nights of that, and the cognitive impact is comparable to a full night without sleep. This calculator quantifies the gap so you know how much sleep your body is owed.

You came here because

Common situations

  • Weekly sleep audit: Quantify how much sleep you missed during a busy work week.
  • Health monitoring: Persistent sleep debt over weeks correlates with cardiovascular and cognitive risk.
  • Performance tracking: Athletes and students can correlate debt levels with training and academic performance.
  • Recovery planning: Use the debt total to plan recovery sleep across the next few nights.

Under the hood

How the calculation works

  1. 1Set your nightly sleep target (7-9 hours is standard for adults).
  2. 2Enter how many hours you slept each night this past week.
  3. 3The calculator counts nights where you fell short of the target.
  4. 4It sums the hourly shortfalls into your weekly sleep debt.
  5. 5Average sleep per night is shown for context.

Show me

A real example

Example: 8-hour target, varied actual sleep

  1. 1Mon 7, Tue 6, Wed 7, Thu 5.5, Fri 6, Sat 9, Sun 8.5
  2. 2Shortfalls: 1, 2, 1, 2.5, 2, 0, 0 = 8.5 hours
  3. 3Average sleep: 49 / 7 = 7 hours
Result: 8.5 hours of sleep debt; averaging 7 hours per night.

Watch out for

What can go wrong

  • Trying to repay debt in one weekend: Sleeping 14 hours on Saturday does not undo five nights of 6 hours. Recovery is gradual and incomplete. Spread extra hours across several nights.
  • Ignoring nights above the target: Extra sleep does not zero out previous debt cognitively, but it does help. This calculator counts only the shortfall to be conservative.
  • Counting bedtime as sleep time: The time between getting into bed and falling asleep averages 15-20 minutes. Track actual sleep, not time in bed.
  • Setting an unrealistic target: Most adults need 7-9 hours. Setting a 10-hour target overstates debt; setting a 5-hour target understates it.

Glossary

Related concepts

TermDefinition
Sleep debtThe cumulative difference between sleep needed and sleep obtained. Cannot be fully repaid by a single long night.
Sleep architectureThe pattern of stages (REM, deep, light) within a night of sleep. Quality matters as much as quantity.
Circadian rhythmThe 24-hour internal cycle that regulates sleep timing. Disrupted by inconsistent bedtimes and shift work.

Make it better

Pro tips

  • Pay back debt with consistent bedtime: Going to bed 30 minutes earlier for two weeks repays sleep debt better than one long weekend lie-in.
  • Track with a sleep app: Phone-based sleep tracking gives you actual sleep duration rather than time in bed. Use it for the inputs here.
  • Prioritize the most disruptive nights: If you cannot fix every night, focus on the worst. Two nights below 6 hours hurt more than five nights at 7.5 hours.
  • Pair with the sleep cycle calculator: Use this debt total alongside the sleep cycle calculator to time bedtimes around 90-minute cycles for higher quality recovery sleep.

Common questions

Frequently asked questions

Quick reference

Sleep Debt Severity

Weekly accumulated debt against an 8-hour target

Debt levelHours per weekEffect
Minimal0-2 hoursNo noticeable cognitive effect
Mild2-5 hoursMild fatigue, occasional yawning
Moderatetypical5-10 hoursSlower reaction time, mood impact
Severe10+ hoursComparable to a full night without sleep

For related calculations, try the Sleep Calculator, Water Intake, or Calorie Calculator. Browse all Calculator Online calculators for the full catalog.

Methodology

This calculator uses the standard sleep debt calculator formula. Results match those from established financial, scientific, and health references.

Reviewed by

Calculator Online Editorial Team. All formulas verified against authoritative sources before publication.

Last updated

2026-05-24