How the debt accumulates

Sleep debt is the running total of the gap between the sleep you need and the sleep you got. The arithmetic is trivial; the biology is not.

Most adults need 7 to 9 hours, a range published by the National Sleep Foundation after a large expert review. Take a need of 8 hours and a working week of 6-hour nights:

NightNeedActualNightly deficitRunning debt
Monday8622
Tuesday8624
Wednesday85.52.56.5
Thursday8628.5
Friday86.51.510

Ten hours owed after five nights — more than a full night of sleep missing, built entirely out of nights that felt merely short rather than alarming.

The study that should change how you read that table

This is the most important finding in the field and it is rarely mentioned in sleep-tracking apps. In a controlled laboratory experiment, participants restricted to 6 hours a night for two weeks ended up with cognitive performance comparable to people who had gone 24 hours without any sleep at all.

The part that matters most: their self-rated sleepiness plateaued after a few days. They stopped feeling much worse while continuing to get objectively worse. Chronic restriction removes your ability to judge your own impairment, which is why people routinely insist they function fine on six hours. They are measuring a broken instrument.

Why you cannot repay it in one weekend

Sleeping 11 hours on Saturday does not cancel ten hours of debt, for three reasons:

The practical implication: repay gradually. Adding 30 to 60 minutes a night over a week or two works better than one heroic lie-in, and keeping your wake time roughly constant matters more than the bedtime.

What short sleep actually costs

Beyond feeling tired, sustained restriction is linked in the research literature to impaired glucose regulation, increased appetite through changes in leptin and ghrelin, weakened immune response, higher blood pressure, and impaired memory consolidation — the overnight process that moves the day learning into durable storage. Reaction time deterioration at high sleep debt is comparable in magnitude to meaningful blood alcohol levels, which is why drowsy driving is a serious road-safety category rather than a minor lapse.

Honest limits of this calculation

The subtraction here is only as good as its two inputs, and both are soft:

Persistent unrefreshing sleep despite adequate hours, loud snoring with pauses, or severe daytime sleepiness are reasons to see a doctor rather than a calculator — untreated sleep apnoea and insomnia are common, treatable, and will not respond to arithmetic. This page is general information, not medical advice.

Questions people actually ask

Do naps count toward the debt?

Yes, partially. A 20-minute nap restores alertness without leaving grogginess, and a 90-minute nap covers a full sleep cycle. Naps later than mid-afternoon reduce night-time sleep pressure and can start a cycle of poor nights.

Is it possible to sleep too much?

Consistently sleeping over 9 or 10 hours and still feeling tired is more often a symptom than a cause — of depression, an infection, or an undiagnosed sleep disorder. The observed association between long sleep and poor health outcomes probably runs in that direction.

Does going to bed earlier help more than waking later?

Usually yes, because a fixed wake time keeps your circadian rhythm stable, and deep sleep is concentrated in the first half of the night. Shifting the bedtime earlier is the less disruptive lever.

Is my sleep data stored?

No. The hours you enter are used only in your browser and nothing is transmitted or saved.

Keep exploring Gen Code Tools

Every tool comes with a written guide, and every category is one click away.