sleep debt, explained

by Aman Priyadarshi · september 12, 2026

A short night does not vanish when you wake up. It carries forward, and it is repaid more slowly than most people expect. Here is how RestUp keeps the ledger.

What is sleep debt?

Sleep debt is the running total of sleep you have missed against the amount you need, accumulated over recent nights. If your target is eight hours and you sleep six, you add two hours of debt. Sleeping longer than your target on a later night repays some of it, but research on recovery sleep finds that catching up takes several nights, so RestUp counts an extra hour in bed as repaying only a fraction of an hour of debt, and a weekend lie-in rarely clears a week of short nights. RestUp counts sleep debt over a rolling seven-night window on your phone, using the sleep target you set in your profile, and shows it as hours owed together with an estimate of how many days of normal sleep it would take to balance. It is a planning aid, not a medical measurement.

How RestUp counts it

  • Window: the last seven recorded nights, oldest first. Nights older than that fall out of the total.
  • Target: the sleep target in your profile. It is eight hours unless you change it. RestUp does not try to guess your personal need from your data, because that guess would be easy to get wrong and hard to check.
  • Shortfalls add in full. An hour short is an hour of debt.
  • Surplus repays at a quarter. An hour over your target takes fifteen minutes off the debt. The quarter rate is RestUp’s own choice. It is informed by Kitamura and colleagues (2016), who found that recovering from one hour of sleep debt took about four days of extended sleep; the study did not measure a repayment rate per hour.
  • Never below zero. You cannot bank sleep ahead of time.
  • Days to balance: about four days per hour of debt, the recovery time Kitamura and colleagues reported. It is an estimate of how long recovery takes, not a count of nights on target: a night exactly on target has no surplus, so on its own it repays nothing. The debt actually falls in two ways, through the quarter-rate surplus above and through short nights ageing out of the seven-night window. Above two weeks the app stops estimating, because the number would be more precise than the evidence.

The Sleep screen also shows the direction of travel over the last three days: accumulating, recovering or stable, using a fifteen-minute threshold so small wobbles do not read as trends.

Why a long lie-in does not clear the week

Seven nights against an eight-hour target. Three short nights build a debt of five and a half hours; the nights that follow repay only a quarter of each surplus, so even after three long nights and one on target the debt is still over four hours.
The same seven nights, night by night (hours, rounded to two decimals)
NightSleptAgainst targetChange to debtRunning debt
15.52.5 short+2.52.5
262 short+24.5
371 short+15.5
49.51.5 over−0.385.13
5102 over−0.54.63
68on target04.63
791 over−0.254.38

Five nights of six and a half hours against an eight-hour target is seven and a half hours of debt. A ten-hour Saturday repays only half an hour of it under RestUp’s quarter-rate rule. That is deliberately conservative. It reflects the finding that full recovery takes days, though feeling alert can come back sooner: in the same study, measured sleepiness recovered after the first long night.

The practical reading: the way out of sleep debt is a run of ordinary nights, not one heroic one. That is also why the readiness score uses your seven-night average shortfall rather than last night alone.

What to do with the number

RestUp turns the debt into two things you can act on tonight: a wind-down time that fits your chronotype, and a target number of hours that nudges you towards balance without asking for the impossible. If the app says you are two hours in debt, the honest fix is a week of nights a little over target: each extra half hour takes about seven minutes off the total, and the short nights that built the debt drop out of the seven-night window as the week goes on.

Manual nights count towards this ledger, so if the watch died on the charger you can add the night by hand and keep the total truthful.

What sleep debt is not

It is not a diagnosis of insomnia or of any condition, and it is not a measure of sleep quality; a full eight hours of fragmented sleep shows as zero debt. Quality lives in the sleep score and in the recovery signals. Persistent difficulty sleeping is a reason to talk to a doctor, not to chase a number.

Sources

Read next