Sleep Debt Calculator

Last Updated:

Enter your last 7 nights. See how many hours of sleep you owe and get a night-by-night plan to pay them back.

Quick answer: Sleep debt is the sleep you needed minus the sleep you got, added up over the nights you check. Needing 8 hours a night is a 56-hour baseline for 7 nights, so sleeping 46.5 hours leaves 9.5 hours of debt. Paying it back at 1 extra hour a night takes 10 nights, and lab studies suggest real recovery can run slower than that arithmetic.

h
Defaults to 8 for an adult. Type your own number if you know it
Required. Enter hours for all 7 nights, so a missing night isn't counted as 0 hours slept. Use sleep time from your tracker, not time in bed
Optional. Sets the length of the plan below
Optional. Untick to count only the nights you came up short

Your 7-night sleep debt

—

How the sleep debt calculator works

Each night, the calculator subtracts what you slept from what you need. A 6.5-hour night against an 8-hour need is 1.5 hours short. Add the 7 nights and you have your sleep debt, a running total of how far behind you are.

📐 Sleep debt formula

Sleep debt = Σ (needed hours − actual hours) across 7 nights
Positive totalYou owe sleep
Negative totalYou are ahead
Nights to repayDebt ÷ extra hours per night, rounded up

How to use the sleep debt calculator

1

Set the sleep you need

Pick your age group to fill a default, or type your own hours per night.

2

Enter the last 7 nights

Type the hours you actually slept each night, from 7 nights ago to last night. Use sleep time, not time in bed.

3

Choose how longer nights count

Leave the box ticked to let a long night cancel out a short one, or untick it to count only the short nights.

4

Pick your catch-up pace

Choose 30 minutes, 1 hour or 1.5 hours of extra sleep a night.

5

Read your debt and your plan

The result shows the hours you owe, and the table lists a target for each night until the debt is gone.

What is sleep debt, and how is it different from sleep deprivation?

Sleep debt is the gap between the sleep your body needs and the sleep it gets, kept as a running balance. Lose 90 minutes a night for 5 nights and you owe 7.5 hours, close to a whole missed night, even though no single night looked dramatic.

Sleep deprivation is the broader term for being short on sleep, from one all-nighter to months of short nights. Sleep debt is the tally across nights, so it is the number to watch when you are short by a little each night. The calculator uses plain subtraction because that is the version most people mean when they search for it.

Is sleep debt real?

The word is a metaphor, since sleep is not a bank account. The effects behind it are measured, though. In a laboratory study of 48 healthy adults, those held to 6 hours or less in bed a night for 14 nights built up performance deficits equal to up to 2 nights without any sleep. Their own sleepiness ratings barely changed after the first days, so they were largely unaware of the damage (Van Dongen et al., Sleep, 2003). That gap between how you feel and how you perform is the reason to count hours instead of trusting your gut.

How much sleep do you need by age?

This is a sleep debt calculator by age: it fills your nightly need from your age group, and that need is the baseline every night is measured against. The ranges come from the CDC, and the default is our single-point pick inside each range. Teens need the most, adults 18 to 60 need 7 or more hours, and the range narrows again after 60.

Age groupCDC recommended sleepCalculator default
Teen, 13–17 years8–10 hours9 hours
Adult, 18–60 years7 or more hours8 hours
Adult, 61–64 years7–9 hours8 hours
Older adult, 65 years and older7–8 hours7.5 hours

The CDC gives ranges, not one number, and people differ. One laboratory study of extended sleep found that the optimal sleep duration varies from person to person (Kitamura et al., Scientific Reports, 2016). If 8 hours leaves you tired, or you wake rested after 7, type your own figure. The tool accepts anything from 4 to 12 hours. Children and the full age table are on the how much sleep do I need page.

A worked example with real numbers

Say you need 8 hours and this was your week.

NightSleptShort by
7 nights ago6.5 h1.5 h
6 nights ago7 h1 h
5 nights ago6 h2 h
4 nights ago7.5 h0.5 h
3 nights ago6.5 h1.5 h
2 nights ago6 h2 h
Last night7 h1 h
Total46.5 h9.5 h

The week should have been 56 hours (8 × 7). You got 46.5, an average of 6.6 hours a night, so you owe 9.5 hours. At 1 extra hour a night that is 10 nights: nine nights of 9 hours, then 8.5 on the tenth. At 30 minutes extra it takes 19 nights. At 1.5 hours extra it takes 7.

The tick box changes the answer when you have a long night in the mix. Suppose the 7.5-hour night had been 10 hours. With the box ticked, that 2 hours of surplus offsets the debt and you owe 7 hours. Unticked, only the short nights count and you owe 9. Tick it if you think a long night repays earlier shortfalls. Untick it for a stricter count.

How long does it take to recover from sleep debt?

On paper, 1 extra hour a night repays 1 hour of debt a night. The lab studies say the real answer is longer, and they agree with each other.

  • Belenky et al. (Journal of Sleep Research, 2003): 66 volunteers spent 3, 5, 7 or 9 hours a day in bed for 7 days, then 8 hours a day for 3 days. Reaction speed in the 5-hour and 7-hour groups showed no sign of recovering during those 3 days. The 3-hour group bounced back fast after the first night, but only part of the way.
  • Banks et al. (Sleep, 2010): after 5 nights at 4 hours, volunteers (159 were enrolled) each got one recovery night of 0 to 10 hours in bed. Even at 10 hours in bed, reaction performance, sleepiness and fatigue were still short of baseline.
  • Kitamura et al. (Scientific Reports, 2016): when the gap between a person's optimal sleep and their habitual sleep was only 1 hour, it took four days of extended sleep to recover to the optimal level.

Read together, they say two things. One long night does not clear a week. And the nights in the plan are the earliest you could be square, not a promise. Judge your progress by how alert you feel, and keep the plan going a few nights past the finish line if you still feel behind.

Sleep debt from weeks, months or years

The calculator reads 7 nights. If your last week looks like every week, you have been running that deficit for a long time, and the 7-night total understates what you owe. No study read for this page gives a repayment time for months or years of debt, so we do not invent one. Pay down the week in front of you, keep a steady schedule, and see a doctor if you stay tired after several weeks of enough sleep.

Sleep debt after a baby

Broken sleep adds up as fast as short sleep. If you wake for feeds, count the hours you actually slept in each 24 hours, naps included, and enter that against each night. Then treat the plan as a target to grow toward, not a rule you broke. Use the nap calculator to place short rests where they help most.

How to repay sleep debt the right way

Catching up on sleep works when you spread it out. Four habits do most of the work.

Add 30 to 60 minutes a night. This is common practice rather than a measured rule. The pace menu goes up to 1.5 hours for anyone who wants a shorter plan, but 30 to 60 minutes is easier to sustain.

Go to bed earlier instead of sleeping in. A steady wake-up time keeps your body clock in place, and you can work out your bedtime with the sleep calculator or fit it to 90-minute cycles with the sleep cycle calculator.

Keep going for the whole plan. The plan table lists a target for every night, and the last night is usually a partial one. Stopping after 3 or 4 good nights is an easy way to let the debt come back.

Do not lean on caffeine to cover the gap. It masks sleepiness, and the Van Dongen volunteers already underrated how impaired they were.

How to catch up on sleep fast without oversleeping

You cannot repay sleep debt fast. The studies above show even a 10-hour night leaves a gap. The closest thing to fast is the 1.5-hour pace for a week, which suits a light or moderate debt. For a heavy debt, spread the repayment over more nights instead of sleeping until noon, because in the Depner study below the body clock shifted later after a weekend of sleeping in.

After an all-nighter or on night shift

Enter the sleep you really got in each 24-hour period, even if it was 0 or 2 hours. The calculator only adds hours, so it works for any schedule. The repayment plan assumes you can add the extra at your usual sleep time, which is harder on rotating shifts, so a longer plan is realistic.

Does weekend catch-up work?

It helps a little and fixes less than people hope. In a laboratory study of 36 healthy young adults, one group had a short workweek of sleep, then two days of free weekend sleep, then two more short nights. Over the weekend they slept about 1.1 hours more than baseline, and their after-dinner eating dropped. Once the short nights returned, their body clock shifted later, they ate more after dinner and gained weight. Insulin sensitivity fell by 9 to 27 percent, depending on the measure. The authors concluded that weekend recovery sleep is not an effective way to prevent the metabolic effects of repeated short sleep (Depner et al., Current Biology, 2019).

It was a small study over nine days, so it does not prove what a lifetime of sleeping in does. It does explain why a Saturday of sleeping in rarely fixes Monday. A modest extra every night is the better plan.

What sleep debt does to you

In the Van Dongen study, volunteers held to 4 or 6 hours showed deficits that grew night after night across the 14 days, on every cognitive task tested. Lapses in attention rose in line with the total time awake beyond about 16 hours. The Banks study measured sleepiness and fatigue as well, and both stayed elevated after a single recovery night. In plain terms, you react slower, you lapse, you feel flat, and you may not notice how much.

The calculator labels a 7-night total as light (under 5 hours), moderate (5 to 10 hours) or heavy (over 10 hours). Those bands are our planning labels, not medical thresholds. Do not drive or run machinery when you are drowsy, whatever your total says.

When sleep debt signals something more

If your debt keeps climbing even when you give yourself enough time in bed, something may be stopping you from using that time. Insomnia, sleep apnea and restless legs syndrome are commonly cited examples. Loud snoring, gasping at night or heavy daytime sleepiness despite a full night in bed are worth raising with a doctor, rather than hoping willpower fixes it.

Using hours from a tracker, and other sleep tools

This calculator is not a medical service, and its age ranges come from the CDC.

If you wear a tracker or a ring, type its sleep total, not time in bed. Time in bed runs longer than time asleep, so using it hides a debt that exists. Wearables and apps often show their own sleep debt score, and they may weight recent nights or use a longer window, so their number can differ from this plain 7-night sum.

Not sure this is the sleep tool you want? Use the sleep calculator to pick a bedtime or wake-up time, the sleep cycle calculator for 90-minute cycles, the nap calculator for daytime rest, and how much sleep do I need for every age group. This page answers one question: how much sleep you owe, and how to repay it.

Common mistakes with sleep debt

Four slip-ups account for most wrong totals. Entering time in bed instead of time asleep makes the debt look smaller than it is. Using 8 hours for everyone ignores that your own need may sit higher or lower. Letting one very long weekend night cancel out a hard week can hide a real shortfall, which is what the tick box is for. And a 7-night window shows only this week, so a clean total after a rest week says little about the month. Also useful: Click Speed Test.

⚠️ Disclaimer This is an educational planning tool, not medical advice. If you have persistent trouble sleeping, excessive daytime tiredness, or suspect a sleep disorder, see a doctor.

Frequently asked questions

Subtract the sleep you got from the sleep you needed for each night, then add the nights up. Needing 8 hours and sleeping 6.5 gives 1.5 hours of debt for that night. Over 7 nights the calculator sums every night, and you can choose whether a longer night cancels out a short one.

Sleep deprivation is being short on sleep, from one missed night to a long run of short ones. Sleep debt is the running total of the shortfall across nights, which is why it is the number to track when you lose an hour or two a night rather than a whole night.

Yes, in the way that matters. Short sleep adds up to measurable drops in performance, and you may not feel them. The 14-night laboratory study described above is the clearest example (Van Dongen et al., Sleep, 2003).

Longer than the arithmetic says. Adding 1 hour a night clears 1 hour of debt a night on paper, but in lab studies reaction speed in two groups was still reduced after 3 recovery nights, and a 10-hour recovery night left sleepiness and fatigue above baseline. Use the plan as the earliest finish date and judge progress by how alert you feel.

Common practice is to add 30 to 60 minutes of sleep a night for as many nights as the plan shows, by going to bed earlier while keeping your wake-up time steady. A smaller, steady extra works better than one very long catch-up night.

Not in one night. After 5 nights at 4 hours, even a 10-hour recovery night left reaction performance, sleepiness and fatigue short of baseline in a controlled study (Banks et al., Sleep, 2010), so full recovery takes several nights of enough sleep.

No official cutoff exists. This page labels under 5 hours light, 5 to 10 hours moderate and over 10 hours heavy for a 7-night total. These are our planning bands, not medical thresholds. Debt that keeps rebuilding despite enough time in bed is worth raising with a doctor.

Partly. In a small laboratory study, weekend recovery sleep did not prevent the drop in insulin sensitivity that came with a short week (Depner et al., Current Biology, 2019). A modest extra every night beats two long weekend mornings.

Enter the hours you actually slept in each 24-hour period, even if that is 0 or 2, whenever the sleep fell. Then follow the plan: an earlier bedtime and a fixed wake-up time, with a short nap if you need one to get through the day.

Yes, this one. Pick your age group and it fills the nightly need: 9 hours for teens, 8 for adults and ages 61 to 64, and 7.5 for ages 65 and over. These are our single-point picks inside the CDC ranges, and you can type your own number.

No. Caffeine can make you feel more awake, but it adds no sleep to the tally. The hours you owe are still there when it wears off.

A short-term debt is recoverable with enough sleep, though recovery can take longer than the arithmetic suggests. Years of short sleep are a different question, so raise it with a doctor if you stay tired.

It is free, needs no app or signup and runs in your browser. The hours you type are used on the page only and are not stored.