About the Sleep Debt Calculator
Sleep debt is the running gap between the sleep your body needs and the sleep you actually get. Losing an hour here and there feels harmless, but over a week it adds up — five nights of 6 hours when you need 8 is a 10-hour deficit, the equivalent of missing more than a full night.
Enter your usual nightly sleep need and the hours you slept each night of the past week. The calculator totals your debt (or surplus), shows your average, counts the nights you fell short and estimates how many nights of extra sleep it would take to pay the debt back without wrecking your schedule. It suits shift workers, students, new parents and anyone who suspects weekday short sleep is catching up with them.
Most adults need at least 7 hours a night; teenagers and children need more. Recovery works best gradually — adding 30–60 minutes a night or a short early-afternoon nap — rather than one very long weekend lie-in that can shift your body clock.
With the default inputs, the sleep debt this week is 6.5 hours. Change any value above to recalculate instantly.
How to use the sleep debt calculator
- 1Enter how many hours you need to feel fully rested (7–9 for most adults).
- 2Enter the hours you actually slept each night last week.
- 3Set how much extra sleep you could realistically add per night.
- 4Read your total sleep debt, average and recovery plan.
Formula and method
Your weekly sleep need is your nightly need multiplied by seven. The calculator subtracts the total hours you actually slept; a positive gap is sleep debt, a negative gap is a surplus. Nights that fall short of your need are counted separately so you can see whether the debt comes from one bad night or a steady pattern.
Recovery nights assume you add the same amount of extra sleep each night until the debt is repaid, rounded up to whole nights. This is a planning estimate: research suggests a few nights of extra sleep restores alertness after short-term loss, but it may not fully undo the effects of chronic sleep restriction.
- need
- Hours of sleep you need each night
- Σ nightly sleep
- Total hours slept over the 7 nights
- extra
- Additional hours you can sleep per night while recovering
Worked examples
Busy workweek with a weekend lie-in
The week totals 49.5 hours against a need of 8 × 7 = 56 hours, leaving 6.5 hours of debt even after long weekend nights. Five nights fell short, and adding one extra hour a night would take 7 nights to catch up.
A steady 7 hours when you need 7.5
Thirty minutes short every night adds up to 3.5 hours by the end of the week. At one extra hour per night, it takes 4 nights (rounded up) to recover.
Need of 7 hours — no debt
The same week of 49.5 hours comfortably covers a 49-hour weekly need, leaving a 30-minute surplus, so no recovery is required.
Frequently asked questions
What is sleep debt?+
Sleep debt, or sleep deficit, is the cumulative difference between the sleep you need and the sleep you get. Sleeping 6 hours a night when you need 8 builds 2 hours of debt every night.
Can you make up for lost sleep?+
Short-term debt can largely be recovered by sleeping a little longer for several nights or taking short naps. Long-term chronic sleep loss is harder to reverse fully, so a consistent schedule is the best fix.
How much sleep do adults need?+
Sleep experts recommend at least 7 hours per night for adults aged 18–60. Teenagers generally need 8–10 hours and school-age children 9–12 hours, so enter a need that suits your age.
Is sleeping in on the weekend a good way to recover?+
A modest lie-in helps, but sleeping several hours later than usual shifts your body clock and can make Sunday night harder. Adding 30–60 minutes a night over several days is gentler.
How do I know my personal sleep need?+
On a holiday with no alarm, note how long you naturally sleep after the first few nights once any debt has cleared. That settled duration is a good estimate of your nightly need.
This tool gives general estimates and is not medical advice. Talk to a doctor or qualified professional about your health, diet or training.