Sleep debt: how to calculate it and pay it back
General information · not independently medically reviewed. Review standards.

Sleep debt is the running total of sleep you needed but did not get. To calculate it, subtract the hours you slept from the hours you need for each night, then add up the shortfalls over a recent window such as 14 nights. Paying it back takes longer than a single long weekend: one lab study found that recovering 1 hour of debt took four days of extended sleep.
Below: a worked calculation, what the research says about catching up, and a practical way to repay debt without disrupting your schedule.
What is sleep debt?
Sleep debt is the cumulative difference between your sleep need and the sleep you actually get. If you need 8 hours and sleep 6, you add 2 hours of debt that night. Adults need 7 or more hours per night, according to the American Academy of Sleep Medicine and Sleep Research Society, and individual need varies.
Sleep debt is common. The CDC reports that in 2022 the share of adults not getting enough sleep ranged from 30% in Vermont to 46% in Hawaii, depending on the state.
How do you calculate sleep debt?
To calculate sleep debt, pick your nightly sleep need, subtract each night's actual sleep, and add the shortfalls over a set window. Count only nights where you slept less than you need, or let surplus nights offset debt, depending on the method. Oura, for example, calculates debt over the past two weeks against a personal sleep need estimate.
A worked example for someone who needs 7.5 hours:
| Night | Slept | Shortfall | Running debt |
|---|---|---|---|
| Monday | 6.5 h | 1.0 h | 1.0 h |
| Tuesday | 6.0 h | 1.5 h | 2.5 h |
| Wednesday | 7.0 h | 0.5 h | 3.0 h |
| Thursday | 6.0 h | 1.5 h | 4.5 h |
| Friday | 6.5 h | 1.0 h | 5.5 h |
After five ordinary workdays, this person carries 5.5 hours of debt, the equivalent of most of a night.
How do I know my sleep need?
Start at 7 hours, the minimum the AASM and SRS recommend for adults, and adjust. A practical test: on a vacation with no alarm, after the first few nights, note how long you sleep naturally. A 2016 lab study used this idea: it let people sleep as long as they could for several days and found that each person's sleep settled at an individual optimal duration, with the gap from their habitual sleep at home representing potential sleep debt.
Can you catch up on sleep on the weekend?
Partly. Weekend recovery sleep reduces some effects of a short week but does not erase them. In a controlled lab study, adults sleeping 5 hours on weeknights slept about 1.1 hours extra over a weekend, yet when short nights resumed, their insulin sensitivity dropped by about 9% to 27% compared with baseline.
The authors concluded weekend recovery sleep was not an effective strategy.
| Study | Design | Key finding |
|---|---|---|
| Depner et al. 2019 | 5-hour weeknights, free weekend sleep, then short nights again | Weekend catch-up of about 1.1 h; body weight and after-dinner eating rose; insulin sensitivity fell 9% to 27% |
| Belenky et al. 2003 | 7 nights of 3, 5, 7 or 9 h in bed, then 3 nights of 8 h | In the 5 and 7 h groups, reaction speed showed no recovery over 3 recovery nights |
| Kitamura et al. 2016 | Extended sleep in the lab for several days | Recovering 1 hour of potential sleep debt took 4 days |
Sources: Depner et al., Current Biology, 2019; Belenky et al., J Sleep Res, 2003; Kitamura et al., Sci Rep, 2016.
A long weekend lie-in also shifts your body clock later. The Depner study observed a delay in circadian timing after weekend recovery sleep. That can make Sunday night harder and start the next week with fresh debt.
What does sleep debt do to you?
Chronic sleep debt is associated with steadily worse attention and reaction time, often without feeling much sleepier. In a 14-day lab study, people restricted to 6 hours a night built up attention deficits equivalent to up to 2 nights of total sleep deprivation. Their sleepiness ratings, however, barely changed after the first days.
That gap between performance and perception is the core risk of sleep debt. In the Van Dongen study:
- Performance worsened every day at 4 and 6 hours of time in bed.
- Self-rated sleepiness rose at first and then levelled off.
- The authors concluded that people were largely unaware of their growing deficits.
So "I feel fine on 6 hours" is not reliable evidence that you are fine on 6 hours. Your tracked sleep is a more objective guide. If you feel very sleepy during the day even when you sleep 7 or more hours, talk to a doctor, since that can be a sign of a sleep disorder.
How do you pay back sleep debt?
Pay back sleep debt gradually. Go to bed earlier, keep your wake time fixed, and add a modest amount of sleep each night for a week or more rather than one long lie-in. A fixed wake time keeps your body clock stable, and the extra minutes add up.
Research suggests recovery takes days, so plan for a week, not a weekend.
A practical plan:
- Keep your wake time the same on all seven days.
- Move bedtime 30 to 60 minutes earlier until the debt is gone.
- Protect the routine for a week or longer. One hour of debt took four days to recover in the Kitamura study.
- Then stop the debt growing by making your regular bedtime give you 7 or more hours asleep.
- Watch the trend, not one night.
Caffeine timing matters here too. Caffeine has an average half-life of about 5 hours, so a late coffee can cancel the earlier bedtime. See when to stop caffeine before bed.
Should you nap to reduce sleep debt?
The recovery studies above mostly tested longer nights in bed, not naps. A short nap may help you get through an afternoon, but a long or late nap can make it harder to fall asleep at your planned earlier bedtime. If you nap, keep it early in the afternoon and judge it by how your night goes.
Is a sleep debt calculator accurate?
A sleep debt calculator is only as accurate as two inputs: your real sleep need and your measured sleep. Lab tests show wearables can miss short periods awake (see the sleep score guide), so they may underestimate debt slightly. The bigger error is usually a sleep need set too low.
Start at 7 hours and raise it if you still feel short.
How Svanu tracks sleep debt and sets tonight's bedtime
Svanu reads your sleep from Apple Health and keeps two debt numbers, both shown with their arithmetic. Neither is a medical measure; they are planning aids.
- 14-night debt (the Sleep screen). For each of your last 14 nights with sleep data, it takes the shortfall against your sleep need (a night above need counts as 0, it does not offset other nights) and adds them up. This is the "running debt" column in the table above.
- 3-night debt (tonight's plan). The last 3 nights with data inside the past 7 calendar days, summed the same way. Only recent nights drive tonight's target, so one bad week does not keep inflating it.
Tonight's sleep need is then base need + a strain term + a debt term:
| Term | Rule |
|---|---|
| Base | Your sleep need (the one the Sleep score uses) |
| Strain | 0 below a strain score of 50; above it, 0.6 minutes per strain point, capped at 30 minutes |
| Debt | 33% of the 3-night debt, capped at 45 minutes |
Both extra terms are rounded to the nearest 5 minutes. The plan needs at least 3 nights of history and is not offered during shift-work periods.
A worked example with a 7.5-hour need (450 minutes): your last 3 nights were 7.0, 6.5 and 7.0 hours, so the 3-night debt is 30 + 60 + 30 = 120 minutes, and 33% of that is 39.6, which rounds to 40 minutes. Today's strain is 70, so (70 - 50) x 0.6 = 12 minutes, which rounds to 10. Tonight's need is 450 + 10 + 40 = 500 minutes, or 8 h 20 min. Svanu adds a 15-minute buffer for falling asleep, giving 8 h 35 min in bed. If your median wake time is 06:30, the suggested bedtime is 21:55.
The debt term cap is why a big hole does not produce "go to bed four hours early" advice: with 180 minutes of 3-night debt the raw share is 59 minutes, so the term stops at 45 and the card says it was capped. Debt is paid down over days, matching the gradual approach above. The weights (0.33, 0.6, the caps) are Svanu's own heuristics, not values from the studies cited in this article.
Sleep debt and tonight's bedtime appear on the Sleep screen with your stages and your 0 to 100 sleep score. All of it is computed on your iPhone, with no account needed. See how the app works.
Related reading
Frequently asked questions
How do you calculate sleep debt?
Subtract the sleep you got from the sleep you need for each night, then add up the shortfalls over a recent window such as 14 nights. If you need 7.5 hours and sleep 6.5 hours for 5 nights, your debt is 5 hours.
Can you catch up on sleep on the weekend?
Only partly. In a lab study, people who slept 5 hours on weeknights slept about 1.1 hours extra over the weekend, but their insulin sensitivity still fell when the short nights resumed. Weekend sleep helps but does not erase a weekly pattern of short sleep.
How long does it take to recover from sleep debt?
Longer than most people expect. A lab study found that recovering from just 1 hour of potential sleep debt took four days of extended sleep. Another found performance had not fully recovered after three nights of 8 hours in bed following a week of restriction.
Is it better to nap or sleep in to pay off sleep debt?
Research on recovery mostly tests longer nights in bed. A practical approach is to go to bed a little earlier each night while keeping your wake time fixed, so you add sleep without shifting your body clock.
Do you feel sleep debt?
Not reliably. In a 14-day lab study, people restricted to 6 hours a night kept getting worse on attention tests, but their sleepiness ratings barely rose after the first days. You can underestimate your own debt.
Sources
- Watson NF et al. Recommended Amount of Sleep for a Healthy Adult. Sleep, 2015
- Van Dongen HP et al. The cumulative cost of additional wakefulness. Sleep, 2003
- Belenky G et al. Patterns of performance degradation and restoration during sleep restriction and subsequent recovery. J Sleep Res, 2003
- Kitamura S et al. Estimating individual optimal sleep duration and potential sleep debt. Sci Rep, 2016
- Depner CM et al. Ad libitum weekend recovery sleep fails to prevent metabolic dysregulation. Curr Biol, 2019
- Sleep Debt (Oura Member Care)
- Adults Sleep Facts and Stats (CDC)
This article is for general information and is not medical advice. Svanu is not a medical device.





