Blog › Guide

How to analyse Likert scale data: SPSS, Excel and R steps, tests and a worked example

To analyse Likert scale data, first decide what you are analysing: single Likert items or a scale score made by adding or averaging several items. Then work in five steps. Code and reverse-code the items so that a high number always means the same thing. Describe the data: frequencies, percentages, median and mode for each item, and the mean and standard deviation for scale scores. Check reliability with Cronbach’s alpha before you combine items into a scale. Choose a test that matches your research question and data: non-parametric tests such as Mann-Whitney U, Kruskal-Wallis, Wilcoxon or Spearman for single items, and t-tests, ANOVA or Pearson correlation for scale scores when their assumptions hold. Finally, interpret and report the results in plain words, linked back to your objectives.

This guide covers each step in SPSS, Excel and R, with menu paths and functions checked against IBM and CRAN documentation, and ends with an illustrative worked example. (In the US and Canada you may see analyze; the steps are the same.)

Likert item or Likert scale? Get this right first

A Likert item is one statement with an ordered set of answers, such as “The library opening hours suit me”, answered from 1 = Strongly disagree to 5 = Strongly agree. A Likert scale, strictly speaking, is a group of several items that together measure one idea, such as satisfaction, motivation or confidence. You combine the items into a scale score, either by adding them (a summed score) or by averaging them (a mean score).

The difference matters because it changes how you describe and test the data:

What you analyseExampleDescribe withTypical tests
A single Likert item“Staff are helpful” (1–5)Frequencies, percentages, median, mode, a bar chartMann-Whitney U, Kruskal-Wallis, Wilcoxon signed-rank, Spearman, chi-square
A scale score from several itemsMean of five satisfaction items (1.0–5.0)Mean, standard deviation, range, a histogramt-tests, ANOVA, Pearson correlation, regression (when assumptions hold); non-parametric tests if not

A mean score is usually easier to read than a sum, because it stays on the original 1–5 answer scale.

Is Likert data ordinal or interval? The debate in plain words

The answers on a Likert item are ordered, but the gaps between them are not guaranteed to be equal. That makes a single item ordinal, and some writers argue for medians, frequencies and non-parametric tests rather than means and parametric tests.

Others argue that parametric tests cope well with Likert data in practice. Sullivan and Artino (2013), in the Journal of Graduate Medical Education, summarise both sides and conclude that parametric tests can be used to analyse Likert scale responses, but that a frequency distribution of responses is often more helpful than a mean for describing them. They advise deciding your approach at the planning stage and explaining it in the methods section.

A practical, defensible position for most dissertations and reports is this:

  • Treat single items as ordinal: report frequencies, percentages and medians, and use non-parametric tests.
  • Treat scale scores from several reliable items as approximately continuous: report means and standard deviations, and use parametric tests if the assumptions are reasonably met.
  • Follow your department’s or journal’s convention where it differs, and state your choice in your methodology chapter.

Step 1: Code and reverse-code your items

Store every item as a number with a value label, coded the same way (for example 1 = Strongly disagree to 5 = Strongly agree), and declare missing-value codes such as 99. Our guide on how to enter questionnaire data into SPSS shows how to set this up in Variable View.

Questionnaires often include negatively worded items, such as “The library is often too noisy to study”. Agreeing with it means lower satisfaction, so reverse it before combining it with other items. The rule is: new score = (lowest code + highest code) − old score, so 6 minus the score on a 1–5 scale, or 8 minus the score on a 1–7 scale.

  • SPSS: Transform > Recode into Different Variables, creating a new variable such as sat_4r. Keep the original.
  • Excel: in a new column, type =6-E2 and fill down.
  • R: df$sat_4r <- 6 - df$sat_4.

Step 2: Describe each item

Start by looking at how people answered each item. For single items, report:

  • Frequencies and percentages for each answer category. Percentages are easier to compare across items and groups.
  • The median (the middle answer when responses are ranked) and the mode (the most common answer).
  • Optionally, the combined percentage who agree (Agree plus Strongly agree) and who disagree, which readers find easy to follow.

If your field expects item means, report them alongside the percentages, not instead of them. As Sullivan and Artino (2013) note, when answers cluster at both extremes the mean can look neutral and hide what people actually said. Our guide on descriptive statistics in SPSS shows how to get these figures with Frequencies and Explore and how to report them.

Step 3: Show the items in a diverging bar chart

A diverging stacked bar chart is one of the clearest ways to show several Likert items together. Each item is one horizontal bar. Disagree answers extend to the left of a centre line, agree answers extend to the right, and Neutral sits across the middle.

  • R: the likert package draws this chart directly. Its default bar plot is centred on the middle answer, so a five-point item is centred on Neutral.
  • Excel: build a stacked bar chart from a table of percentages, entering the disagree percentages as negative numbers so they extend to the left. Format the axis labels so they show without minus signs.
  • SPSS: the Frequencies procedure can produce a simple bar chart for each item. For a diverging chart of several items, many people copy the percentages into Excel or use R.

Step 4: Check reliability with Cronbach’s alpha

Before you add or average items into one scale score, check that they hang together. Cronbach’s alpha is the most widely used measure of internal consistency: how far the items in a scale measure the same idea. It is usually reported as a number between 0 and 1, with higher values showing more consistency.

How to run Cronbach’s alpha in SPSS

  1. Reverse-code any negatively worded items first, and use the reversed versions.
  2. Choose Analyze > Scale > Reliability Analysis.
  3. Move the items for one scale into the Items box. Select at least two items; IBM notes that the procedure needs two or more.
  4. Leave Model set to Alpha.
  5. Click Statistics and tick Item, Scale and Scale if item deleted. The last option shows each item’s correlation with the rest of the scale and what alpha would be if that item were removed.
  6. Click Continue, then OK (or Paste, to save the syntax).

Run a separate reliability analysis for each scale in your questionnaire.

How to run Cronbach’s alpha in R

The psych package on CRAN has an alpha() function. Give it a data frame containing only the items for one scale:

install.packages("psych")
library(psych)
sat_items <- df[, c("sat_1", "sat_2", "sat_3", "sat_4", "sat_5")]
alpha(sat_items, keys = c("sat_4"))   # sat_4 is reverse-keyed

The output includes raw and standardised alpha, each item’s correlation with the rest of the scale (r.drop) and alpha if each item is dropped. The keys argument names items to reverse. By default (check.keys = FALSE) the function warns you about items that look reversed rather than reversing them, so treat a warning as a prompt to check your coding.

How to interpret alpha with care

There is no single magic cut-off. Tavakol and Dennick (2011), in the International Journal of Medical Education, note that published reports give acceptable values ranging from 0.70 to 0.95. They also explain that:

  • a low alpha can come from too few items, weak links between items, or items that measure more than one idea;
  • a very high alpha (above 0.90) may mean some items are repeating the same question in different words;
  • alpha depends on the number of items, so a longer scale tends to give a higher alpha;
  • alpha belongs to the scores from your sample, so you should calculate it for your own data rather than rely only on the figure published for an existing scale.

So report the value, say which threshold you used and cite where it comes from, and look at the item statistics. If one item has a very low correlation with the rest, check its wording and coding before deciding whether to drop it, and explain any change.

Step 5: Build the scale score

Once the items are reliable, create the scale score. A mean score is usually the most readable.

  • SPSS: Transform > Compute Variable. Type a target name such as sat_mean and the expression MEAN(sat_1, sat_2, sat_3, sat_4r, sat_5).
  • Excel: =AVERAGE(B2:F2) across the item columns (with the reversed item in place of the original), then fill down.
  • R: df$sat_mean <- rowMeans(df[, c("sat_1", "sat_2", "sat_3", "sat_4r", "sat_5")], na.rm = TRUE).

Decide in advance how to handle skipped items (for example, a mean only for people who answered most items) and state the rule.

Step 6: Choose the right test for Likert data

Plan each test from a research objective, ideally in your research proposal, not after seeing the results. Ask whether the objective compares groups, compares the same people twice or looks for a relationship, then match the test to the data. Our guide on how to choose the right statistical test covers this decision in full; the table below applies it to Likert data.

Your questionSingle Likert item (ordinal)Scale score (if assumptions hold)
Do two independent groups differ? (e.g. male and female students)Mann-Whitney UIndependent-samples t-test
Do three or more groups differ? (e.g. four faculties)Kruskal-WallisOne-way ANOVA
Did the same people change? (before and after)Wilcoxon signed-rankPaired-samples t-test
Are two measures related? (e.g. satisfaction and hours of use)Spearman’s rhoPearson correlation
Is agreement linked to a category? (e.g. agree or not, by faculty)Chi-square on grouped categories–

The assumptions for parametric tests include a roughly normal distribution of the scale score in each group and similar spread between groups. Check them with histograms and descriptive statistics, not only formal tests. If they are clearly not met, use the non-parametric test in the middle column for the scale score too.

How to analyse Likert scale data in SPSS

Here are the main menu paths, checked against IBM’s SPSS Statistics documentation. Menu names can differ slightly between versions.

TaskSPSS menu path
Reverse-code an itemTransform > Recode into Different Variables
Frequencies, percentages, median and mode for itemsAnalyze > Descriptive Statistics > Frequencies (tick median and mode under Statistics)
Cronbach’s alphaAnalyze > Scale > Reliability Analysis
Create a mean scale scoreTransform > Compute Variable
Mann-Whitney UAnalyze > Nonparametric Tests > Legacy Dialogs > 2 Independent Samples
Kruskal-WallisAnalyze > Nonparametric Tests > Legacy Dialogs > K Independent Samples
Wilcoxon signed-rankAnalyze > Nonparametric Tests > Legacy Dialogs > 2 Related Samples
Spearman or Pearson correlationAnalyze > Correlate > Bivariate

IBM notes that to read a Mann-Whitney U result as a difference in typical scores, the two groups’ distributions should have a similar shape, and that Spearman’s rho suits variables with ordered categories.

How to analyse Likert scale data in Excel

Excel is fine for descriptive analysis and charts, and many organisations use it for survey reports. Put one respondent per row and one item per column, coded as numbers.

  • Counts per answer: =COUNTIF(B$2:B$201,5) counts how many people chose 5 for the item in column B. Repeat for codes 1 to 4.
  • Percentages: divide each count by the number of answers, for example =COUNTIF(B$2:B$201,5)/COUNT(B$2:B$201), and format as a percentage.
  • Median and mean: =MEDIAN(B2:B201) and =AVERAGE(B2:B201).
  • Pivot tables: choose Insert > PivotTable, put the item in Rows and again in Values as a count, then use Show Values As > % of Column Total to get percentages. Add a grouping variable such as gender to Columns to compare groups.
  • Scale scores: =AVERAGE(B2:F2) for each respondent.

For Cronbach’s alpha and non-parametric tests, most people move from Excel to SPSS or R.

How to analyse Likert scale data in R

R is free and keeps a script of every step. A simple workflow uses base R plus two CRAN packages, psych and likert:

# Frequencies and percentages for one item
table(df$sat_1)
prop.table(table(df$sat_1)) * 100
median(df$sat_1, na.rm = TRUE)

# Diverging bar chart of several items (items must be factors)
library(likert)
labs <- c("Strongly disagree", "Disagree", "Neutral", "Agree", "Strongly agree")
items <- as.data.frame(lapply(df[, c("sat_1", "sat_2", "sat_3", "sat_4r", "sat_5")],
                       factor, levels = 1:5, labels = labs))
plot(likert(items))

# Reliability and scale score
library(psych)
alpha(df[, c("sat_1", "sat_2", "sat_3", "sat_4r", "sat_5")])
df$sat_mean <- rowMeans(df[, c("sat_1", "sat_2", "sat_3", "sat_4r", "sat_5")], na.rm = TRUE)

# Tests
wilcox.test(sat_1 ~ gender, data = df)                     # Mann-Whitney U (two groups)
kruskal.test(sat_1 ~ faculty, data = df)                   # Kruskal-Wallis
cor.test(df$sat_1, df$hours, method = "spearman")          # Spearman
t.test(sat_mean ~ gender, data = df)                       # t-test on the scale score

The likert() function expects each item to be a factor, which is why the code converts the numeric codes to labelled factors first. In R, wilcox.test() with two independent groups runs the rank-sum test that SPSS calls Mann-Whitney U; with paired = TRUE it runs the Wilcoxon signed-rank test.

How to interpret Likert scale results

  • Lead with the pattern. “Most respondents agreed that…” is clearer than a list of means.
  • Use percentages for items and means for scale scores, and keep decimals sensible: one or two decimal places are enough.
  • Be careful with mean ranges. Many theses and reports use bands to describe mean scores, such as treating a certain range as “agree”. These bands are conventions, not statistical rules. If you use them, state the bands, explain how they were set and cite the source your department accepts.
  • Separate significance from size. A small p-value tells you a difference is unlikely to be due to chance alone; it does not tell you the difference is large or important. Report the descriptive statistics alongside the test.
  • Do not claim cause from correlation.

When you report, give the test and why you chose it, descriptives for each group, the test statistic, the exact p-value and an effect size where possible, and name the software. Check the style your institution uses, such as APA.

An illustrative worked example

This example is illustrative. The study and all numbers are made up to show the steps and are not taken from real data.

Imagine a short survey of students about their university library. It includes five satisfaction items on a 1–5 scale (sat_1 to sat_5), where sat_4, “The library is often too noisy to study”, is negatively worded. It also records gender and faculty. The objectives are to describe satisfaction and to see whether it differs by gender.

  1. Code. Reverse sat_4 into sat_4r and declare 99 as missing.
  2. Describe items. Frequency tables and a diverging bar chart show, say, wide agreement that staff are helpful but split views on noise.
  3. Check reliability. Suppose Reliability Analysis gives an alpha of 0.81, and no item would raise alpha much if deleted. The student reports the value and cites the threshold used.
  4. Build the score. Compute sat_mean, the mean of the five items (using sat_4r).
  5. Test. Histograms of sat_mean look roughly symmetrical for both genders, so the student runs an independent-samples t-test on the scale score, with a Mann-Whitney U test as a check. For the single noise item, a Mann-Whitney U test is used.
  6. Report. Illustrative wording, with made-up numbers: “The five-item satisfaction scale showed good internal consistency (Cronbach’s α = .81). Mean satisfaction was similar for female (M = 3.72, SD = 0.58) and male students (M = 3.64, SD = 0.61), t(148) = 0.82, p = .41.”

Checklist before you report your Likert analysis

  • Items coded the same way, with value labels and missing codes declared
  • Negatively worded items reversed into new variables
  • Frequencies and percentages reported for each item
  • Cronbach’s alpha run separately for each scale, with item statistics checked
  • Scale scores computed with a stated rule for missing answers
  • Each test matched to an objective and to item or scale data
  • Assumptions checked before any parametric test
  • Results reported with descriptives, test statistic, p-value and effect size
  • Your treatment of Likert data (ordinal or approximately continuous) explained in the methodology

Need help analysing your Likert data?

Erudite Digital Team is a research consultancy led by Eliakim Anzizi, PhD. We help researchers, students and organisations clean and code survey data, check scale reliability, choose and run the right tests in SPSS, Stata, R and Excel, and explain the results in plain English. See our data analysis service or start with our free services.

Sources

Frequently asked questions

How do you analyse Likert scale data?

Decide whether you are analysing single items or a scale score. Code and reverse-code the items, describe items with frequencies, percentages and medians, check reliability with Cronbach’s alpha, build a mean scale score, then choose a test that fits your objective and data.

Is Likert scale data ordinal or interval?

A single Likert item is ordinal: the answers are ordered but the gaps between them are not guaranteed to be equal. A scale score made from several reliable items is often treated as approximately continuous. Follow your field’s convention and explain your choice in the methodology.

Which statistical test should I use for Likert data?

For single items, use non-parametric tests such as Mann-Whitney U (two groups), Kruskal-Wallis (three or more groups), Wilcoxon signed-rank (the same people twice) or Spearman correlation. For scale scores that meet the assumptions, t-tests, ANOVA and Pearson correlation are common.

How do I calculate Cronbach’s alpha for a Likert scale in SPSS?

Reverse-code any negatively worded items, then choose Analyze > Scale > Reliability Analysis, move the items for one scale into the Items box, keep the Alpha model, tick Scale if item deleted under Statistics and click OK. Run it separately for each scale.

How do I interpret Likert scale mean scores?

On a 1 to 5 scale, a higher mean shows stronger agreement. Report the mean with the standard deviation and the percentages for each answer, because a middle mean can hide split opinions. If you use mean bands to label scores, state the bands and cite where they come from.

Want your Likert data analysed or checked? Send a short description of your questionnaire, data and objectives on WhatsApp or by email. We reply with a clear plan. See our data analysis service.

Write it Right, Choose Erudite.