Sleep

Sleep Debt Calculator

Work out how far behind on sleep you are over the last week, see the arithmetic behind it, and what the research actually says about catching up.

Hours actually slept, last 7 nights

Sleep debt is (nights × your nightly target) − hours actually slept. Seven nights aiming for 8 hours is a 56-hour goal; sleeping 49 leaves a 7-hour debt.

How to calculate sleep debt

There is no model here, just one subtraction. Decide the sleep you are aiming for, multiply it by the number of nights, and take away what you actually slept:

  • Target = nights × hours you aim for
  • Sleep debt = target − hours actually slept

The arithmetic is trivial. The judgement is entirely in the target you choose, and that is where most sleep-debt calculators quietly mislead — they assume 8 hours for everyone and then present the shortfall as though it were a measurement.

Two numbers, not one

The calculator above reports both a net figure and the total shortfall on the short nights alone, and they are usually different. If you sleep five hours on Tuesday and ten on Sunday, the net figure treats those as cancelling out. They do not cancel in any physiological sense — recovery sleep restores some function, but it is not an accounting entry that zeroes the ledger.

Most calculators show only the net number, which flatters a pattern of short weekdays and long weekends. Where the two figures diverge, the larger one is the more honest description of the week you actually had.

What the research found

The clearest evidence on accumulating short sleep comes from a 2003 study in the journal Sleep. Van Dongen and colleagues held healthy adults at 4, 6 or 8 hours in bed per night for 14 consecutive nights. Those restricted to 6 hours or less accumulated cognitive deficits that the authors described as equivalent to up to two nights of total sleep deprivation.

The more useful finding for anyone using a calculator like this one is the second: sleepiness ratings suggested the participants were largely unaware of how impaired they had become. Feeling fine after a run of short nights is not evidence of being fine. That is precisely why a number on a page is worth more here than self-assessment.

How much sleep to aim for

AgeRecommended nightly sleep
18–60 years7 or more hours
61–64 years7–9 hours
65 years and over7–8 hours

CDC recommendations for adults. Eight hours is a common default, not a rule.

Set the target to what leaves you alert without an alarm rather than to a round number. If you consistently need an alarm to wake and feel sharp only after coffee, the target you have set is probably below the one your body is asking for.

What this does not tell you

It counts hours, and hours are not the whole of sleep. Timing, consistency, and whether the sleep was fragmented all matter, and none of them appear in a subtraction. Someone sleeping seven broken hours across a shifting schedule is not in the same position as someone sleeping seven solid ones at the same time each night, even though this calculator would score them identically.

Self-reported sleep is also usually an overestimate — people count time in bed. If you wear a tracker, use its figure instead. And if short or poor sleep is persistent rather than a bad week, that is worth raising with a doctor rather than managing with arithmetic; ongoing insomnia and sleep apnoea are treatable and will not show up in a number like this one.

If you want to plan bedtimes around complete sleep cycles rather than count a deficit, the sleep calculator works out when to go to bed or wake up.

This is general information, not medical advice.

Frequently asked questions

How do you calculate sleep debt?

Multiply the sleep you aim for by the number of nights, then subtract what you actually slept. Seven nights at an 8-hour target is a 56-hour goal; sleeping 49 hours leaves a 7-hour debt. There is no model or estimate in that — it is one subtraction. The judgement is in the target you pick, not the arithmetic.

Is sleep debt real?

The accumulation is measurable. In a 2003 study in the journal Sleep, Van Dongen and colleagues restricted healthy adults to 4, 6 or 8 hours a night for 14 consecutive nights. Those held at 6 hours or less developed cognitive deficits the authors described as equivalent to up to two nights of total sleep deprivation. The striking part was that sleepiness ratings suggested participants were largely unaware of how impaired they had become.

Can you catch up on sleep at the weekend?

Partly, and less cleanly than the arithmetic suggests. Recovery sleep does restore some function, which is why the calculator above shows a net figure. But a 10-hour Sunday does not undo a 4-hour Tuesday in any physiological sense, which is why it also shows the total shortfall across the short nights separately. Treat the larger of the two as the more honest picture of your week.

How much sleep should I actually be aiming for?

The CDC recommends 7 or more hours a night for adults aged 18 to 60, 7 to 9 hours for ages 61 to 64, and 7 to 8 hours for 65 and over. Eight hours is a common default but it is not a rule — the useful target is the amount that leaves you alert without an alarm, which for most adults sits somewhere in that band.

Why is my tracker's number different from this one?

Because they measure different things. This uses the hours you believe you slept; a wearable estimates time actually asleep, and subtracts the time you were awake in bed. Self-reported sleep is usually the more generous of the two. If you use a tracker, enter its figure rather than your time in bed.

Sources

The thresholds and formulas used by this calculator follow the primary sources above. This tool provides general information, not personalised medical advice.