Sleep Debt Calculator

Sleep debt is the gap between the sleep you need and the sleep you actually get, added up over days. Miss an hour a night for a week and you carry seven hours of debt — the same as a whole missed night. This calculator takes your nightly sleep for a week or more, compares it with your own target, and shows your total debt, your average, how many nights fell short and roughly how many nights of extra sleep it would take to repay. It also lists the sleep range recommended for your age by the CDC. The arithmetic is simple; the biology is not, so treat the result as an awareness tool rather than a medical measurement.

How to use the sleep debt calculator

  1. Choose your age group to see the recommended range, then set the hours you personally need per night (most adults do best at 7–9).
  2. List the hours you slept each night, separated by commas — a week of data is ideal.
  3. Set how much extra sleep per night you can realistically add while catching up.
  4. Read your debt, your average and the number of nights to recover. Prioritise consistency over a single long weekend sleep.

Formula

Sleep debt = (hours needed per night × number of nights) − total hours slept. If the result is negative you have a surplus. Nights to recover ≈ debt ÷ extra hours added per night. For example, needing 8 hours and sleeping 47 hours over 7 nights gives a debt of 56 − 47 = 9 hours; adding one hour a night would take about 9 nights.

Worked examples

A typical short week

Sleeping 6, 6, 7, 8, 5, 9 and 6 hours against a need of 8 hours gives a debt of 9 hours, an average of 6.714 hours (need 8) and 5 of 7 nights short. Adding an hour a night would take about 9 nights.

A surplus

Someone who needs 7 hours and sleeps 8 for two nights has a 2 hours surplus — though a “bank” of extra sleep does not fully protect against later short nights.

A teenager

Teens (13–17) need 8–10 hours. A teen sleeping 6.5 hours on school nights against a need of 9 builds 2.5 hours of debt a night — about 12.5 hours over five school days, which is why weekend lie-ins are so tempting.

Practice problems

Try these yourself first, then check your answer. The answers come from the calculator above.

  1. You need 8 hours a night and slept 5, 6, 6, 7, 6, 9, 8 hours this week. How much sleep debt do you have?
    Show answer

    Sleep debt: 9 hours · Time to repay at +1 hour a night: about 9 nights

Common mistakes to avoid

  • Assuming you can fully “catch up” in one weekend. Recovery from chronic short sleep usually takes several nights, and irregular sleep timing causes its own problems.
  • Counting time in bed rather than time asleep. Include only the hours you actually slept.
  • Ignoring your own need. The recommended range is a guide; some people feel best at 7, others at 9.
  • Using caffeine to mask debt. It hides sleepiness without repaying the sleep.
  • Self-diagnosing. Persistent tiredness despite enough sleep deserves a conversation with a doctor.

Frequently asked questions

What is sleep debt?

The cumulative difference between the sleep you need and the sleep you get. Missing one hour a night for a week leaves seven hours of debt.

How much sleep do adults need?

The CDC recommends seven or more hours a night for adults aged 18–60, with 7–9 hours for 61–64 and 7–8 for those 65 and over.

Can you catch up on sleep?

Partly. Extra sleep over several nights helps, but research suggests a single long night does not fully reverse a week of short ones.

How do I pay back sleep debt?

Add 30–60 minutes of sleep per night, keep a regular schedule, limit late caffeine and screens, and avoid relying on weekend lie-ins.

What are the effects of sleep deprivation?

Poorer concentration, mood and memory in the short term, and over years, links to health problems. See the NHLBI page below.

Is this medical advice?

No. It is an educational estimate; talk to a doctor if you have ongoing sleep problems.

Health information, not medical advice. This calculator is for education and general planning only. It cannot assess your individual health. Speak to a doctor or registered dietitian before changing your diet or exercise, and see our disclaimer.

Sources and further reading

Reviewed September 26, 2026 by the SolveCalcPro editorial team. Found a mistake? Tell us; see our editorial policy.