Sleep

Sleep Debt Calculator

Enter how many hours you slept on each of the last few nights and pick a nightly target. The calculator adds it up and shows the arithmetic difference between your sleep and your chosen target. If you already keep a sleep log on this site, it can fill the nights in for you.

Sleep debt calculator

The default is 7 hours, matching the AASM/SRS recommendation that healthy adults obtain 7 or more hours of sleep per night on a regular basis. You can change this target anytime.

Hours you slept each night (e.g. 6.5 or 6:30; leave blank to skip)

Enter the hours you slept on at least one night to see the total.

How this calculator works

This calculator uses “sleep debt” as a simple arithmetic label for the difference between a target you choose and the sleep you entered. It does not measure biological sleep need or determine how much sleep you need to recover.

Nobody can measure your personal biological sleep requirement from a web form. This tool performs straightforward subtraction: total hours of sleep reported minus your chosen target multiplied by the number of nights. Blank nights are skipped rather than counted as zero.

The result reflects only the numbers you provide. Because nightly sleep hours are self-reported estimates, treat the balance as a helpful general overview of your schedule rather than a clinical or laboratory measurement.

Which target should I use?

The American Academy of Sleep Medicine (AASM) and the Sleep Research Society (SRS) recommend that healthy adults obtain 7 or more hours of sleep per night on a regular basis to promote optimal health. Their consensus statement notes that while 7 or more hours is appropriate for most adults, regularly sleeping more than 9 hours may be appropriate for young adults, individuals recovering from sleep debt, and individuals with illnesses.

The default in this calculator is set to 7 hours based on this general adult consensus recommendation. However, this tool cannot determine your individual biological sleep need. The target is entirely user-selectable—adjust it up or down to reflect the sleep duration that you and your healthcare provider consider appropriate for your schedule.

If you have the time to sleep but can't

This calculator assumes a situation of restricted sleep opportunity—where someone does not spend enough time in bed to meet their target.

If you spend adequate time in bed but still have persistent difficulty falling asleep or staying asleep, the issue may involve insomnia or other causes of disrupted sleep rather than simply not allowing enough time for sleep. In cognitive behavioural therapy for insomnia (CBT-I), excessive time in bed can be addressed as one factor that may perpetuate difficulty sleeping. Sleep restriction therapy is one structured behavioural component that temporarily consolidates time in bed closer to actual sleep time under clinical guidance.

You can read our educational guide on how sleep restriction therapy works or track your pattern in the sleep efficiency calculator to see your estimated ratio of sleep time to time in bed.

When to get help

This site offers self-help information, not medical advice, and can't tell you whether you have a sleep condition. Talk to a doctor or other clinician if:

  • poor sleep has gone on for a long time or is making your days hard to manage;
  • you often feel so sleepy in the day that it's hard to stay awake, especially while driving;
  • you or a bed partner notice loud snoring, choking or pauses in your breathing during sleep;
  • your mood is low, or you feel anxious or on edge most days.

If you are thinking about ending your life or harming yourself

You don't have to go through this alone. If you are in immediate danger, call your emergency number (911 in the US and Canada, 999 or 112 in the UK, 112 in the EU). You can also talk to someone now:

  • US:988 Suicide & Crisis Lifeline (call or text)988
  • Canada:988 Suicide Crisis Helpline (call or text)988
  • UK & Ireland:Samaritans116 123
  • Other countries:Find a Helpline (free directory of helplines)findahelpline.com

Take your sleep log with you

We're building a companion mobile app to keep your sleep log on your phone and track your sleep efficiency over time. It isn't out yet. Leave your email to get notified when it launches.

Sources

  • Adult sleep duration consensus: Watson NF, Badr MS, Belenky G, et al. (2015). Recommended Amount of Sleep for a Healthy Adult: A Joint Consensus Statement of the American Academy of Sleep Medicine and Sleep Research Society. Sleep, 38(6), 843–844.
  • AASM summary of the recommendation (June 2015): American Academy of Sleep Medicine. Seven or more hours of sleep per night: A health necessity for adults.
  • How sleep restriction therapy works: Maurer LF, Espie CA, Kyle SD. (2018). How does sleep restriction therapy for insomnia work? A systematic review of mechanistic evidence and the introduction of the Triple-R model. Sleep Medicine Reviews, 42, 127–138.