Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Sleep debt calculator

Enter the sleep you need and the hours you slept each night this week to see your sleep debt and a simple way to catch up.

Hours you actually slept each night, oldest first. Leave a night blank to skip it.

General estimate, not medical advice. If you regularly can't sleep, snore loudly, or feel sleepy during the day even after enough sleep, talk to a doctor.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Pick a bedtime that ends on a full sleep cycle with the sleep calculator, or time a short catch-up with the nap calculator.

How sleep debt is calculated

Sleep debt is the gap between the sleep you need and the sleep you got. Over a week:

sleep debt = hours needed per night × nights − total hours slept

A long night counts against a short one, so this is your net debt. The calculator also shows the hours you were short on just the short nights.

How much sleep do adults need?

The American Academy of Sleep Medicine and the Sleep Research Society recommend at least 7 hours a night for adults. The CDC 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. Some people need more than 7; if you feel rested at a certain amount, use that.

Worked example

You need 8 hours. Over a week you slept 6, 6.5, 7, 6, 7.5, 9 and 8.5 hours.

needed: 8 × 7 = 56 hours
slept: 6 + 6.5 + 7 + 6 + 7.5 + 9 + 8.5 = 50.5 hours
sleep debt = 56 − 50.5 = 5.5 hours

You averaged 7.2 hours a night. The five short nights were 7 hours short in all, and the two long nights made back 1.5 of them.

A gentle way to catch up

CDC NIOSH advice for shift workers is that to catch up on lost sleep, it's better to go to bed earlier and still get up at the same time, or to take a nap on the weekend. Keeping the same wake time helps your body clock.

  • 30 minutes earlier: 5.5 hours of debt takes about 11 nights to make up.
  • An hour earlier: about 6 nights.
  • A short nap can help on a day off. See the nap calculator for timing.

The calculator counts nights at 30 minutes and an hour extra. That's a planning aid, not a promise that every effect of short sleep will be undone. The best fix is to get enough sleep regularly.

Limits

  • Time in bed isn't time asleep. Use your best guess of the hours you actually slept.
  • Sleep needs differ between people and change with illness, pregnancy and age.
  • Sleep debt that keeps building, or daytime sleepiness despite enough sleep, is worth raising with a doctor.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • Need 8 h, slept 50.5 h in 7 nights: 5.5 hours of debt ✓
  • Same: average 7.2 h a night ✓
  • Same: about 11 nights at 30 minutes earlier ✓
  • Eight hours every night: no debt ✓
  • A need of 20 hours is rejected ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking cookies, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

How do I calculate my sleep debt?

Multiply the hours you need by the number of nights, then subtract the hours you actually slept. Needing 8 hours and sleeping 50.5 hours in a week is 56 − 50.5 = 5.5 hours of debt.

How much sleep do adults need?

At least 7 hours a night, according to the AASM and the CDC. The CDC lists 7 to 9 hours for ages 61 to 64 and 7 to 8 hours for 65 and older.

Can you catch up on lost sleep?

Partly. CDC NIOSH suggests going to bed earlier while keeping the same wake time, or napping on the weekend. Regular, enough sleep is still the best approach.

Is sleeping in on weekends a good way to catch up?

CDC NIOSH advice is to keep your usual wake time, because your body clock works best when you get up at about the same time every day. Go to bed earlier instead, or take a nap.

Does a long night cancel a short one?

In this calculator it does, because it shows net debt. It also shows how much you were short on the short nights alone.

Related calculators