Log your sleep
Set your nightly sleep need, then log how long you actually slept each night (hours like 6.5 or 6:30 — time asleep, not time in bed). Leave a day blank if you did not track it; blank days add nothing to your debt.
| Night | Slept | Deficit / surplus | Remove |
|---|
Your results
14-day chart
How the math works
For each logged night: deficit = max(0, sleep need − actual sleep), surplus = max(0, actual sleep − sleep need).
- Strict debt = sum of all nightly deficits. Surplus nights never reduce it — the upper bound of what you owe.
- Net debt = strict debt − total surplus, floored at zero. The planning figure; shown alongside strict debt so the optimism is visible.
- Payoff projection = ceil(net debt ÷ extra hours per night). Pure ledger arithmetic — recovery is not strictly 1-to-1 in your body.
Worked example (computed live by this tool’s engine): sleep need 8h/night.
Night 1: slept 6h → deficit 2h
Night 2: slept 7h → deficit 1h
Night 3: slept 5h → deficit 3h
Strict debt: 6h · Net debt: 6h · Payoff: 6 nights at +1 h/night, or 12 nights at +30 min/night (arithmetic estimate).
Sleep need by age
General guidance from the CDC and the American Academy of Sleep Medicine. Your personal need may sit anywhere in the range — the amount you naturally sleep on alarm-free days is your best target.
| Age group | Recommended per night |
|---|---|
| School-age children (6–12) | 9–12 h |
| Teenagers (13–18) | 8–10 h |
| Adults (18–64) | 7–9 h |
| Older adults (65+) | 7–8 h |
Sleep debt FAQs
What is sleep debt?
Sleep debt is the cumulative difference between the sleep your body needs and the sleep you actually get, summed over days or weeks. If you need 8 hours a night but sleep 6, you accumulate 2 hours of debt that night. Stack several short nights and the total grows — along with measurable drops in attention, reaction time, and mood, even when you feel fine.
How does this calculator compute sleep debt?
For each logged day it computes deficit = max(0, sleep need − actual sleep). The strict debt is the sum of all daily deficits. Surplus sleep (nights you slept longer than your need) is tracked separately, and the net balance is strict debt minus surplus, floored at zero. Both numbers are shown so you can see the full picture, not just the optimistic one.
Does sleeping extra on the weekend erase my debt?
Partially, and only for some effects. The calculator counts weekend surplus against the net balance, which is the standard ledger arithmetic. The honest science: a University of Colorado trial (Depner et al., 2019) found that weekend catch-up sleep did not reverse the metabolic damage of weekday sleep loss — reduced insulin sensitivity and extra snacking persisted. Treat the net figure as a planning estimate, not a physiological guarantee.
Can you fully repay sleep debt?
For short-term debt — a few rough nights — yes, mostly: several nights of longer sleep restores alertness and performance. For weeks or months of short sleep, recovery takes weeks of consistent, sufficient sleep, and some researchers argue the ledger metaphor breaks down for chronic deprivation. There is no 1-to-1 exchange rate between lost and recovered sleep.
How long does it take to recover from sleep debt?
As a rough rule, plan about one extra hour of sleep per night for roughly as many nights as your net debt in hours — the calculator projects this for you. After ten days of 6-hour nights, participants in a published recovery study needed a full week of unrestricted sleep to return to baseline performance. Keep wake times fixed and move bedtime earlier rather than sleeping in chaotically.
Why do I feel fine after a week of short sleep?
Your brain adapts its perception of sleepiness faster than it recovers actual capacity. In the landmark Van Dongen et al. (2003) study, people restricted to 6 hours a night for two weeks performed as badly on attention tests as people kept awake for 24 hours straight — yet rated themselves only slightly sleepy. Feeling okay is not evidence that you are okay.
Is it possible to bank sleep in advance?
No. Sleeping extra before a short-sleep period does not protect performance — a 2021 study found preemptive extra sleep had zero impact on the effects of later deprivation. Your body cannot store sleep like a reservoir.
How much sleep do I actually need?
General guidance (CDC, American Academy of Sleep Medicine): school-age children 9–12 hours, teenagers 8–10 hours, adults 18–64 7–9 hours, adults 65+ 7–8 hours. Individual need varies with genetics, activity, and health. The best personal target is the amount you naturally sleep on vacation days with no alarm — use that as your sleep need above.
What is the difference between strict debt and net debt?
Strict debt sums only the deficits and never lets surplus nights offset them — the upper bound of what you owe. Net debt subtracts surplus sleep from strict debt, floored at zero — the optimistic planning figure. If they differ a lot, your weekends are carrying your weekdays, and the science says that only partly works.
Should I track a daily log or just use averages?
A daily log is more accurate because debt accumulates night by night — two 6-hour nights followed by one 10-hour night behave differently in your body than three steady 7.3-hour nights, even though the totals are similar. Log at least 7–14 nights for a meaningful picture.
Does sleep quality matter, or only hours?
Both. This calculator counts time asleep, not time in bed, and it cannot measure quality. Fragmented sleep, apnea, alcohol before bed, and late caffeine all reduce restorative value per hour. If you sleep 8 hours and still feel exhausted, the problem is quality or a medical condition — not arithmetic — and that is a doctor conversation.
What are the warning signs of high sleep debt?
Falling asleep within about 5 minutes of lying down, needing an alarm every day and sleeping far longer whenever you can, a hard afternoon slump, dozing in meetings or as a passenger, a shorter temper, worse focus, and micro-sleeps — seconds-long lapses that are dangerous when driving.
Is this calculator medical advice?
No. It is an educational estimate for tracking sleep patterns. It cannot diagnose sleep disorders such as insomnia or sleep apnea. If you have persistent sleep problems, loud snoring, or daytime sleepiness despite adequate hours, consult a doctor or sleep professional.
Why does the chart show my need as a line?
The dashed line marks your nightly sleep need. Bars below it are nights that added to your debt; bars above it are surplus nights that chipped away at the net balance. The pattern matters as much as the total — five red bars in a row is worse than the same total scattered across a month.
Can naps pay down sleep debt?
Short naps (20–30 minutes) improve alertness and performance the same day, and a 90-minute nap includes a full sleep cycle, which helps more. But naps do not substitute for consolidated nighttime sleep, and late-day naps make that night harder. Log naps as part of a day total only if you track total sleep in 24 hours, not per night.
What is the single most effective way to reduce sleep debt?
Consistency beats heroics: a fixed wake time every day (weekends included, within about an hour), bedtime moved earlier in 15–30 minute steps, and enough nights in a row for the ledger to unwind. One 12-hour weekend lie-in shifts your body clock and wrecks Monday — steady extra hours across a week do the real work.
Sources & further reading
- Van Dongen, H.P.A. et al. (2003). The cumulative cost of additional wakefulness. Sleep, 26(2).
- Depner, C.M. et al. (2019). Ad libitum weekend recovery sleep fails to prevent metabolic dysregulation. Current Biology, 29(6).
- Åkerstedt, T. et al. (2019). Sleep duration and mortality: does weekend sleep matter? Journal of Sleep Research, 28(1).