Sleep Debt Calculator
Seven nights at 8 hours needed and 6.5 hours slept leaves a debt of 10.5 hours, or 19% of the week. Adding 1.5 hours a night repays it in 7 nights; adding 1 hour takes 11.
| Sleep debt | |
| Sleep needed over these nights | |
| Sleep you got | |
| Gap on an average night | |
| Debt as a share of the need | |
| Nights to repay at your extra hours | |
| Left after a week of that extra sleep | |
| Where that sits |
Everything is worked out in your browser. Nothing you enter is uploaded, logged or stored.
Enter your sleep need, the nights you want to review and your average hours, and see the debt in hours and the nights needed to repay it.
Key takeaways
- Sleep debt is need minus sleep, multiplied by the nights, so 1.5 hours short for a week is a 10.5 hour debt
- Repayment runs at the rate you add: 1 extra hour a night clears 7 hours a week, not 10
- Two 9 hour weekend nights cut a 14 hour weekday deficit to 8 hours, not to zero
- Adults need 7 or more hours; teens 8 to 10, and the gap counts the same at any age
On this page
What sleep debt means
Sleep debt is the running total of the sleep you needed but did not get. If your body wants 8 hours and you give it 6.5 for a week, the gap does not disappear because you felt fine on Tuesday. It adds up: 1.5 hours a night for 7 nights is a debt of 10.5 hours, which is a full night and a half of sleep missing from one week.
The idea is useful because it turns a vague feeling into a number you can act on. It is not a medical diagnosis and no blood test measures it. What researchers can measure is the effect: attention, reaction time and mood track the size of the shortfall more closely than they track how tired you say you feel, which is why people can be deep in debt and still insist they are used to it.
Two people with the same debt are not in the same place. A shift worker who sleeps 6 hours at the same time every night is in a different situation from someone who sleeps 9 hours on Saturday and 4 on Monday. The calculator handles the average; your schedule decides whether the average is the whole story.
How the calculator adds it up
Three numbers do the work: how much sleep you need per night, how many nights you are reviewing, and how much you averaged across them. The calculator multiplies need by nights to get the total your body asked for, multiplies your average by nights to get what it received, and subtracts.
From that it reports a percentage, which is the debt divided by the total need. A 10.5 hour debt against 56 hours of need is 19%, so the week ran about a fifth short. It also reports the nightly deficit, the gap on an average night, because that is the number you can change tonight.
The recovery figure is the part people skip. Sleeping an extra hour a night pays back one hour of debt per night, so 10.5 hours takes about 11 nights at that rate, or 7 nights if you can add 1.5 hours. The calculator uses whole nights, because half a night of extra sleep is not a thing you can schedule.
One caveat on the arithmetic: it treats all hours as equal. An hour of sleep after 4 a.m. is worth less than an hour before midnight for most people, and a night broken by a baby or a snoring dog is not the same as 6.5 uninterrupted hours. The total is a budget, not a sleep lab recording.
Example: one week at six and a half hours
You need 8 hours, you averaged 6.5 over the last 7 nights.
The week called for 56 hours of sleep and delivered 45.5. The debt is 10.5 hours, which is 19% of what the week required, and the nightly gap is 1.5 hours. Add 1.5 hours a night and it takes 7 nights to clear. Add only 1 hour a night and it takes 11 nights, with 3.5 hours still owed after the first week of catching up.
That last number is the one that matters in practice. A single Saturday lie-in of 10 hours covers 2 extra hours and leaves 8.5 hours on the books, and the following Monday starts the deficit again. This is why the debt feels permanent for people who work long weeks: the repayment plan is smaller than the new borrowing.
Example: two weeks at six hours, plus a weekend lie-in
Two weeks at 6 hours a night against a need of 8 hours. The total need is 112 hours, the total received is 84, so the debt is 28 hours, a quarter of the fortnight. At 2 extra hours a night it takes 14 nights to repay, which is another two weeks of perfect sleep.
The weekend version is gentler and more common: 6 hours on five weeknights and 9 hours on both weekend nights. That week asked for 56 hours and got 48, so the debt is 8 hours, or 14%, and 8 nights at 1 extra hour clears it. The weekend did real work: without the two long nights the same week would have been 14 hours short.
What the weekend cannot do is reset the clock. Sleeping until 11 a.m. on Sunday shifts your body's timing later, so Sunday night is harder to fall into and Monday morning is harder to leave. The sleep is banked, the schedule is not.
Why one long lie-in does not clear the ledger
Sleep is not a bank account where a deposit on Saturday cancels a withdrawal on Wednesday. The body recovers on a schedule, and several nights of extra sleep do more than one long one.
The best known lab work on this is a 2003 study that kept people on 4, 6 or 8 hours in bed for 14 nights. The 4 and 6 hour groups got steadily worse on attention tests as the days passed, while the 8 hour group stayed flat. The 6 hour group also stopped reporting that they felt sleepier, so their own sense of how they were doing drifted away from how they performed. Two weeks of 6 hours produced deficits that were still visible after a night of recovery sleep.
Practically, that means two things. First, the feeling of being used to short sleep is not evidence that you are. Second, recovery is a series of nights, not a single event, and it works better when the extra sleep goes to bed earlier rather than to waking later, because the hours before midnight carry more slow wave sleep for most people.
How much sleep you need by age
The need figure in the calculator should come from this table, not from a guess. The ranges below are the ones the CDC publishes, drawn from the National Sleep Foundation and the American Academy of Sleep Medicine.
| Age group | Age | Sleep per day |
|---|---|---|
| Newborn | 0 to 3 months | 14 to 17 hours |
| Infant | 4 to 12 months | 12 to 16 hours, naps included |
| Toddler | 1 to 2 years | 11 to 14 hours, naps included |
| Preschool | 3 to 5 years | 10 to 13 hours, naps included |
| School age | 6 to 12 years | 9 to 12 hours |
| Teen | 13 to 17 years | 8 to 10 hours |
| Adult | 18 to 60 years | 7 or more hours |
| Adult | 61 to 64 years | 7 to 9 hours |
| Adult | 65 and older | 7 to 8 hours |
Use the middle of your range for the calculator. A teenager who needs 9 hours and gets 7 is carrying a 2 hour deficit every night, which is 14 hours across a school week. An adult at 65 who sleeps 7 hours and feels rested is not in debt at all, and the tool will say so.
The CDC page on how much sleep you need is the source for these ranges. The National Heart, Lung, and Blood Institute explains what sleep deprivation does to the body over time, and the American Academy of Sleep Medicine keeps its position statements on sleep duration and school start times.
What to do with the number
If the debt is under 2 hours, there is nothing to fix. Sleep varies, and one short night is not a problem.
If it is 2 to 8 hours, add 30 to 60 minutes to the front of the night for the next week and keep your wake time where it is. Going to bed earlier is easier to sustain than getting up later, and it protects the morning routine that keeps the schedule stable.
If it is 8 hours or more, plan a week of longer nights and expect to feel worse before better. Extra sleep after a long deficit often comes with a heavy, groggy morning, which people read as a sign that the extra sleep is not working. It usually passes in a few days.
A 20 minute nap before 3 p.m. pays back part of a debt without touching the night. Longer naps and late naps push the next bedtime later, which borrows against tomorrow to pay today.
Caffeine has a half life of about 5 hours, so a 3 p.m. coffee is still a quarter strength at 1 a.m. Alcohol shortens the time to fall asleep and then fragments the second half of the night, which is why 8 hours after two drinks does not feel like 8 hours.
See a doctor if you snore heavily, wake gasping, fall asleep while driving or sitting still in the afternoon, or cannot sleep three nights a week for three months. Those are signs of a sleep disorder rather than a sleep debt, and no amount of extra hours fixes them.
Frequently asked questions
How is sleep debt calculated?
Multiply the hours you need by the number of nights, multiply the hours you averaged by the same number, and subtract. Seven nights at 8 hours needed and 6.5 slept is 56 minus 45.5, a debt of 10.5 hours.
Can you catch up on sleep on the weekend?
Partly. Two 9 hour nights after five 6 hour nights cut a 14 hour weekly deficit to 8 hours, but the debt is not zero and the later wake time shifts your body clock.
How many nights does it take to repay 10 hours of sleep debt?
About 7 nights if you add 1.5 hours a night, or 11 nights at 1 extra hour. Recovery is a run of nights, not one long lie-in.
Is 6 hours of sleep enough for an adult?
For most adults, no. Guidance is 7 or more hours a night, and lab studies that held people at 6 hours for 14 nights found steady declines in attention even though the participants stopped feeling sleepier.
Does sleep debt reset after one good night?
No. One long night returns some alertness but not all of it, and performance in the days after a long restriction period stays below baseline for more than one night of recovery.
How much sleep do teenagers need?
8 to 10 hours a night for ages 13 to 17. A teen sleeping 7 hours carries a 2 hour deficit a night, which is 14 hours across a school week.
Can I repay sleep debt with naps?
A 20 minute nap before 3 p.m. repays a little without disturbing the night. A 90 minute nap covers a full cycle but can leave you groggy and make the next bedtime later.
Does sleeping more on Sunday make Monday harder?
Often yes. Waking two or three hours later shifts your body clock, so Sunday night sleep comes later and Monday morning arrives before your body expects it.
What is the difference between sleep debt and insomnia?
Sleep debt is a shortfall you could repay with more time in bed. Insomnia is trouble falling or staying asleep despite having the time, and it needs a different approach, usually behavioral therapy rather than a longer night.
How much sleep do adults over 65 need?
7 to 8 hours a night. Sleep gets lighter and more broken with age, so time in bed may need to be longer than 8 hours to bank 7 hours of sleep.
Does the calculator count weekends separately?
No. It averages all the nights you enter. For a weekday and weekend pattern, run the week twice, once with 5 nights at the weekday figure and once with the 2 weekend nights, then add the two debts.
Is a 3 hour sleep debt worth worrying about?
Not much. That is one short night plus a late evening, and two normal nights clear it. The number to watch is anything that keeps growing week after week.
Why do I feel fine on 6 hours?
Because the feeling of sleepiness adapts faster than performance does. In the 14 night studies, participants on 6 hours rated themselves steadily less sleepy while their test scores kept falling.
Spotted a wrong number or a broken result?
More Health tools
- 10-Year ASCVD Calculator
- 10-Year ASCVD Risk Calculator
- 10-Year CV Risk Calculator
- 10-Year CVD Risk Calculator
- 10-Year CVD Risk Calculator
- 10-Year Cardiac Risk Calculator
- 10-Year Cardiovascular Risk Calculator
- 10-Year Fracture Risk Calculator
- 10-Year Heart Risk Calculator
- 10-Year Risk Calculator
- 10-Year Stroke Risk Calculator
- 10-Years ASCVD Risk Calculator
- 6-Minute Walk Test Calculator
- A1C to Blood Sugar Calculator
- Adjusted Body Weight Calculator
- Alcohol Units Calculator
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.