Sleep Debt Calculator
Use this sleep debt calculator to add up how much sleep you missed over the last 7 nights, compared with the sleep you need.
Updated October 20, 2026
Medical Disclaimer: This calculator gives a general estimate for education only and cannot diagnose a condition. Share your result with your doctor or the clinician who ordered your test, and do not start, stop or change any medicine based on it. Read our full Medical Disclaimer.
How Sleep Debt Is Calculated
Sleep debt is the gap between the sleep you need and the sleep you get, added up over several nights. It is not a diagnosis, and there is no clinical unit for it. This calculator gives a simple tally of missed sleep for the past week.
What Sleep Debt Measures
It measures missed time asleep, in hours and minutes, against a target. It does not measure how well you slept, how sleepy you feel, or your health. It also cannot tell how much of the loss your body has already made up.
The Formula
Shortfall for one night = Sleep need - Time asleep (0 if you met your need)
Sleep debt = Shortfalls from each night added together
Average shortfall per night = Sleep debt / Number of nights entered
The default sleep need is the minimum from the American Academy of Sleep Medicine (AASM) statements on how much sleep adults and children need¹ ².
How This Calculator Computes Your Result
Choose your age group, or enter your own sleep need. Then enter your time asleep for each of the last 7 nights, or one weekly average. Enter time asleep, not time in bed, and leave out naps. Blank nights are skipped.
Age group | Default sleep need | Recommended amount |
Children 6 to 12 | 9 hours | 9 to 12 hours |
Teens 13 to 17 | 8 hours | 8 to 10 hours |
Adults 18 and over | 7 hours | 7 hours or more |
The child and teen figures come from the AASM pediatric statement, endorsed by the American Academy of Pediatrics². The adult figure comes from the AASM and Sleep Research Society statement for ages 18 to 60¹, and the National Sleep Foundation's ranges for older adults also start at 7 hours³. Children under 6 are not included, because naps count toward their sleep².
Using the low end of each range keeps the tool from overstating your debt. If you only feel rested after 8 hours, enter 8 as your own need.
Extra sleep on a long night is shown on its own line and does not reduce your debt. You also see your average shortfall per night and how many nights fell short. Night by night entry is the default because an average can hide short nights. A week of 6 h 30 min, 6 h, 7 h 15 min, 5 h 45 min, 6 h 30 min, 8 h 30 min and 9 h averages just over 7 hours, yet holds 3 h 15 min of debt.
What Your Result Means
Result | What it means |
No sleep debt | You met your sleep need on every night you entered |
Short on some nights | Your average met your need, but at least one night fell short |
Below your sleep need | Your average was below the need you entered, but at or above the minimum for your age group |
Below the recommended minimum | Your average was below the minimum for your age group |
In adults, regularly sleeping less than 7 hours is linked with weight gain, diabetes, high blood pressure, heart disease, stroke, depression and a higher risk of death¹. In children and teens, too little sleep is linked with attention, behavior and learning problems². There is no agreed scale for a "large" sleep debt, so the tool does not grade the size of your number. The AASM advises that people concerned they are sleeping too little or too much should talk with a healthcare provider¹.
Why Short Nights Add Up
In a lab study of 48 healthy adults, some spent 4, 6 or 8 hours in bed each night for 14 days and others went 3 nights without sleep⁴. Those limited to 6 hours or less got steadily worse on attention and thinking tests, reaching deficits similar to up to 2 nights with no sleep at all⁴. Their sleepiness ratings rose at first, then changed little, so they seemed largely unaware of how impaired they were⁴. A written tally can catch what you do not feel.
Can You Catch Up on Sleep Debt?
One or two long nights may not reset everything. In a study of 66 adults, people kept to 3, 5 or 7 hours in bed for 7 nights had not returned to their starting performance after 3 nights of 8 hours in bed⁵. In a 2 week lab study of 36 healthy adults, sleeping in on the weekend did not prevent a drop in insulin sensitivity (how well the body uses insulin to control blood sugar) on a schedule of 5 hour weeknights⁶.
These small lab studies cannot say how much catch-up sleep you need, but they are why this tool does not subtract extra sleep from your debt. To plan bedtimes for the week ahead, use the Sleep Calculator.
Sleep Debt in the Example Week
The example week from the text, against the adult default need of 7 hours. Only the short parts count toward the debt.
- Time asleep up to the 7 h need
- Shortfall (adds to debt)
- Extra sleep (not subtracted)
Show data table
| Night | Time asleep up to the 7 h need | Shortfall (adds to debt) | Extra sleep (not subtracted) |
|---|---|---|---|
| Night 1: 6 h 30 min | Asleep 6 h 30 min | Short by 30 min | – |
| Night 2: 6 h | Asleep 6 h | Short by 1 h | – |
| Night 3: 7 h 15 min | Asleep 7 h 15 min: need met | – | 15 min extra, not subtracted |
| Night 4: 5 h 45 min | Asleep 5 h 45 min | Short by 1 h 15 min | – |
| Night 5: 6 h 30 min | Asleep 6 h 30 min | Short by 30 min | – |
| Night 6: 8 h 30 min | Asleep 8 h 30 min: need met | – | 1 h 30 min extra, not subtracted |
| Night 7: 9 h | Asleep 9 h: need met | – | 2 h extra, not subtracted |
A Note on Accuracy
This is a simple tally, not a medical measure. It relies on your own estimates, and few people know exactly when they fell asleep or how long they lay awake. The default need is a minimum for a whole age group, and yours may be higher. The tool does not measure sleep quality, naps or sleep disorders, and it does not diagnose anything.
Frequently Asked Questions
How do you calculate sleep debt?
For each night, subtract the time you slept from your sleep need, then add up the nights where you fell short. For example, an adult with a 7 hour need who sleeps 6 hours on 5 nights has 5 hours of sleep debt.
How much sleep do you need to avoid sleep debt?
Adults are advised to sleep at least 7 hours a night on a regular basis¹. Teens 13 to 18 are advised to get 8 to 10 hours and children 6 to 12 are advised to get 9 to 12 hours per 24 hours².
Can you make up for lost sleep on the weekend?
Studies suggest a few long nights may not fully reverse a week of short ones⁵ ⁶. In one lab study, weekend sleep-ins did not prevent changes in how the body handles blood sugar⁶.
Is a sleep debt calculator accurate?
The math is exact, but the result is only as good as your sleep estimates and the sleep need you choose. It is a tally of missed hours, not a measure of how impaired or healthy you are.
Sources
Recommended Amount of Sleep for a Healthy Adult, Watson et al., 2015 (AASM and Sleep Research Society)
Recommended Amount of Sleep for Pediatric Populations, Paruthi et al., 2016 (AASM)
Sleep Time Duration Recommendations, Hirshkowitz et al., 2015 (National Sleep Foundation)
The Cumulative Cost of Additional Wakefulness, Van Dongen et al., 2003
Patterns of Performance Degradation and Restoration During Sleep Restriction, Belenky et al., 2003
Weekend Recovery Sleep Fails to Prevent Metabolic Dysregulation, Depner et al., 2019