PSQI Sleep Quality Calculator
Calculate the Pittsburgh Sleep Quality Index (PSQI) global score from seven component scores to assess overall sleep quality.
About this calculator
The PSQI sleep-quality calculator accepts seven component ratings, each coded from 0 to 3, matching the Pittsburgh Sleep Quality Index that Daniel Buysse and colleagues published in 1989 as a self-rated questionnaire assessing sleep quality over the past month. It rounds each entry to a whole number, limits it to that range, and adds the components to form a Global PSQI Score from 0 to 21. Larger component codes represent worse sleep conditions in every field, including subjective quality, latency, duration, efficiency, disturbances, medication use, and daytime dysfunction. Since the global result is a simple sum, all seven components have equal one-point influence. The Poor Sleeper output is binary. It remains 0 for global scores through 5 and becomes 1 only when the sum is greater than 5.
Worst Component reports the position of the largest component: 1 for quality through 7 for daytime dysfunction. Ties are resolved by input order because the search changes its selection only when it encounters a strictly larger score. For example, equal maximum ratings for quality and latency leave quality, component 1, selected. This implementation starts from already-derived component codes rather than the full questionnaire responses used to derive them. It does not calculate actual sleep efficiency from bed and sleep times, combine disturbance sub-items, or assess causes such as breathing disorders, pain, schedules, substances, mood, or medication effects. The result is therefore a compact arithmetic summary of the seven values entered, not a diagnosis of insomnia or another sleep disorder.
Medical Disclaimer
This calculator is for informational and educational purposes only. It is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider before making decisions about your health. Never disregard professional medical advice or delay seeking it because of results from this tool.
Inputs
Results
Global PSQI Score
4 / 21
Poor Sleeper (Score > 5)
0 (0=No, 1=Yes)
Figures current as of 1989. Source: Buysse DJ, Reynolds CF 3rd, Monk TH, Berman SR, Kupfer DJ. The Pittsburgh Sleep Quality Index: a new instrument for psychiatric practice and research. Psychiatry Res. 1989;28(2):193-213.
How to Use This Calculator
- Rate each of the 7 PSQI component questions: subjective sleep quality, sleep latency, duration, efficiency, disturbances, medication use, and daytime dysfunction.
- Base your answers on your typical sleep over the past month.
- Review the Global PSQI Score: 0–5 = good sleeper, 6+ = poor sleeper.
- Check Worst Component to identify the primary driver of poor sleep for targeted intervention.
- Combine with PHQ-9 and GAD-7 scores to assess whether sleep problems are driving mood and anxiety issues.
What each input means
- Subjective Sleep Quality
- 0 = Very good, 1 = Fairly good, 2 = Fairly bad, 3 = Very bad.
- Sleep Latency
- 0 = ≤15 min to fall asleep, 1 = 16-30 min, 2 = 31-60 min, 3 = >60 min.
- Sleep Duration
- 0 = >7 hours, 1 = 6-7 hours, 2 = 5-6 hours, 3 = <5 hours.
- Sleep Efficiency
- 0 = ≥85% efficiency, 1 = 75-84%, 2 = 65-74%, 3 = <65%.
- Sleep Disturbances
- 0 = Not during past month, 1 = Less than once a week, 2 = Once or twice a week, 3 = Three or more times a week.
- Daytime Dysfunction
- 0 = No problem, 1 = Only a slight problem, 2 = Somewhat of a problem, 3 = A very big problem.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersSubjective Sleep Quality = 1, Sleep Latency = 1, Sleep Duration = 0, Sleep Efficiency = 0 = 7 input(s) provided
- Calculate Global PSQI ScoreGlobal PSQI Score4 = 4
- Calculate Poor SleeperPoor Sleeper0 = 0
- Calculate Worst ComponentWorst Component1 = 1
Figures and sources
- Pittsburgh Sleep Quality Index (PSQI) — seven-component scoring and >5 poor-sleeper cutoff (1989) — Buysse DJ, Reynolds CF 3rd, Monk TH, Berman SR, Kupfer DJ. The Pittsburgh Sleep Quality Index: a new instrument for psychiatric practice and research. Psychiatry Res. 1989;28(2):193-213.
Engine last updated . Checked against 4 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
How is the Global PSQI Score formed?
The engine rounds and limits each of the seven component entries to 0–3, then sums them without additional weighting. One extra point in any component adds one point to the global result.
What score changes the Poor Sleeper indicator?
The indicator is 0 at global scores from 0 through 5 and switches to 1 at 6. It is a binary threshold output, not a graded measure of how poor sleep is — this is the same global-score-above-5 cutoff Buysse et al. validated as distinguishing poor from good sleepers in the original 1989 PSQI paper.
What happens when several components share the worst score?
The calculator reports the earliest tied component in its fixed order. Quality precedes latency, duration, efficiency, disturbances, medication, and daytime dysfunction because only a strictly greater later value replaces the current selection.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Burnout Assessment Calculator
Assess burnout risk across three dimensions — emotional exhaustion, cynicism/depersonalization, and professional efficacy — based on Maslach Burnout Inventory concepts.
Mental HealthPHQ-9 Depression Calculator
Score the PHQ-9 (Patient Health Questionnaire-9) to assess depression severity and guide treatment recommendations.
Mental HealthGAD-7 Anxiety Calculator
Score the GAD-7 (Generalized Anxiety Disorder-7) questionnaire to assess anxiety severity from minimal to severe.
More in Health & Fitness.