Pittsburgh Sleep Quality Index (PSQI) Calculator

Pittsburgh Sleep Quality Index (PSQI) Calculator

#8 · Educational AI Skill PRO

Enter Calculation

Formula

PSQI=C1+C2+C3+C4+C5+C6+C7\text{PSQI} = {{\text{C}_1}} + {{\text{C}_2}} + {{\text{C}_3}} + {{\text{C}_4}} + {{\text{C}_5}} + {{\text{C}_6}} + {{\text{C}_7}}

Example

PSQI=1+1+1+1+1+1+1=7\text{PSQI} = 1 + 1 + 1 + 1 + 1 + 1 + 1 = 7
Usage stats

Advertisement

Results

Global PSQI Score
7
out of 21 (lower is better)
Range 0 to 21 (sum of 7 components, each 0-3)
Interpretation Score > 5: indicative of poor sleep quality

Report an error on this page

What is the Pittsburgh Sleep Quality Index?

The Pittsburgh Sleep Quality Index (PSQI) is a widely used self-report questionnaire that measures sleep quality and disturbances over a one-month interval. Developed at the University of Pittsburgh, it combines answers into seven component scores: (1) subjective sleep quality, (2) sleep latency, (3) sleep duration, (4) habitual sleep efficiency, (5) sleep disturbances, (6) use of sleeping medication, and (7) daytime dysfunction. Each component is scored from 0 (no difficulty) to 3 (severe difficulty), and the seven are added to produce a global score ranging from 0 to 21.

Seven sleep component scores feeding into one global PSQI total
The PSQI combines seven component scores into a single global score from 0 to 21.

How to use this calculator

If you have already derived your seven PSQI component scores from the full questionnaire, simply select each value (0-3) above. The calculator sums them into a global score and compares it against the standard cutoff. A higher score means poorer sleep quality. This tool assumes you have completed the component scoring; it does not convert the raw questionnaire items for you.

The formula explained

The math is straightforward addition: $$\text{PSQI} = \text{C}_1 + \text{C}_2 + \text{C}_3 + \text{C}_4 + \text{C}_5 + \text{C}_6 + \text{C}_7$$ Because each component is bounded at 3, the maximum possible total is \(7 \times 3 = 21\), and the minimum is 0. A global score greater than 5 is the validated threshold suggesting clinically poor sleep quality.

Advertisement
Number line from 0 to 21 with a threshold marker at 5
A global score above 5 suggests poor sleep quality.

Worked example

Suppose your component scores are 2, 1, 2, 0, 1, 0 and 3. Adding them: $$2 + 1 + 2 + 0 + 1 + 0 + 3 = 9$$ Because 9 is greater than 5, this global PSQI of 9 indicates poor sleep quality.

How Each PSQI Component Is Scored (0-3)

The Pittsburgh Sleep Quality Index (PSQI) was published by Buysse et al. in 1989. It has 19 self-rated items about sleep over the past month. These items are combined into seven component scores, each from 0 (no difficulty) to 3 (severe difficulty). This calculator takes those seven component scores as inputs and adds them. Item numbers below refer to the original Buysse et al. (1989) questionnaire.

Component Questionnaire items Scoring (0-3)
C1 Subjective sleep quality Q9 Very good = 0, fairly good = 1, fairly bad = 2, very bad = 3
C2 Sleep latency Q2 and Q5a, summed Q2: ≤15 min = 0, 16-30 = 1, 31-60 = 2, >60 = 3. Q5a (cannot get to sleep within 30 min): not in past month = 0, less than once a week = 1, once or twice a week = 2, three or more times a week = 3. Sum of Q2 and Q5a: 0 → 0; 1-2 → 1; 3-4 → 2; 5-6 → 3
C3 Sleep duration Q4 (hours of actual sleep per night) >7 h = 0; 6-7 h = 1; 5-6 h = 2; <5 h = 3
C4 Habitual sleep efficiency Q1 (bedtime), Q3 (wake time), Q4 (hours slept) Efficiency = hours slept ÷ hours in bed × 100. >85% = 0; 75-84% = 1; 65-74% = 2; <65% = 3
C5 Sleep disturbances Q5b to Q5j, summed Each item is scored 0-3 by frequency. Sum of 0 → 0; 1-9 → 1; 10-18 → 2; 19-27 → 3
C6 Use of sleeping medication Q6 Frequency in past month: not at all = 0, less than once a week = 1, once or twice a week = 2, three or more times a week = 3
C7 Daytime dysfunction Q7 and Q8, summed Each item is scored 0-3. Sum of 0 → 0; 1-2 → 1; 3-4 → 2; 5-6 → 3

The global score is the sum of C1 to C7, giving a range of 0 to 21:

$$\text{PSQI} = C_1 + C_2 + C_3 + C_4 + C_5 + C_6 + C_7$$

Interpreting Your Global PSQI Score

In the original validation study (Buysse et al., 1989), a global PSQI score of 5 or less indicated good sleep quality, and a score above 5 indicated poor sleep quality. With this cutoff the authors reported a sensitivity of about 89.6% and a specificity of about 86.5% for distinguishing good sleepers from poor sleepers. The comparison groups were healthy control subjects and patients with sleep or mood disorders.

  • 0-5: in the range classed as good sleep quality.
  • 6-21: in the range classed as poor sleep quality. Higher totals mean more reported sleep difficulty.

Look at the individual component scores as well as the total. A component scoring 2 or 3 shows where the difficulty lies, for example long sleep latency (C2), short duration (C3) or low efficiency (C4). Two people with the same global score can have quite different profiles.

The PSQI is a self-report screening questionnaire that covers the past month. It is not a diagnostic test. A score cannot identify a specific sleep disorder, and it does not replace an evaluation by a qualified health professional.

Advertisement

PSQI Terms and Components Defined

Sleep latency
How long it takes to fall asleep after going to bed. In the PSQI, minutes to fall asleep (Q2) are combined with how often you could not fall asleep within 30 minutes (Q5a).
Sleep duration
The number of hours of actual sleep per night, as reported by the respondent (Q4). It can be shorter than the time spent in bed.
Habitual sleep efficiency
The share of time in bed spent asleep: hours slept ÷ hours in bed × 100. Hours in bed are calculated from the reported bedtime and wake time.
Sleep disturbances
The sum of the frequency ratings for problems that disrupt sleep (Q5b to Q5j), such as waking at night, bathroom trips, breathing difficulty, coughing or snoring, feeling too cold or too hot, bad dreams, pain, and other reasons.
Use of sleeping medication
How often the respondent took medicine, prescribed or over the counter, to help sleep during the past month (Q6).
Daytime dysfunction
Trouble staying awake during daytime activities (Q7) and the amount of difficulty keeping up enthusiasm to get things done (Q8), summed and banded 0-3.
Subjective sleep quality
The respondent's own overall rating of sleep quality over the past month (Q9), from very good to very bad.
Global score
The sum of the seven component scores (0-3 each), giving a total from 0 to 21. A total above 5 is the conventional threshold for poor sleep quality (Buysse et al., 1989).

FAQ

What score is considered "good" sleep? A global PSQI of 5 or below is generally interpreted as good sleep quality; above 5 suggests poor quality.

Is this a medical diagnosis? No. The PSQI is a screening and research instrument. A high score is a reason to discuss your sleep with a healthcare professional, not a diagnosis by itself.

Why are there only seven components when the questionnaire has many items? The full PSQI has multiple questions that are scored and grouped into the seven component scores. This calculator works from those already-computed component scores.

Sources & References

Checked against these sources on . Not reviewed by a clinician. For general information only, not medical advice or a diagnosis. Talk to a doctor about any health concern.

Last updated:

Most popular in Educational

View all Educational calculators