Sleep debt is the sleep you missed each night, minus the sleep you made up
Say your target is 7 hours. You sleep 6 h 30 min on Sunday, 5 h 45 min on Monday, 6 h on Tuesday, 5 h 30 min on Wednesday and 6 h 15 min on Thursday, which leaves you 5 hours short across five nights. Then you sleep 7 h 45 min on Friday and 8 h 30 min on Saturday, adding 2 h 15 min of extra sleep. The week still ends with a sleep debt of 2 h 45 min.
The calculator above does this arithmetic when you enter the time you slept each night over the last 7 or 14 days. Choosing an age group fills in the lower end of the recommended range as your target. The result shows your average sleep, the nights of 6 hours or less, the nights that met your target, the weekday versus weekend gap, and how many days it would take to pay the debt off by sleeping 15 to 60 minutes more each day. The bar chart shows the shortfall against the target line for each night and the debt as it built up.
Why it helps to write down time asleep night by night
A small, steady lack of sleep is hard to notice yourself. In an experiment where time in bed was limited to 6 hours or less for 14 days, thinking and attention got worse by an amount similar to up to 2 nights without any sleep, yet the participants' own sleepiness ratings barely changed after the first days (Van Dongen 2003). So a record of each night is more reliable than the feeling that you are doing fine.
- Short weekdays, long weekends: the average can look fine, but the bars show 1-2 hours missing on every weekday night.
- A week of exams, deadlines or overtime: switch to 14 days to see how much debt built up and how long it would take to pay it off at 30 minutes more per day.
- Feeling sleepy during the day: counting how many nights met your target is a first clue to whether you are short on sleep or sleepy despite enough of it.
How it is calculated
- Gap per night = target sleep − time actually asleep (positive when you fall short, negative when you sleep more).
- Total missed sleep = sum of the positive gaps, and total extra sleep = sum of the size of the negative gaps.
- Sleep debt = total missed sleep − total extra sleep (zero or less means no debt).
- Average sleep = total time asleep on the nights entered / number of nights entered (blank nights are left out).
- Days to pay off (arithmetic) = sleep debt / extra sleep per day, rounded up.
In the example above, the debt builds up to 30 min on Sunday, 1 h 45 min on Monday, 2 h 45 min on Tuesday, 4 h 15 min on Wednesday and 5 h on Thursday, then falls to 4 h 15 min on Friday and 2 h 45 min on Saturday. Paying off those 2 h 45 min takes 6 days at 30 minutes more a day, or 3 days at 1 hour more. Weekday nights average 6 h and weekend nights (Fri, Sat) average 8 h 8 min, a gap of 2 h 8 min.
Recommended sleep by age group and choosing a target
| Age group | Recommended sleep | Calculator target (lower end) | Source |
|---|---|---|---|
| Ages 6-12 | 9-12 hours | 9 hours | AASM 2016 |
| Ages 13-18 | 8-10 hours | 8 hours | AASM 2016 |
| Adults | 7 or more hours (NSF: 7-9 hours) | 7 hours | AASM and SRS 2015 |
| Ages 65+ | 7-8 hours | 7 hours | NSF 2015 |
The lower end of each range is the line below which people tend to fall short, so it serves as the default target. Needs vary from person to person, so if you still feel sleepy during the day after meeting it, raise the target to 7 h 30 min or 8 hours and recalculate. Japan's Ministry of Health, Labour and Welfare, in its 2023 sleep guide, recommends that adults sleep at least 6 hours.
How fast a nightly shortfall adds up
This is the debt that builds up when you fall short by the same amount every day. The last column is the arithmetic number of days to pay off 7 days of debt by sleeping 30 minutes more each day.
| Average shortfall per day | 7 days | 14 days | 30 days | 7 days of debt at +30 min a day |
|---|---|---|---|---|
| 15 min | 1 h 45 min | 3 h 30 min | 7 h 30 min | 4 days |
| 30 min | 3 h 30 min | 7 h | 15 h | 7 days |
| 45 min | 5 h 15 min | 10 h 30 min | 22 h 30 min | 11 days |
| 1 h | 7 h | 14 h | 30 h | 14 days |
| 1 h 30 min | 10 h 30 min | 21 h | 45 h | 21 days |
| 2 h | 14 h | 28 h | 60 h | 28 days |
Missing 30 minutes a day for a month adds up to 15 hours, and missing 1 hour a day adds up to 30 hours. When the daily shortfall is more than 30 minutes, paying it back at 30 minutes a day takes longer than it took to build the debt. If you were missing 1 hour a day, paying off 7 days of debt takes 14 days.
What research shows when missed sleep piles up
- A decline you do not notice: when time in bed was limited to 6 or 4 hours for 14 days, performance on every task kept getting worse day by day, and the 6-hours-or-less conditions ended up comparable to up to 2 nights without sleep. Sleepiness ratings barely rose after the first days (Van Dongen 2003).
- Reaction speed that did not come back: people limited to 5 or 7 hours in bed for 7 days showed no evidence of recovery in reaction speed even after 3 nights with 8 hours in bed (Belenky 2003, 66 people).
- 4 days for 1 hour: in 15 healthy young men given a 12-hour bed opportunity every night for 9 days, 1 hour of potential sleep debt per night (the gap between a person's optimal sleep and usual sleep) took four days to recover to the optimal level (Kitamura 2016).
Catch-up sleep on weekends and how to pay the debt back
In an experiment where people had a 5-hour sleep opportunity on weekdays and slept as much as they wanted over the weekend, they gained about 1.1 hours of sleep compared with baseline across the weekend, but weekend recovery sleep was not an effective strategy to prevent metabolic dysregulation (Depner 2019). The 2023 sleep guide from Japan's Ministry of Health, Labour and Welfare likewise explains that trying to win back a weekday shortage of sleep (sleep debt) by sleeping in on days off does not let you actually store up sleep. It adds that sleeping in on weekends is like traveling between time zones every weekend, which is also called "social jetlag".
- Secure weekday sleep first: the guide says that needing long sleep on days off is a sign of too little weekday sleep, and recommends reviewing sleep habits so that you can sleep enough on weekdays. The payback bars above are the number of days if you sleep 15 to 60 minutes more every day.
- 6 hours and 2 hours: the same guide cites a survey of people aged 40–64 and describes two findings. People who slept under 6 hours on weekdays had a significantly higher risk of a shorter lifespan even when they slept in on days off. For people who slept 6 or more hours on weekdays, sleeping in by about 1 hour on days off lowered the risk, but a habit of sleeping in by 2 or more hours did not. Roughly compare the "Nights of 6 h or less" count (the guide's line is under 6 hours) and the "Weekday → weekend nights (Fri, Sat)" gap in the results with these two lines.
- Do not build new debt: if nights of 6 hours or less keep slipping in while you pay back, the debt grows again. The bars in the color of the legend entry "Nights of 6 h or less" are those nights.
- Recheck the target: if you have no debt and still feel sleepy during the day, the target may be set too low.
Common mistakes
- Entering time in bed as time asleep: the time to fall asleep and the time awake during the night are not removed, so the debt comes out too small.
- Judging by the average alone: two long weekend nights can hide a shortage over five weekday nights in the numbers, but the pattern of short weekday nights is still there.
- Adding or subtracting sleep quality as time: older calculators multiplied sleep by a quality factor, but there is no evidence for such a factor, so this calculator does not use one. If you wake often or do not feel rested, look into it separately from the hours.
- Reading the payback days as a promise: the payback bars are arithmetic. In research, even several nights of enough time in bed did not bring reaction speed back right away.
Limits and cautions
- This is only arithmetic on time asleep. It does not account for sleep quality, naps, or shifted sleep timing such as shift work.
- Weekend nights are Friday and Saturday nights (the next day is Saturday or Sunday). If your days off differ, treat the weekday versus weekend comparison as a rough guide.
- The default target is the lower end of the range for the age group, not a measure of how much sleep you personally need.
- This is not a diagnosis. If you have trouble falling asleep, snore or stop breathing in your sleep, or have daytime sleepiness that gets in the way of daily life, talk to a sleep specialist. Your entries are calculated in your browser only, and they are kept in the address bar link so the same result can be reopened when you change a value.
As of the study abstracts were checked against PubMed on 2026-10-13, and the Japanese guide against its PDF on the same day. The recommended sleep times come from the same sources as the sleep time calculator, checked on 2026-10-08.
Sources
- 01Watson NF, et al. Recommended Amount of Sleep for a Healthy Adult (AASM and SRS). J Clin Sleep Med 2015"Adults should sleep 7 or more hours per night on a regular basis", ages 18-60
- 02Paruthi S, et al. Recommended Amount of Sleep for Pediatric Populations (AASM). J Clin Sleep Med 2016Ages 6-12: 9-12 hours; ages 13-18: 8-10 hours (per 24 hours)
- 03Hirshkowitz M, et al. National Sleep Foundation's sleep time duration recommendations. Sleep Health 2015Adults 7-9 hours, older adults 7-8 hours
- 04Van Dongen HP, et al. The cumulative cost of additional wakefulness. Sleep 2003Sleep limited to 6 hours or less for 14 days produced deficits equivalent to up to 2 nights of total sleep deprivation; participants were largely unaware of them
- 05Belenky G, et al. Patterns of performance degradation and restoration during sleep restriction and subsequent recovery. J Sleep Res 2003After 7 days at 5 or 7 hours in bed and 3 days of recovery at 8 hours, no evidence of recovery in reaction speed
- 06Kitamura S, et al. Estimating individual optimal sleep duration and potential sleep debt. Sci Rep 201615 healthy young men, 12 hours in bed every night for 9 days. "only 1 h of PSD takes four days to recover to their optimal level"
- 07Depner CM, et al. Ad libitum weekend recovery sleep fails to prevent metabolic dysregulation. Curr Biol 2019Weekend recovery sleep added about 1.1 hours over baseline and did not prevent metabolic dysregulation
- 08Japan Ministry of Health, Labour and Welfare: 健康づくりのための睡眠ガイド2023 (Sleep Guide for Health Promotion 2023)Sleeping in cannot store up sleep, social jetlag, needing long sleep on days off is a sign of too little weekday sleep, survey of ages 40-64. Adults at least 6 hours
Frequently asked questions
How is sleep debt calculated?
For each night, subtract the time you actually slept from your target. Add up the gaps for nights you fell short, then subtract the extra on nights you slept more than the target; the result is your sleep debt. With a 7-hour target, a 6-hour night counts as 1 hour and an 8 h 30 min night counts as −1 h 30 min.
How many hours should I enter as my target?
Choosing an age group fills in the lower end of its recommended range. The AASM recommends 7 or more hours for adults, 8-10 hours for ages 13-18 and 9-12 hours for ages 6-12, and the National Sleep Foundation recommends 7-8 hours for ages 65 and over. If you usually sleep 7 hours and still feel sleepy during the day, try a target of 7 h 30 min or 8 hours.
Does catch-up sleep on the weekend erase sleep debt?
In the calculation, extra sleep reduces the debt by the same amount. In research, though, sleeping as much as people wanted on the weekend did not prevent the metabolic dysregulation caused by short weekday sleep, and Japan's Ministry of Health, Labour and Welfare 2023 sleep guide explains that you cannot actually store up sleep by sleeping in.
Why are nights of 6 hours or less counted separately?
In an experiment that limited time in bed to 6 hours or less for 14 days, thinking and attention got worse by an amount similar to up to 2 nights without sleep, and participants were largely unaware of the decline (Van Dongen 2003). If you feel fine but have many such nights, it is a sign worth checking.
How many days does it take to pay off sleep debt?
The days shown are arithmetic: the debt divided by the extra sleep per day. The body does not recover in a straight line: people limited to 5 or 7 hours in bed for 7 days still showed no recovery in reaction speed after 3 nights with 8 hours in bed (Belenky 2003). In 15 healthy young men given a 12-hour bed opportunity every night for 9 days, 1 hour of potential sleep debt per night took four days to recover to the optimal level (Kitamura 2016).
Should I enter the time I spent in bed?
Enter the time you actually slept. Subtract the time it took to fall asleep and the time you were awake during the night, using the figure from a wearable if you have one or the time from roughly falling asleep to waking up.
What changes when I switch to 14 days?
You enter the time asleep for each of the last 14 nights to see a two-week debt. When you switch from 7 to 14 days, the values you already entered for the latest 7 nights stay in place and the 7 earlier nights are added as blank rows. Nights you leave blank are left out of the calculation.
Should I see a doctor if my sleep debt is large?
This is arithmetic on time asleep, not a diagnosis. If you cannot fall asleep even when you try to sleep enough, snore or stop breathing in your sleep, or have daytime sleepiness that gets in the way of daily life, talk to a sleep specialist.