Sleep Quality Calculator

Assess your sleep quality with the clinically validated Pittsburgh Sleep Quality Index (PSQI). This 19-question assessment measures 7 components of sleep quality over the past month. Calculate your global PSQI score (0-21), sleep efficiency percentage, and get personalized recommendations to improve your sleep.

PSQI Clinical Assessment
Progress: 0 of 19 questions 0%
Q1
During the past month, when have you usually gone to bed at night?

Think about your typical bedtime over the last 30 days

Q2
During the past month, how long (in minutes) has it usually taken you to fall asleep each night?

Sleep latency = time from lights out to falling asleep

Q3
During the past month, when have you usually gotten up in the morning?

Your typical wake time over the last 30 days

Q4
During the past month, how many hours of actual sleep did you get at night? (This may be different than the number of hours you spent in bed.)

Count only actual sleep time, not time awake in bed

Q5
During the past month, how often have you had trouble sleeping because you cannot get to sleep within 30 minutes?
Q6
During the past month, how often have you had trouble sleeping because you wake up in the middle of the night or early morning?
Q7
During the past month, how often have you had trouble sleeping because you have to get up to use the bathroom?
Q8
During the past month, how often have you had trouble sleeping because you cannot breathe comfortably?
Q9
During the past month, how often have you had trouble sleeping because you cough or snore loudly?
Q10
During the past month, how often have you had trouble sleeping because you feel too cold?
Q11
During the past month, how often have you had trouble sleeping because you feel too hot?
Q12
During the past month, how often have you had trouble sleeping because you had bad dreams?
Q13
During the past month, how often have you had trouble sleeping because you have pain?
Q14
During the past month, how would you rate your sleep quality overall?
Q15
During the past month, how often have you taken medicine to help you sleep (prescribed or “over the counter”)?
Q16
During the past month, how often have you had trouble staying awake while driving, eating meals, or engaging in social activity?
Q17
During the past month, how much of a problem has it been for you to keep up enough enthusiasm to get things done?
Q18
Do you have a bed partner or roommate?

These final questions are about sleep disturbances noticed by others

Understanding the PSQI & Sleep Quality

The Pittsburgh Sleep Quality Index (PSQI) is a validated self-report questionnaire developed at the University of Pittsburgh in 1989[web:58]. It measures sleep quality and disturbances over a 1-month interval, generating 7 component scores that sum to a global score of 0-21[web:59].

PSQI Score Interpretation

  • 0-5 points: Good sleep quality (no clinical intervention needed)
  • 6-9 points: Poor sleep quality (moderate disturbance, lifestyle changes recommended)
  • 10-15 points: Significant sleep problems (medical evaluation recommended)
  • 16-21 points: Severe sleep disturbance (requires immediate professional treatment)

The PSQI has 89.6% sensitivity and 86.5% specificity for distinguishing good vs. poor sleepers[web:62]. A score >5 indicates clinically significant sleep disturbance.

The 7 PSQI Components

Each component is scored 0-3, with 3 indicating greatest dysfunction[web:59]:

  • 1. Subjective Sleep Quality: Self-rated overall sleep quality (Question 14)
  • 2. Sleep Latency: Time to fall asleep + difficulty falling asleep (Questions 2, 5)
  • 3. Sleep Duration: Hours of actual sleep per night (Question 4)
  • 4. Sleep Efficiency: (Sleep time ÷ Time in bed) × 100 (Questions 1, 3, 4)
  • 5. Sleep Disturbances: Night wakings, breathing problems, nightmares, pain (Questions 5-13)
  • 6. Use of Sleep Medication: Frequency of sleep aid use (Question 15)
  • 7. Daytime Dysfunction: Difficulty staying awake, loss of enthusiasm (Questions 16-17)

Sleep Efficiency Calculation

Sleep Efficiency is the percentage of time in bed actually spent sleeping[web:61][web:64]:

  • Formula: (Total Sleep Time ÷ Time in Bed) × 100
  • Example: 7 hours sleep in 8.5 hours in bed = 82% efficiency
  • Excellent efficiency: ≥85-95%
  • Good efficiency: 75-84%
  • Fair efficiency: 65-74%
  • Poor efficiency: <65% (indicates sleep maintenance problems)

PSQI Component 4 scoring: >85% = 0 points, 75-84% = 1 point, 65-74% = 2 points, <65% = 3 points.

What Causes Poor Sleep Quality?

  • Primary insomnia (15%): No identifiable cause, pure sleep disorder
  • Stress & anxiety (40%): Hyperarousal prevents sleep onset/maintenance
  • Depression (35%): Early morning awakening, non-restorative sleep
  • Sleep apnea (24%): Breathing pauses cause fragmented sleep
  • Chronic pain (25%): Arthritis, fibromyalgia, back pain disrupt sleep
  • Medications (20%): Steroids, stimulants, antidepressants, blood pressure meds
  • Poor sleep hygiene (70%): Irregular schedule, screens before bed, caffeine
  • Medical conditions: GERD, restless legs, thyroid disorders

Health Consequences of Poor Sleep Quality

  • Cardiovascular: 48% higher heart disease risk, 15% higher stroke risk
  • Metabolic: 2x diabetes risk, 89% higher obesity risk
  • Mental health: 3x depression risk, 2.5x anxiety risk
  • Cognitive: Memory impairment, 1.5x dementia risk (long-term)
  • Immune: 3x infection susceptibility, slower wound healing
  • Mortality: 12% higher all-cause mortality with chronic poor sleep

Improving Your PSQI Score

Sleep Hygiene (improves PSQI 2-3 points):

  • Consistent wake time within ±30 minutes every day (including weekends)
  • Cool bedroom 60-67°F (15.5-19.5°C) for optimal sleep
  • Complete darkness (blackout curtains, remove ALL LED lights)
  • No screens 1 hour before bed (blue light suppresses melatonin by 50%)
  • No caffeine after 2 PM (6-8 hour half-life)
  • No alcohol 4+ hours before bed (fragments sleep, suppresses REM)
  • Exercise 150 min/week, but finish 3+ hours before bed

Cognitive Behavioral Therapy for Insomnia (CBT-I):

  • Success rate: 70-80% cure chronic insomnia, improves PSQI by 4-6 points
  • Duration: 6-8 weekly sessions (45-60 minutes each)
  • Techniques: Sleep restriction, stimulus control, cognitive restructuring, relaxation
  • Long-term: Benefits last years, unlike medications (temporary)
  • Digital options: Sleepio, Somryst (FDA-approved), CBT-I Coach

Medical Treatment:

  • Sleep apnea: CPAP therapy improves PSQI by 3-5 points within 3 months
  • Chronic pain: Multimodal pain management (PT, meds, mindfulness)
  • Depression/anxiety: Antidepressants (SSRIs) + therapy
  • Restless legs: Iron supplementation (if deficient), dopamine agonists
  • Sleep medications: SHORT-TERM only (2-4 weeks). Z-drugs (Ambien), benzodiazepines cause tolerance, dependency

When to See a Sleep Specialist

  • PSQI score ≥10 (significant sleep problems)
  • Sleep problems lasting >3 months (chronic insomnia)
  • Loud snoring + gasping + witnessed breathing pauses (sleep apnea)
  • Excessive daytime sleepiness despite adequate sleep time
  • Restless legs or periodic limb movements
  • Falling asleep at inappropriate times (narcolepsy)
  • Unusual behaviors during sleep (parasomnias, REM behavior disorder)
  • Using sleep medication >2 weeks without improvement

PSQI in Research & Clinical Practice

  • Used in 1000+ published studies across 50+ countries
  • Translated into 56 languages, validated in diverse populations
  • Monitors treatment response in clinical trials (sleep therapy effectiveness)
  • Screens for sleep disorders in primary care settings
  • Assesses sleep quality in chronic disease populations (cancer, COPD, heart failure)

PSQI Limitations

  • Subjective: Self-report, relies on memory (may be inaccurate)
  • 1-month window: Doesn’t capture night-to-night variability
  • No objective measurement: Doesn’t measure actual sleep (use actigraphy/polysomnography for that)
  • Cultural differences: Sleep norms vary across cultures (may affect interpretation)
  • Not diagnostic: Screening tool only—can’t diagnose specific sleep disorders