Sleep Debt Calculator

How many hours of sleep have you lost this week?

Enter your actual sleep hours for each night of the week alongside your personal sleep target. The calculator totals your deficit, flags chronic shortfall, and estimates how many recovery nights you need to clear it.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Think of sleep like a bank account where withdrawals happen automatically every night you fall short of your requirement. Every night you sleep less than you need, the shortfall is added to your running balance. Every night you sleep more than you need, you make a repayment. Unlike money, you cannot earn interest on surplus sleep — extra hours above your goal do not roll forward to cover future nights. They only chip away at existing debt.

The calculator adds up your actual sleep for each night you enter, compares it against your personal goal multiplied by the same number of nights, and reports the gap as your weekly sleep debt. The 'recovery nights' figure then estimates how many nights sleeping one hour above your goal would clear that balance — a conservative but realistic recovery rate for most adults.

The reason nights-in-deficit matters separately from total hours is pattern recognition. Two people might have the same weekly debt, but one built it across two bad nights and the other has never once hit their goal all week. Those patterns respond to different interventions: the first person needs to protect two nights; the second needs a structural schedule change.

When To Use This
Right tool, right situation

Use this calculator when you want a concrete number to anchor a conversation with yourself about your sleep pattern — before making a schedule change, before a demanding project period, or when you have been feeling persistently tired and want to understand whether sleep quantity is the likely cause.

It is also useful for tracking week to week once you have made a change. Enter the same goal each week and compare the debt figure to see whether your new bedtime is actually working or just feels better.

Do not use this calculator to make clinical decisions. If your debt is consistently high despite having adequate time available to sleep, or if you wake unrefreshed regardless of duration, the issue may be a sleep disorder such as apnea rather than a scheduling problem. The calculator cannot detect quality issues, fragmentation, or disorders — a sleep study is the appropriate next step in those cases.

Common Mistakes
Why results sometimes look wrong

The most common mistake is confusing time in bed with actual sleep. If you lie awake for 40 minutes before falling asleep and then wake once during the night, entering 8 hours because that is when you got into bed overstates your actual sleep by up to an hour. Enter only the time you were actually asleep.

A second mistake is assuming that feeling fine means no debt. Subjective sleepiness adapts — people who are chronically short on sleep often stop noticing their own impairment. Reaction time and working memory tests reveal deficits that the person themselves rates as mild or absent. The calculator reports what the math says, not how you feel.

A third mistake is setting a goal based on an aspirational target rather than biological need. Entering 9 hours when you genuinely function well on 7.5 creates artificial debt that looks alarming but is not real. Your sleep goal should be derived from days when you have no alarm and no social obligation — not from a wellness article.

The Math
Worked examples and deeper derivation

The core calculation is: weekly sleep debt = sum of (goal minus actual) for each night, counting only nights where actual is less than goal. Nights where you exceeded your goal do not contribute negative debt — this reflects the current scientific understanding that sleep banking has limited carry-forward value.

Recovery nights are calculated as total debt divided by the extra sleep per recovery night. The calculator assumes 1 extra hour per night as a realistic upper bound — sleeping 2 or 3 hours above your goal is hard to sustain and disrupts circadian timing. So if your debt is 7 hours, recovery takes 7 nights at one hour over goal.

Nights-in-deficit is a simple count of nights where actual sleep was below goal. This number matters because frequency of deprivation compounds cognitive effects independently of total hours lost. Four nights of mild shortfall is physiologically different from one severe night, even if the totals are identical.

Busy professional with a compressed workweek
Sleep goal 8 hours. Mon 6h, Tue 5.5h, Wed 6.5h, Thu 6h, Fri 7h, Sat 9h, Sun 8.5h.
Total debt comes to 3 hours 30 minutes across four deficit nights. Recovery estimate is 4 nights at one extra hour above goal. The Saturday sleep-in clears some debt but does not fully compensate — the mid-week pattern is the real problem. Shifting bedtime 30 minutes earlier Monday through Thursday would eliminate the deficit within two weeks.
New parent with severely disrupted nights
Sleep goal 7.5 hours. Mon 4h, Tue 3.5h, Wed 4h, Thu 4.5h, Fri 5h, Sat 6h, Sun 5.5h.
Weekly debt totals 16 hours 30 minutes across all 7 nights, with two nights under 4 hours triggering the severe deprivation warning. Recovery would require 17 nights at one extra hour — not realistic in this life stage. The result highlights why this phase is medically recognised as a chronic sleep deprivation risk, and why help sharing night duties matters more than optimising bedtime.
Shift worker auditing a rotating schedule
Sleep goal 8 hours. Mon 9h, Tue 9h, Wed 4h, Thu 4h, Fri 8h, Sat 8h, Sun 8h.
Despite averaging just over 7 hours per night, the two short rotation nights create an 8-hour weekly debt. The calculator shows that banking extra sleep before a shift change does reduce debt but does not eliminate it. A rotating worker would need to reassess whether their stated goal of 8 hours is achievable on rotation days, or whether the rotation schedule itself needs renegotiation.
Expert Unlock
The thing most explanations skip

The model here treats sleep debt as fully additive within a week, which is a simplification. In reality, the harm function is non-linear — two consecutive nights of 5 hours impairs more than the arithmetic suggests, because recovery from sleep loss does not begin until the following night of sufficient sleep. The calculator also cannot account for circadian phase shifts, which occur when schedule irregularity pushes sleep timing later, creating performance deficits even when total hours are met. Users who consistently show low debt but high fatigue should consider whether irregular sleep timing rather than duration is the variable to target.

Can you actually pay back sleep debt over a weekend?

Can you recover from sleep debt by sleeping in on weekends?
You can reduce sleep debt by sleeping more than your usual goal on recovery nights, and the calculator estimates exactly how many such nights you need. However, research consistently shows that while extra sleep repairs some cognitive impairment, it does not fully reverse all physiological effects of accumulated sleep loss — especially when debt is severe or chronic. One or two long weekend nights help at the margin; they are not a complete reset.
How much sleep debt is too much?
Deficits under 2 hours per week are generally manageable. Once your weekly sleep debt crosses 5 hours, cognitive performance, reaction time, and immune function are measurably affected. Above 10 hours of weekly debt — roughly 2 hours short per night — the effects resemble those of mild to moderate sleep deprivation studies. This calculator flags that threshold explicitly.
Does sleep quality count, or just hours?
This calculator measures duration only — hours of sleep obtained versus hours needed. Quality matters enormously in practice: fragmented sleep, poor sleep stages, or sleep apnea can mean 8 hours in bed delivers far less restorative value than 7 hours of uninterrupted sleep. If your debt reads zero but you feel exhausted, sleep quality is likely the variable to investigate next.

Need something this doesn't cover?

Suggest a tool — we'll build it →