How to Calculate Sleep Debt (and Why Weekend Sleep Won't Erase It)

Contents
The sleep debt in this calculator is the sum of only the hours you fell short of your goal each day. Hours you sleep over your goal are not subtracted. That's why catching up on the weekend doesn't lower the sleep debt shown on screen. This isn't a medical standard. It's a conservative method the calculator uses so you don't overlook shortfalls.
This post walks through how this week's sleep debt is calculated and at how many hours the Healthy, Caution, and Risk labels switch, exactly as the calculation logic works. These three ranges are reference thresholds set by the calculator. They are not criteria for diagnosing a sleep disorder.
Summary ① Sleep debt adds up "goal hours − actual hours" only when the result is positive. Extra sleep counts as 0, so it can't reduce your debt. ② A 7-day total of 0 hours shows as Healthy, 1–7 hours as Caution, and 8 hours or more as Risk. These are reference ranges set by the calculator. ③ You can't tell your status from a single day. You need to add up Monday through Sunday to get a result.
Why it's easy to think catching up on weekends works
Many workers and students follow the same pattern. They sleep only 6 hours a night from Monday to Friday, then sleep 9–10 hours on Saturday and Sunday.
That brings the weekly average up to around 7 hours, which looks fine at first glance. So it's easy to tell yourself, "I made it up on the weekend, so this week is fine."
But this calculator doesn't treat shortfalls and extra sleep the same way. The hours you missed across the five weekdays stay on the books. Extra sleep on the weekend doesn't cancel them out.
Research is mixed on how much extra weekend sleep makes up for lost sleep. The calculator doesn't give you credit for it. Instead, it shows the days you came up short as they are.
How to calculate it by hand
The math isn't hard. Follow these steps and you can get the same result as the tool with just paper and a calculator.
- Set your sleep goal. Pick one number of hours to use as your target. The calculator's default is 8 hours.
- Record how long you actually slept, Monday through Sunday. Write down the hours for each day.
- For each day, calculate "goal − actual," and change any negative result to 0. Only days when you slept less than your goal leave a positive value. On days when you slept more, the result is negative, so it's treated as 0. Extra sleep is never used to offset another day's shortfall.
- Add up all 7 values. That total is your cumulative sleep debt for the week.
- Check your status using the total. 0 hours is Healthy, 1–7 hours is Caution, and 8 hours or more is Risk. If you enter times in 30-minute increments, the label switches to Risk as soon as the total goes above 7 hours.
Example calculation
Say your goal is 8 hours and your actual sleep for the week was Mon 7, Tue 6, Wed 8, Thu 5, Fri 7, Sat 9, Sun 8 hours. The shortfall for each day is 1, 2, 0, 3, 1, 0, 0 hours.
On Saturday you slept 1 hour more than your goal, but that extra hour doesn't enter the calculation. It's simply counted as 0. Add up the seven values and the total is 7 hours, which falls in the Caution range (1–7 hours).
Enter your target sleep time and the hours you actually slept each day. The Sleep Debt Calculator works out your sleep debt and status right in your browser. It's free, with no login.

Common misconceptions
Once you know the logic, a few misconceptions fall away.
| Common belief | What the logic actually does |
|---|---|
| Catching up on the weekend erases your weekday shortfall | In this calculator, extra sleep is just counted as 0. It doesn't subtract from your shortfall |
| Falling short on even one day immediately shows Risk | Risk is based on a 7-day total of 8 hours or more, not on a single day |
| If your average sleep equals your goal, your debt is 0 | Even with the same average, your debt stays positive if the shortfall days add up to something |
The third item needs a bit more explanation. Say your goal is 7 hours, you sleep 5 hours a night on the five weekdays, and you sleep 12 hours a night on the two weekend days. The average comes out to exactly 7 hours, the same as your goal.
But calculating day by day gives a different answer. Each weekday is 2 hours short, so you build up 10 hours of debt. The two weekend days are 5 hours over each, but each one is counted as 0.
The total is 10 hours, which is in the Risk range. That's why you can't relax just because of the average.
Summary
- Sleep debt is the total of "goal − actual" for each day, counting only positive results. Extra sleep counts as 0 and doesn't reduce your debt. This is the calculator's conservative method.
- Your status is based on the 7-day total from Monday to Sunday, not on a single day.
- A total of 0 hours is Healthy, 1–7 hours is Caution, and 8 hours or more is Risk. These are reference ranges, not diagnostic criteria. If fatigue or insomnia drags on, it's a good idea to see a doctor.
- Even if your average sleep looks like it matches your goal, you may still have debt when you calculate day by day.
- The fastest way to see your exact sleep debt and status for this week is to enter your goal and your actual sleep for each day.
Enter your target sleep time and the hours you actually slept each day. The Sleep Debt Calculator works out your sleep debt and status right in your browser. It's free, with no login.
Frequently asked questions
Does sleeping more than my goal on some days reduce my sleep debt?
No. The Sleep Debt Calculator counts hours over your goal as 0 and doesn't use them to offset another day's shortfall. This isn't a medical standard. It's a conservative way of counting so you don't miss shortfalls. That's why, even if you catch up on the weekend, the shortfall from your weekdays stays in the total.
How many hours should I set as my sleep goal?
The calculator's default sleep goal is 8 hours, and you can change it to any number you like in the input field. The right amount of sleep varies from person to person, so this post doesn't recommend a specific number of hours.
Will I see the Risk label if I miss sleep on just one day?
No. The Risk label appears only when the 7-day total of shortfalls, from Monday through Sunday, is 8 hours or more. A single day's record doesn't set your status.
Is my sleep log saved anywhere?
No. All calculations happen instantly in your browser. Nothing is sent to a server or saved.
This article was adapted from our Korean original. Read the Korean original