Recovery · Sleep

Sleep debt
calculator

Add up your cumulative sleep debt from your nightly need and what you actually slept — split into the hours you fell short and the hours you banked. Plus the caveat the trackers skip: the net number is a floor on lost function, not a balance you clear with a weekend lie-in.

Compute · Cumulative sleep debt
Nightly sleep need — hours (adults 7–9, NSF 2015)
Hours slept, last 7 nights — order doesn't change the total
Net sleep debt · last 7 nights
hours behind
Hours short
nights under need
Hours banked
nights over need
Average night
per night
This is a math estimate, not medical advice. The nightly-need band (7–9 hours for adults, 7–8 for those 65 and older) is a population recommendation for generally healthy adults (Hirshkowitz 2015; Watson 2015); individual need varies, and children and teenagers need more. This page is arithmetic on the need you set — it does not diagnose anything. Persistent daytime sleepiness despite adequate time in bed, chronic insomnia, loud snoring or witnessed pauses in breathing, or sleepiness affecting driving are reasons to see a doctor or a sleep specialist, not to run a calculator.

What sleep debt is

Sleep debt is the running total of the sleep you needed minus the sleep you got. Set your nightly need, enter what you actually slept, and it adds up the shortfall. The recommended band for adults is 7 to 9 hours a night (Hirshkowitz 2015, the National Sleep Foundation panel), with a floor of at least 7 hours on a regular basis for healthy adults (Watson 2015, the AASM and Sleep Research Society consensus); older adults (65+) sit at 7–8 hours.

Most trackers stop at one number. This page splits it in two, because the split is where the honesty is: the hours you fell short on low nights, and the hours you banked on long ones. The net figure nets the second against the first — and whether that offset is real is the whole question below.

How the math works

The debt is arithmetic on your need. For each night, a shortfall is need minus sleep when you slept less than you needed; a surplus is the reverse. Net debt is the shortfall total minus the surplus total — the same as need × nights minus everything you slept.

gross shortfall (h) = sum of (need − actual) on nights you slept LESS
surplus banked (h) = sum of (actual − need) on nights you slept MORE
net sleep debt (h) = gross shortfall − surplus = need × nights − total slept

debt in nights = net sleep debt ÷ nightly need

Sleep debt is a time quantity (hours) — no imperial/metric conversion.

The recommended-need figures are the only sourced inputs; the arithmetic itself is a plain identity. Sleep is measured in hours in every country, so unlike most calculators on this site there is nothing to toggle between imperial and metric — an hour is an hour.

Worked example

Take an adult whose need is 8 hours who restricts on work nights and tries to catch up at the weekend. Their last seven nights were 6, 6, 6, 6, 6, 9, 9 hours:

Two nine-hour weekend lie-ins bank only 2 hours against a 10-hour weekday shortfall, so a whole night of sleep is still owed by Monday. Sleep is one of the few numbers where the marketing runs the other way — a mattress ad will tell you that you need more of its product, but the arithmetic here just tells you how far behind you already are.

When this calculator is wrong

Sleep debt is not a bank balance you clear with a weekend lie-in; the net number is a floor on lost function, and the fact that you've stopped feeling it doesn't mean it's paid. Every tracker nets your surplus nights against your short ones and implies you can pay the balance back. The chronic-restriction data says that credit is optimistic. Van Dongen et al. (2003) held adults to 6 or 4 hours a night for 14 nights: cognitive performance kept declining, dose-dependently, until the deficit was comparable to up to two nights of total sleep deprivation — while their own sleepiness ratings rose only slightly and plateaued, so they were largely unaware of it. Depner et al. (2019) then found that weekend recovery sleep failed to prevent the metabolic fallout of a repeating restrict-then-recover pattern.

What to do with the result

Treat the number as a direction, not a target to zero out in one go. If you're carrying a debt, the move that actually works is a small, sustained increase in nightly sleep — 30 to 60 minutes earlier to bed, held for a couple of weeks — rather than a single marathon weekend that leaves the weekday pattern intact. Then re-run this with your next seven nights and watch the trend, the same way you'd calibrate any estimate on this site: the direction over two weeks is the signal, one night is noise.

If the debt keeps climbing no matter how much time you allow in bed, or you're sleeping the hours and still exhausted, that's a sign the problem isn't arithmetic — it's sleep quality or a sleep disorder, and it belongs with a clinician. For the training side of recovery, the heart rate zones calculator and the caffeine dose calculator cover the two levers — easy-day intensity and evening caffeine — that most often quietly wreck the sleep you're trying to bank.

Common questions

How do you calculate sleep debt?
Pick your nightly sleep need, then for each night subtract what you slept from that need. Add up the nights you fell short, subtract the hours you banked on nights you slept more, and the result is your net sleep debt over the window. In one line: net debt = need × nights − total hours slept.
Can you catch up on sleep at the weekend?
Partly, not fully. One or two longer nights recover most of the performance lost to an acute short night. But for chronic, weeks-long restriction the research is less kind: performance kept declining across 14 nights of 6-hour restriction (Van Dongen 2003), and weekend recovery sleep failed to prevent the metabolic effects of a repeating restrict-then-catch-up pattern (Depner 2019). So a lie-in helps; it doesn't reset the counter.
How much sleep do I actually need?
For adults, 7 to 9 hours a night is the recommended range (Hirshkowitz 2015), with a floor of at least 7 hours on a regular basis for optimal health (Watson 2015). Adults 65 and older sit at 7 to 8 hours. Individual need varies within that band — set yours honestly, because the whole debt calculation scales off it.
Is it bad to feel fine on little sleep?
It's a known trap. Under chronic restriction, people's subjective sleepiness plateaus while their objective performance keeps declining (Van Dongen 2003), so "I feel fine on six hours" often means you've stopped noticing the deficit, not that you don't have one. Feeling adjusted is not the same as being unaffected.
Does sleeping in on some nights cancel out the short nights?
On paper, yes — the net figure credits your surplus nights against the short ones. In the body, only partly. That's why this calculator shows the "hours short" figure separately: it's the harder floor, while the net number is the optimistic case that assumes every banked hour counts in full.
How many hours of sleep debt is too much?
There's no clean cut-off in the primary literature, so this page won't invent one. What the evidence supports is the direction: a debt that grows week over week despite adequate time in bed, or daytime sleepiness that affects your driving or work, is a reason to see a clinician rather than to keep tallying hours.