Sleep Debt Calculator

Enter the hours you slept each night this week to see your sleep debt, average sleep and how each night compares with your target.

  • Formula explained
  • No signup required
  • Instant calculation
  • Nothing you enter is stored
Free interactive calculator

Sleep Debt Calculator

Log the hours you slept each night this week to see how far you are from your sleep target.

Example values are filled in. Replace them with your own; results update as you type.

Adults need 7 or more hours

Enter your nightly sleep to see your sleep debt.

How this calculation works
  • Nightly shortfall = target − hours slept (nights at or above target add nothing)
  • Sleep debt = sum of nightly shortfalls over 7 nights
  • Net balance = sum of (target − hours slept), where longer nights offset shorter ones

Sources: Watson et al. 2015, AASM and SRS consensus; CDC, About Sleep

Last reviewed October 2026

A self-tracking aid, not a diagnosis. Persistent poor sleep, loud snoring or daytime sleepiness are worth discussing with a clinician.

Sleep debt is the gap between the sleep you need and the sleep you get. One short night is easy to notice, but a run of slightly short nights can add up without feeling dramatic. This calculator totals that gap across a week and shows each night against your target.

Set your nightly target, then enter the hours you slept for each of the last seven nights. The chart marks every night that fell short.

How to Use the Sleep Debt Calculator

  1. Set your nightly target. Adults need 7 or more hours, so the default is 7.5.
  2. Enter each night's sleep using the number boxes or sliders. Quarter hours are allowed.
  3. Read the results: total sleep debt, average sleep, nights under target and your net balance.

How Sleep Debt Is Calculated

ResultFormula
Nightly shortfallTarget − hours slept (zero if you met the target)
Sleep debtSum of the seven nightly shortfalls
Net balanceSum of (target − hours slept), so longer nights offset shorter ones
AverageTotal hours ÷ 7

Sleep debt counts only the shortfalls. The net balance shows what happens if you treat longer weekend nights as paying some of the debt back.

A Worked Example

With a 7.5-hour target, a week of 6.5, 6, 7, 6.5 and 6 hours on weeknights and 8.5 and 8 hours at the weekend gives 5.5 hours of sleep debt. The longer weekend nights offset 1.5 hours, leaving a net shortfall of 4 hours, and the average is just under 7 hours a night.

How Much Sleep Do Adults Need?

The American Academy of Sleep Medicine and the Sleep Research Society state that adults should sleep 7 or more hours per night on a regular basis to promote optimal health. CDC guidance gives recommended amounts by age:

AgeRecommended sleep
13–17 years8–10 hours
18–60 years7 or more hours
61–64 years7–9 hours
65 and older7–8 hours

Individual needs vary within these ranges, so set the target that fits you.

Can You Catch Up on Lost Sleep?

Sleeping longer after short nights can reduce how tired you feel, which is why the calculator shows a net balance. But regular, sufficient sleep is what the recommendations emphasize. A consistent bedtime and wake time is generally easier on the body than alternating short weeknights with long lie-ins.

If your debt is large most weeks, small changes often help more than one long sleep: moving bedtime earlier by 15 to 30 minutes, limiting screens before bed, and keeping a similar schedule on days off. The Sleep Cycle Calculator can help you choose a bedtime that fits your wake-up time.

When Short Sleep Needs Attention

Tracking your sleep is useful, but it cannot diagnose anything. Talk with a clinician if you often struggle to fall or stay asleep, snore loudly, wake gasping, or feel very sleepy during the day even after enough time in bed.

Stress and mental load also affect sleep. Some people find guided relaxation helpful at bedtime; the comparison of free meditation apps covers options that cost nothing.

FAQs

What is sleep debt?

Sleep debt is the total amount of sleep you missed compared with your target over a period. If you need 7.5 hours and sleep 6.5, that night adds one hour of debt. The calculator adds up seven nights to show your weekly total.

How much sleep do adults need?

The American Academy of Sleep Medicine and Sleep Research Society recommend 7 or more hours per night for adults on a regular basis. CDC guidance lists 7 or more hours for ages 18 to 60, 7 to 9 hours for 61 to 64, and 7 to 8 hours for 65 and older.

Can I pay back sleep debt at the weekend?

Longer sleep can help you feel less tired, and the calculator's net balance shows how weekend nights offset shorter ones. However, recommendations focus on getting enough sleep regularly. A steady schedule with adequate nightly sleep is the more reliable approach.

Why does the calculator show debt and net balance separately?

Sleep debt counts only nights below your target, while net balance lets longer nights cancel shorter ones. Showing both makes it clear when a good weekend is masking a run of short weeknights.

Does the calculator store my sleep data?

No. It runs in your browser. Your nightly hours are not saved, sent to analytics or shared, and refreshing the page clears them.

Sources

  1. Watson NF et al., Recommended Amount of Sleep for a Healthy Adult, Sleep 2015.
  2. CDC, About Sleep. Recommended hours by age.