A sleep debt calculator tells you how much sleep you have missed over the last week. If you need 8 hours of sleep a night and you only sleep 7 hours, you build up 1 hour of sleep debt that night. Do the same thing for 7 nights in a row and the debt grows to 7 hours. That is almost a whole night of sleep that your body is still waiting for, and it is why you can feel tired, slow and forgetful even when you think you slept reasonably well.
This free sleep debt calculator works out your total sleep debt in hours and minutes, your average sleep per night, your average shortfall per night, and how many nights it will take to repay the debt if you add a set amount of extra sleep each night. Enter the hours you slept on each of the last 7 nights, or enter your average sleep per night and use the Fill button to fill all 7 nights at once. The calculator does the rest, with no sign up and no personal details.
Sleep debt is not a medical diagnosis, and this sleep debt calculator does not replace advice from a doctor. It is a simple planning tool. If you have slept badly for a long time, if you fall asleep during the day without meaning to, or if you snore loudly and wake up gasping, speak to a doctor. Those can be signs of a sleep problem that extra sleep alone will not fix.
How to Use This Sleep Debt Calculator in 5 Steps
- Enter the sleep you need each night. For most adults this is 8 hours. Teenagers usually need 9 hours, and some adults feel best on 7 hours. Use the amount that leaves you rested on a normal day.
- Enter the hours you slept on each of the last 7 nights. Night 1 is the earliest night in the week and Night 7 is last night. Use hours and decimals, so 6 hours 30 minutes is 6.5. If you slept 0 hours on a night, enter 0.
- Or use your average instead. If you do not remember each night, enter your average sleep per night in the optional box and press the Fill all 7 nights with average button. The sleep debt calculator fills in all 7 nights with that average.
- Choose how much extra sleep you can add each night. The default is 0.5 hours, which is 30 minutes. A realistic plan is 30 to 60 minutes of extra sleep a night, by going to bed earlier.
- Press Calculate Sleep Debt. Read your total sleep debt, your average sleep, your average shortfall, and the number of nights needed to repay the debt. Use Copy Result to save the plan, or Reset to start again.
Work in whole nights where you can. If you only remember roughly how long you slept, round to the nearest half hour. A rough answer that you act on is far more useful than a perfect answer that you never work out. Re-run the sleep debt calculator at the end of each week while you are repaying the debt, so you can watch the total fall.
What Is Sleep Debt?
Sleep debt is the difference between the sleep your body needs and the sleep it actually gets, added up over time. Sleep researchers also call it sleep deficit. If your body needs 8 hours a night and you sleep 6 hours, you are 2 hours short that night. The next night you sleep 7 hours, you are 1 hour short again. After those two nights your sleep debt is 3 hours. The debt keeps growing as long as you keep sleeping less than you need, and it only falls when you sleep more than you need.
A small sleep debt is normal. Almost everyone builds up an hour or two after a busy week, a late night, a new baby, a long journey or a change in shift pattern. A small debt usually clears after one or two longer nights, and most people feel the difference quickly. A large sleep debt is different. After many short nights the debt can reach 10, 15 or even 20 hours, which is like missing two whole nights of sleep. At that point tiredness, poor concentration, low mood and mistakes at work or while driving become much more likely.
Sleep debt is not the same as feeling tired for one evening. One short night can make you tired the next day without leaving a large debt behind. Sleep debt is the running total. That is why counting it over a full week, as this sleep debt calculator does, gives a fairer picture than looking at a single night. A week is long enough to show a pattern, and short enough to remember, or to check against a sleep tracker or a simple sleep diary.
Sleep debt also explains why a single long lie-in does not always fix a bad week. If you are 9 hours in debt, sleeping 2 hours longer on Saturday only clears 2 hours. You are still 7 hours in debt on Sunday. A steady plan, adding 30 to 60 minutes every night for a week or two, clears the debt more reliably and keeps your body clock settled. That is the plan this sleep debt calculator works out for you.
How Is Sleep Debt Calculated?
The sleep debt calculator uses simple subtraction, night by night, then adds the nightly shortfalls together. There is no complicated formula and no hidden weighting. The steps are the same for every person, and only the numbers change.
- Total sleep needed in 7 nights = sleep needed each night x 7. For 8 hours a night, that is 8 x 7 = 56 hours.
- Total sleep actually slept in 7 nights = Night 1 + Night 2 + Night 3 + Night 4 + Night 5 + Night 6 + Night 7. Add the hours for all 7 nights together.
- Total sleep debt = total sleep needed - total sleep actually slept. If the answer is 0 or less, there is no sleep debt.
- Average sleep per night = total sleep actually slept / 7.
- Average shortfall per night = sleep needed each night - average sleep per night.
- Nights to repay the debt = total sleep debt / extra sleep per night, rounded up to the next whole night. You cannot repay part of a night in this plan, so a result of 10.7 nights becomes 11 nights.
An example makes the method clear. Suppose you need 8 hours a night, so you need 56 hours in a week. Suppose you slept 47 hours in that week. Your sleep debt is 56 - 47 = 9 hours. Your average sleep is 47 / 7 = 6.71 hours, which is 6 hours 43 minutes. Your average shortfall is 8 - 6.71 = 1.29 hours, which is 1 hour 17 minutes a night. If you add 1 hour of extra sleep each night, you need 9 / 1 = 9 nights to repay the debt. If you add 30 minutes each night, you need 9 / 0.5 = 18 nights. The sleep debt calculator shows all of these figures at once, so you can choose a repayment speed that fits your life.
Minutes are converted carefully. The calculator works in hours with decimals, then converts the answer back to hours and minutes. So 0.5 hours is 30 minutes, 0.25 hours is 15 minutes, and 0.75 hours is 45 minutes. A total of 6.71 hours is 6 hours and 43 minutes, because 0.71 x 60 = 42.6 minutes, rounded to 43 minutes. Small rounding differences of a minute or two do not change the plan.
Worked Examples for Wednesday, 25 November 2026
All of the worked examples below are dated Wednesday, 25 November 2026, and use the 7 nights ending on Tuesday, 24 November 2026. That week runs from Wednesday, 18 November 2026 to Tuesday, 24 November 2026. Check the weekday arithmetic first: 25 November 2026 is a Wednesday, so 24 November is a Tuesday, 23 November is a Monday, 22 November is a Sunday, 21 November is a Saturday, 20 November is a Friday, 19 November is a Thursday, and 18 November is a Wednesday. The 7 nights are those 7 dates, in order.
Example 1: an adult who needs 8 hours a night. In the week ending Tuesday, 24 November 2026, this person slept 7 hours on Wednesday, 18 November, 6 hours 30 minutes on Thursday, 19 November, 7 hours on Friday, 20 November, 5 hours 30 minutes on Saturday, 21 November, 8 hours on Sunday, 22 November, 6 hours on Monday, 23 November, and 7 hours on Tuesday, 24 November. Add those together: 7 + 6.5 + 7 + 5.5 + 8 + 6 + 7 = 47 hours slept. The person needed 8 x 7 = 56 hours. The sleep debt is 56 - 47 = 9 hours, which is 540 minutes. The average sleep is 47 / 7 = 6.71 hours, or 6 hours 43 minutes a night. The average shortfall is 1 hour 17 minutes a night. To repay 9 hours at 1 hour extra per night takes 9 nights. At 30 minutes extra per night it takes 18 nights, and at 45 minutes extra per night it takes 12 nights. This is the example already loaded in the sleep debt calculator above, so you can press Calculate Sleep Debt and check that you get the same 9 hour answer.
Example 2: an adult who needs 7 hours 30 minutes a night. In the same week ending Tuesday, 24 November 2026, this person slept exactly 7 hours every night, from Wednesday, 18 November to Tuesday, 24 November. Total slept is 7 x 7 = 49 hours. Total needed is 7.5 x 7 = 52 hours 30 minutes. The sleep debt is 52.5 - 49 = 3 hours 30 minutes. The average shortfall is 30 minutes a night. To repay 3 hours 30 minutes at 30 minutes extra per night takes 7 nights. At 1 hour extra per night it takes 3.5 nights, rounded up to 4 nights. This is a small debt, and a week of slightly earlier bedtimes clears it.
Example 3: a teenager who needs 9 hours a night. In the week ending Tuesday, 24 November 2026, this teenager slept 8 hours on Wednesday, 18 November, 8 hours on Thursday, 19 November, 7 hours 30 minutes on Friday, 20 November, 8 hours on Saturday, 21 November, 9 hours on Sunday, 22 November, 6 hours 30 minutes on Monday, 23 November, and 8 hours on Tuesday, 24 November. Total slept is 8 + 8 + 7.5 + 8 + 9 + 6.5 + 8 = 55 hours. Total needed is 9 x 7 = 63 hours. The sleep debt is 63 - 55 = 8 hours. The average sleep is 55 / 7 = 7.86 hours, or 7 hours 51 minutes a night. To repay 8 hours at 45 minutes extra per night takes 8 / 0.75 = 10.67 nights, rounded up to 11 nights. At 1 hour extra per night it takes 8 nights.
Example 4: a shift worker who needs 8 hours a night. In the week ending Tuesday, 24 November 2026, this shift worker slept 6 hours every night, from Wednesday, 18 November to Tuesday, 24 November. Total slept is 6 x 7 = 42 hours. Total needed is 8 x 7 = 56 hours. The sleep debt is 56 - 42 = 14 hours. That is a large debt, almost two whole nights of sleep. To repay 14 hours at 1 hour extra per night takes 14 nights. At 30 minutes extra per night it takes 28 nights. A shift worker in this position should add extra sleep steadily, keep the same sleep times on work days and rest days where possible, and not try to clear the whole debt in one weekend.
| Person | Needed per night | Total slept, 18 to 24 November 2026 | Sleep debt | Nights to repay at 1 hour extra per night |
| Adult, Example 1 | 8 hours | 47 hours | 9 hours | 9 nights |
| Adult, Example 2 | 7 hours 30 minutes | 49 hours | 3 hours 30 minutes | 4 nights |
| Teenager, Example 3 | 9 hours | 55 hours | 8 hours | 8 nights |
| Shift worker, Example 4 | 8 hours | 42 hours | 14 hours | 14 nights |
Try each example in the sleep debt calculator above. Change the needed sleep, change the 7 nightly figures, and change the extra sleep per night, and watch the debt and the repayment time change. That is the fastest way to see how much difference 30 minutes a night makes over a week.
5 Common Uses for a Sleep Debt Calculator
- After a run of short nights. A busy week at work, a deadline, exams, or a house move can leave you short of sleep for several nights in a row. A sleep debt calculator turns a vague feeling of tiredness into a number, and turns that number into a plan.
- After a new baby or a change in shift pattern. Broken sleep and night shifts build debt quickly. Counting the debt helps you decide whether you need one longer night, or a steady week of earlier bedtimes.
- After travel and jet lag. Long flights, early starts and time zone changes all cut into sleep. Work out the debt when you get home, then repay it a little at a time instead of trying to sleep for 12 hours in one go.
- Before an important week. If you have exams, a driving test, a job interview or a big presentation coming up, check your sleep debt first. Clearing even half of a moderate debt before the big day can improve concentration and memory.
- As a weekly check-in. Run the sleep debt calculator every Wednesday, for example, using the last 7 nights. If the debt is growing week by week, your bedtime or your routine needs to change. If it is falling, your plan is working.
Parents use a sleep debt calculator for teenagers, too. A teenager who needs 9 hours and sleeps 7 hours on school nights builds up 2 hours of debt every school night, which is 10 hours by Friday. That explains a lot of weekend lie-ins. The honest answer is not to ban the lie-in, but to move the school night bedtime earlier by 30 to 45 minutes and to keep the weekend wake time within an hour of the school day wake time.
How Much Sleep Do You Need?
How much sleep you need depends mainly on your age. The figures below are the usual ranges given by sleep health bodies. Use the middle of the range as a starting point in the sleep debt calculator, then adjust it to your own experience. If you wake up rested without an alarm and stay alert through the afternoon, your figure is about right.
| Age group | Usual sleep needed per night |
| Children, 6 to 12 years | 9 to 12 hours |
| Teenagers, 13 to 18 years | 8 to 10 hours |
| Adults, 18 to 64 years | 7 to 9 hours |
| Older adults, 65 years and over | 7 to 8 hours |
Some adults genuinely feel best on 7 hours, and some need 9 hours. Both are normal. What matters is consistency. Sleeping 7 hours every night is better than sleeping 9 hours one night and 5 hours the next. Irregular sleep makes sleep debt harder to count and harder to repay, because the shortfall changes every night. Pick a bedtime and a wake time that give you the sleep you need, and keep them steady, including at the weekend, within about an hour.
Naps can help while you repay a sleep debt, but they do not replace night sleep. A short nap of 10 to 20 minutes in the early afternoon can lift alertness for a few hours. A long daytime nap can make it harder to fall asleep at night, which can add to the debt the next day. If you want to plan naps as part of your recovery, use a nap calculator to pick a nap length and a wake time that avoids grogginess.
More Related Calculators
Try the Sleep Calculator to find your best bedtime and wake-up time, based on 90 minute sleep cycles. Try the Nap Calculator to plan a power nap, a 30 minute nap, a 60 minute nap or a full 90 minute sleep cycle, with wake times that avoid grogginess. Use the Time Duration Calculator to work out how long you slept between a bedtime and a wake time. Use the Days Between Dates Calculator to count the days between two dates, and the Working Hours Calculator to work out your working hours in a week, including breaks.
Frequently Asked Questions
What is sleep debt?
Sleep debt is the total amount of sleep you have missed, added up over time. If you need 8 hours a night and you sleep 7 hours, you build up 1 hour of sleep debt that night. If you do the same for 7 nights, your sleep debt is 7 hours. A sleep debt calculator adds up those nightly shortfalls for you.
How do I calculate my sleep debt?
Multiply the sleep you need each night by 7 to get the sleep you needed in the week. Add up the hours you actually slept on each of the last 7 nights. Subtract the hours you slept from the hours you needed. The difference is your sleep debt. For example, 8 hours needed x 7 = 56 hours, minus 47 hours slept = 9 hours of sleep debt.
How much sleep debt is too much?
A debt of less than 3 hours is small and usually clears in a few nights. A debt of 3 to 7 hours is moderate and needs about a week of extra sleep. A debt of 7 to 14 hours is large. A debt above 14 hours is very large, like missing two whole nights, and you should repay it steadily and speak to a doctor if you still feel very tired after two weeks of longer sleep.
Can I repay sleep debt by sleeping in at the weekend?
You can repay part of a sleep debt by sleeping in, but it is not the best way to clear a large debt. Sleeping in by 2 hours clears 2 hours of debt, but a very late wake time can disturb your body clock and make it harder to fall asleep on Sunday night. A steadier plan is to go to bed 30 to 60 minutes earlier every night, and to sleep in by no more than 1 hour at the weekend.
How long does it take to repay sleep debt?
Divide your total sleep debt by the extra sleep you add each night, and round up to the next whole night. A debt of 9 hours repaid at 1 hour extra per night takes 9 nights. The same debt repaid at 30 minutes extra per night takes 18 nights. The sleep debt calculator above works this out for you.
Is sleep debt the same as being tired?
No. Being tired is how you feel after one short night. Sleep debt is the running total of missed sleep over many nights. You can feel tired without a large debt, and you can have a moderate debt and still feel fairly alert for a while, until the tiredness catches up with you. Counting the debt gives a clearer picture than tiredness alone.
How much sleep do adults need?
Most adults need 7 to 9 hours of sleep a night. Teenagers need 8 to 10 hours, and children aged 6 to 12 need 9 to 12 hours. Older adults usually need 7 to 8 hours. Use 8 hours as a starting point in the sleep debt calculator if you are an adult and you are not sure, then adjust it to what leaves you rested.
Can naps help repay sleep debt?
Short naps can help you feel more alert while you repay a sleep debt, but they do not replace night sleep. A nap of 10 to 20 minutes in the early afternoon is usually best. Longer naps, or naps late in the day, can make it harder to fall asleep at night. Use a nap calculator to pick a nap length and a wake time that fits your day.
Is it better to go to bed earlier or sleep in later to repay sleep debt?
Going to bed earlier is usually better. An earlier bedtime keeps your wake time steady, so your body clock stays settled. Sleeping in later can help on one day, but sleeping in by more than an hour often makes the next night harder. Add 30 to 60 minutes to the start of the night, not to the end, where you can.
What is sleep debt?
Sleep debt is the total amount of sleep you have missed, added up over time. If you need 8 hours a night and you sleep 7 hours, you build up 1 hour of sleep debt that night. If you do the same for 7 nights, your sleep debt is 7 hours. A sleep debt calculator adds up those nightly shortfalls for you.
How do I calculate my sleep debt?
Multiply the sleep you need each night by 7 to get the sleep you needed in the week. Add up the hours you actually slept on each of the last 7 nights. Subtract the hours you slept from the hours you needed. The difference is your sleep debt. For example, 8 hours needed x 7 = 56 hours, minus 47 hours slept = 9 hours of sleep debt.
How much sleep debt is too much?
A debt of less than 3 hours is small and usually clears in a few nights. A debt of 3 to 7 hours is moderate and needs about a week of extra sleep. A debt of 7 to 14 hours is large. A debt above 14 hours is very large, like missing two whole nights, and you should repay it steadily and speak to a doctor if you still feel very tired after two weeks of longer sleep.
Can I repay sleep debt by sleeping in at the weekend?
You can repay part of a sleep debt by sleeping in, but it is not the best way to clear a large debt. Sleeping in by 2 hours clears 2 hours of debt, but a very late wake time can disturb your body clock and make it harder to fall asleep on Sunday night. A steadier plan is to go to bed 30 to 60 minutes earlier every night, and to sleep in by no more than 1 hour at the weekend.
How long does it take to repay sleep debt?
Divide your total sleep debt by the extra sleep you add each night, and round up to the next whole night. A debt of 9 hours repaid at 1 hour extra per night takes 9 nights. The same debt repaid at 30 minutes extra per night takes 18 nights. The sleep debt calculator above works this out for you.
Is sleep debt the same as being tired?
No. Being tired is how you feel after one short night. Sleep debt is the running total of missed sleep over many nights. You can feel tired without a large debt, and you can have a moderate debt and still feel fairly alert for a while, until the tiredness catches up with you. Counting the debt gives a clearer picture than tiredness alone.
How much sleep do adults need?
Most adults need 7 to 9 hours of sleep a night. Teenagers need 8 to 10 hours, and children aged 6 to 12 need 9 to 12 hours. Older adults usually need 7 to 8 hours. Use 8 hours as a starting point in the sleep debt calculator if you are an adult and you are not sure, then adjust it to what leaves you rested.
Can naps help repay sleep debt?
Short naps can help you feel more alert while you repay a sleep debt, but they do not replace night sleep. A nap of 10 to 20 minutes in the early afternoon is usually best. Longer naps, or naps late in the day, can make it harder to fall asleep at night. Use a nap calculator to pick a nap length and a wake time that fits your day.
Is it better to go to bed earlier or sleep in later to repay sleep debt?
Going to bed earlier is usually better. An earlier bedtime keeps your wake time steady, so your body clock stays settled. Sleeping in later can help on one day, but sleeping in by more than an hour often makes the next night harder. Add 30 to 60 minutes to the start of the night, not to the end, where you can.
