StatGardenREF. DESK
Calculators/Health/Sleep debt tracker
Health

Sleep debt tracker calculator

Cumulative sleep shortfall over several nights against a target amount of sleep.

Published 9 August 2026 · Updated 23 September 2026

What this calculator does

Sleep debt is the running total of sleep missed against what you actually need. It accumulates quietly, because a shortfall of an hour or two a night does not feel dramatic on any individual morning.

The total is what makes the point. Seven nights averaging 5.71 hours against an 8 hour target builds 16 hours of debt, which is two full nights of sleep missed in a single week.

The formula

FormulaSleep debt = Σ(target hours − actual hours) across the nights logged

Each night's shortfall against the target is calculated, and the results are summed across all nights entered. A negative total indicates a surplus rather than a debt.

TermMeaning
Sleep debtAccumulated shortfall against the nightly target.
Sleep targetThe amount you need, typically 7 to 9 hours for an adult.
Sleep surplusA negative debt, where sleep exceeded the target across the period.

The inputs explained

FieldWhat to enter
Target sleep per night (hours)Target sleep per night in hours. Most adults need between 7 and 9.
Hours slept each night (comma-separated)Hours slept on each night, comma separated. Any number of nights can be entered.

When to use it

Seeing the cost of a busy week

Small nightly shortfalls add up to something substantial.

Planning recovery

Knowing the size of the debt is the first step in deciding how to repay it.

Tracking a pattern

A persistent debt week after week is a different problem from one bad week.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How quickly does a shortfall accumulate?

Three weeks of sleep against the same target.

8 hour nightly target, seven nights
Nights loggedSleep debt or surplusAverage sleep logged
Target met every night0 h 0 min8.00 h/night
Mixed week6 h 30 min7.07 h/night
Consistently short16 h 0 min5.71 h/night
Meeting the target every night leaves zero debt. A mixed week averaging 7.07 hours accumulates 6 hours 30 minutes, and a consistently short week averaging 5.71 hours builds 16 hours.

Questions

Can sleep debt be repaid?

Partially. Research suggests recovery sleep restores much of the deficit in alertness and performance, but some effects, particularly on attention, persist longer than a weekend lie-in resolves. Chronic debt is not fully repaid by occasional catch-up.

How much sleep do I actually need?

Most adults need 7 to 9 hours, with genuine individual variation. The people who function well on much less are rarer than the number who believe they do, since sleep deprivation impairs the judgement needed to notice it.

Does catching up at the weekend work?

It helps but is imperfect. Large weekend shifts in sleep timing create their own disruption, sometimes called social jetlag, so consistent timing generally works better than alternating deprivation and recovery.

Is more sleep always better?

Not indefinitely. Consistently very long sleep is associated with poorer health outcomes in population studies, though the direction of that relationship is unclear and may reflect underlying illness rather than the sleep itself.

For caffeine still in your system at bedtime, see the caffeine remaining calculator. For training heart rate zones, see the Karvonen formula calculator.