Skip to main content
v2026.11,986 entries · CC-BY 4.0

SERVQUAL: Formula, Scoring and Library Research

Calculate SERVQUAL gaps, interpret the scores and distinguish library measurement designs with a worked example and reproducible code.

Written and maintained by CASRAI Editorial Board

Published

On this page

SERVQUAL measures perceived service quality by comparing users’ expectations with their perceptions of the service received. Its central calculation is perception minus expectation. For library research, the useful distinction is between calculating that gap correctly and establishing that the resulting scores measure the intended dimensions.

SERVQUAL definition and five dimensions

The classic SERVQUAL questionnaire pairs 22 expectation ratings with 22 perception ratings across five proposed dimensions: tangibles, reliability, responsiveness, assurance and empathy. The instrument therefore collects two ratings for each item, rather than treating expectations and perceptions as interchangeable answers. The published Delphi-FUCOM-SERVQUAL study describes this structure before developing its own adaptation.

A service-quality study needs an explicit object of evaluation: which service users are rating, which organization they are considering and what their expectation statements mean. Keep those instructions with the data. A column headed “expectation” alone does not tell a later analyst whether the respondent rated a desired standard or a minimum acceptable standard.

For library assessment, distinguish the general SERVQUAL model from the particular questionnaire administered. Thompson and Cook’s research-library study used minimum, desired and perceived ratings. Concordia’s LibQUAL documentation describes a library-specific instrument with different dimensions. These are related measurement designs, but their scores need their own definitions.

SERVQUAL formula and scoring symbols

For an individual matched rating pair, define the gap as gᵣⱼ = Pᵣⱼ − Eᵣⱼ. Here, r identifies the respondent, j identifies the item, P is the perception rating, E is the expectation rating, and g is their difference. A negative difference means that perception is below the stated expectation; a positive difference means it is above it.

For a transparent, unweighted summary of one item, use ḡⱼ = (Σᵣ gᵣⱼ) / nⱼ, where Σ means sum and nⱼ is the number of respondents with a usable pair for that item. For a respondent’s complete set of k items, the corresponding mean is Gᵣ = (Σⱼ gᵣⱼ) / k. These equations specify arithmetic averages; they do not establish which items belong together psychometrically.

Report the aggregation choice. An average of all items gives each item equal weight. An average of dimension means gives each dimension equal weight, which is a different calculation when dimensions contain different numbers of items. A weighted summary requires declared weights and a declared level of weighting. The Delphi-FUCOM-SERVQUAL paper explicitly includes attribute weights in its equation; its weighting procedure should not silently become a default for every SERVQUAL study.

With complete matched data and the same denominator, the mean of P − E equals the mean of P minus the mean of E. That identity is a useful arithmetic check. It does not justify subtracting two column means computed from different sets of respondents after missing values have been removed separately.

Worked example: calculate a service-quality gap

This illustrative composite contains fictional responses from four users to one service-quality item. It demonstrates the calculation, not a completed 22-item instrument, a validated subscale or findings from an actual library.

The expectation ratings are 6, 6, 5 and 4. The matched perception ratings are 4, 5, 6 and 4. Subtract within each respondent: 4 − 6 = −2; 5 − 6 = −1; 6 − 5 = 1; and 4 − 4 = 0. The sum of the four gaps is −2, so their mean is −2 / 4 = −0.50 rating points.

Check the answer independently. The perception total is 19 and the expectation total is 21. Their means are 4.75 and 5.25, respectively; 4.75 − 5.25 = −0.50. Both routes agree because they use exactly the same four complete pairs.

The sample standard deviation describes variation among these four gaps. Their deviations from −0.50 are −1.50, −0.50, 1.50 and 0.50. Squaring and adding gives 2.25 + 0.25 + 2.25 + 0.25 = 5. Dividing by 4 − 1 gives the sample variance 5 / 3; its square root is approximately 1.29.

The negative mean does not mean every user reported a shortfall: one gap is positive and one is zero. Nor does −0.50 mean “50% dissatisfied.” It is a difference on the chosen numerical response scale. A percentage would require a separately defined numerator and denominator.

Interpretation: what a SERVQUAL score means

Read the sign relative to the expectation reference actually used. The following table gives the direct arithmetic interpretation of P − E; it does not introduce service grades or validated action thresholds.

Gap Reading guidance
Negative The perception rating is below the paired expectation rating.
Zero The two ratings are equal; an average of zero can also combine positive and negative individual gaps.
Positive The perception rating is above the paired expectation rating.

Keep the component ratings available. For example, P = 4 with E = 5 and P = 6 with E = 7 both produce −1, although their perception levels differ. If a gap changes between survey rounds, inspect both components before describing it as an improvement in perceived performance: a smaller shortfall could also result from a lower expectation rating.

Choose comparisons that preserve the score definition. A sum of four item differences and a mean of those differences have different numerical scales. A minimum-based gap and a desired-service gap use different benchmarks. Put the reference, response anchors, aggregation and usable sample beside the result so readers can tell what was compared.

Assumptions and common mistakes

Keep pairs aligned. Subtract the expectation and perception for the same respondent and item. Preserve respondent identifiers during reshaping, and check the item names after joining files. An otherwise correct formula cannot detect a perception vector that has accidentally been sorted into a different order.

Check response coding before subtraction. Save the actual anchors and scoring key used in the questionnaire. If an instrument requires recoding, perform that step consistently before calculating differences. Do not convert missing answers or “not applicable” responses into zero ratings. The missing-data method and denominator are analysis decisions to document, rather than invisible spreadsheet defaults.

Separate reliability from dimensional evidence. In their study of 697 library respondents across three administrations, Thompson and Cook found highly reliable scores but did not recover the five proposed SERVQUAL dimensions. That result cautions against assuming the same structure in a new library; it does not establish that every library application fails. Our guide to construct validity and supporting evidence explains the broader measurement question.

Do not borrow validation automatically. Changing items, response anchors or reference instructions changes what an analyst must describe. A recognizable instrument name cannot substitute for an account of the questionnaire actually administered. The APA quantitative reporting standard asks for relevant instrument properties and reliability evidence for the scores analyzed.

Distinguish a descriptive summary from an inferential claim. The arithmetic example establishes a mean difference for four fictional observations. It supplies no significance test, population estimate or evidence that a service change caused the score. Those questions need a research design and analysis beyond subtracting ratings.

SERVQUAL and LibQUAL in library assessment

LibQUAL is related to SERVQUAL, but it should not be treated as another name for the unchanged five-dimension questionnaire. Concordia’s implementation documentation identifies Affect of Service, Library as Place and Information Control, with minimum, desired and perceived ratings for each question. Its description also explains that library applications of SERVQUAL led to a tool adapted to libraries’ requirements.

With three ratings, name both the perception value and the chosen comparison value. Suppose a fictional response has minimum = 4, desired = 7 and perceived = 6. Perceived minus minimum is 2, while perceived minus desired is −1. Both calculations are correct, and neither should be reported simply as “the gap” without identifying its reference.

The data table below compares three documented measurement designs: classic paired SERVQUAL, the Thompson–Cook library study and LibQUAL as described by Concordia. It combines item structure, rating references and dimensional information so researchers can identify the design before interpreting a downloaded score.

Separate the instrument from the organization administering a survey. ARL’s official end-of-service notice announced that it would end its administration of LibQUAL at the close of 2025. Older library implementation pages remain useful descriptions of measurement design, but they are not evidence of an ongoing ARL service offering.

How to report SERVQUAL results: an APA example

A report should identify the questionnaire version, service evaluated, respondent population, rating anchors, expectation reference and scoring rule. State whether results summarize individual items, proposed dimensions or an overall composite. Include usable case counts and missing-data handling, and distinguish the sample’s measurement evidence from evidence obtained elsewhere.

For the fictional example only, an APA-style descriptive sentence is: “Across four complete response pairs for the illustrative item, the perception-minus-expectation gap was negative (M = −0.50, SD = 1.29).” The two decimal places preserve the arithmetic shown here; they are not a rule requiring every questionnaire result to use two decimals. APA’s numbers guide gives general rounding guidance while emphasizing the precision needed for the intended use.

For an actual study, follow that sentence with the instrument and analysis details rather than substituting the demonstration’s numbers. APA’s JARS–Quant standard calls for sample-specific reliability information where possible, descriptions of instruments, missing-data frequency and handling, and suitable descriptive statistics. These details let a reader distinguish a reproducible score calculation from a supported interpretation of service quality.

How to calculate SERVQUAL gaps in Excel, R and Python

The examples below calculate the same four matched observations. They illustrate the gap logic only. In a research file, retain a respondent identifier and item identifier, confirm pairing, and apply the study’s declared missing-data rule before aggregation. Use the questionnaire design guide to plan the instrument and the Likert scale guide for related response-scale concepts.

Excel

Enter the expectation values 6, 6, 5, 4 in B2:B5 and perception values 4, 5, 6, 4 in C2:C5. Put the subtraction formula in D2 and fill it through D5. With all eight input cells containing the stated numbers, the summary formulas return −0.5 and approximately 1.290994449.

D2: =C2-B2
Mean gap: =AVERAGE(D2:D5)
Sample SD: =STDEV.S(D2:D5)

Check completeness first: a blank source cell should not be allowed to acquire the meaning of a zero rating through arithmetic. A calculated number alone does not show that the input was an eligible pair.

R

E = c(6, 6, 5, 4)
P = c(4, 5, 6, 4)
stopifnot(length(E) == length(P), !anyNA(E), !anyNA(P))
gap = P - E
mean(gap)
sd(gap)

This vector calculation preserves position-based pairing and stops if either vector contains missing values. The vectors must already represent the same respondents in the same order; the length check alone cannot establish that.

Python

from statistics import mean, stdev
E = [6, 6, 5, 4]
P = [4, 5, 6, 4]
assert len(E) == len(P) == 4
gap = [p - e for p, e in zip(P, E)]
print(mean(gap))
print(stdev(gap))

The output is −0.5 and approximately 1.2909944487358056. The independent component-mean check above verifies the first number; the sum-of-squared-deviations calculation verifies the second. For more items, keep the same matched-pair operation and explicitly define the next level of aggregation.

Sources

Data: SERVQUAL and library assessment measurement designs

An original comparison compiled from the Delphi-FUCOM-SERVQUAL study, Thompson and Cook’s original research-library study, and Concordia University Library’s LibQUAL implementation documentation. The rows distinguish the classic paired design from library adaptations; item counts and response scales are specific to the named design or study, not universal requirements.

SERVQUAL and library assessment measurement designs
Design or studyItems (items)Rating referencesDimensions or dimensional evidenceSource
Classic SERVQUAL, described in the Delphi-FUCOM-SERVQUAL paper22Expectation; perceptionFive proposed dimensions: tangibles, reliability, responsiveness, assurance, empathyDelphi-FUCOM-SERVQUAL, section 3.4: https://www.mdpi.com/2073-8994/10/12/757
Thompson–Cook research-library study, 200022Minimum acceptable; desired; perceived actual. Ratings 1–9.Highly reliable scores; five proposed dimensions not recovered in this sample.Thompson and Cook: https://files.eric.ed.gov/fulltext/ED435671.pdf
LibQUAL, Concordia implementation documentationNot specified hereMinimum acceptable; desired; perceivedAffect of Service; Library as Place; Information ControlConcordia University Library: https://library.concordia.ca/about/improvement/faq.php

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about SERVQUAL: Formula, Scoring and Library Research

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →