How to Calculate Five Number Summary in SPSS: Complete Tutorial
Imagine you've conducted a survey with 200 respondents and need to report the distribution of their responses in an academic paper. SPSS makes this straightforward—the following sections walk through calculating the five number summary using the graphical interface.
Prerequisites
Before starting, ensure you have:
- SPSS installed (any version from 20+ works similarly)
- Your data imported into SPSS Data View
- A numeric variable you want to analyze
Method 1: Using Frequencies (Recommended)
The Frequencies procedure gives you the most control over which statistics to calculate.
Step 1: Open Frequencies Dialog
Navigate through the menus:
Analyze → Descriptive Statistics → Frequencies...Step 2: Select Your Variable
In the Frequencies dialog:
- Find your variable in the left panel
- Click the arrow button (→) to move it to the "Variable(s)" list
- Uncheck "Display frequency tables" if you only want summary statistics
Step 3: Configure Statistics
Click the Statistics... button to open the Statistics dialog:
- Under "Percentile Values," check Quartiles
- Under "Central Tendency," check Median
- Under "Dispersion," check Minimum and Maximum
- Click Continue
Step 4: Run and View Results
Click OK to run the analysis. SPSS displays results in the Output Viewer.
SPSS Output Table
Your output will show a Statistics table with:
N Valid: [count]
Minimum: [min value]
Maximum: [max value]
Percentiles 25: [Q1]
Percentiles 50: [Median]
Percentiles 75: [Q3]
Method 2: Using Explore (With Box Plot)
The Explore procedure calculates descriptive statistics AND creates a box plot automatically.
Step 1: Open Explore Dialog
Analyze → Descriptive Statistics → Explore...Step 2: Configure Explore
- Move your variable to the "Dependent List"
- Optionally add a grouping variable to "Factor List" for comparisons
- Under "Display," select "Both" for statistics and plots
Step 3: Customize Plots (Optional)
Click Plots... to configure:
- Check Factor levels together to compare groups side-by-side
- Under "Boxplots," select your preferred style
- Click Continue
Step 4: View Results
Click OK. The output includes:
- Descriptives table: Mean, median, variance, standard deviation, minimum, maximum, range, IQR, skewness, kurtosis
- Percentiles table: Shows quartiles and other percentiles
- Box plot: Visual representation with outliers marked
Understanding SPSS Output
The Descriptives Table
SPSS provides extensive statistics. For the five number summary, look for:
| SPSS Label | Five Number Summary |
|---|---|
| Minimum | Min |
| Percentile 25 | Q1 (First Quartile) |
| Percentile 50 / Median | Median (Q2) |
| Percentile 75 | Q3 (Third Quartile) |
| Maximum | Max |
SPSS's Quartile Method
SPSS uses percentile interpolation by default (similar to Excel's QUARTILE.INC). This means Q1 is at the 25th percentile position using linear interpolation.
This may give slightly different results than TI-84 calculators or Tukey's hinges method.
Creating Box Plots in SPSS
For a standalone box plot without all the Explore statistics:
Legacy Dialogs Method
Graphs → Legacy Dialogs → Boxplot...- Choose "Simple" for a single variable or "Clustered" to compare groups
- Select "Summaries of separate variables"
- Move your variable to the "Boxes Represent" area
- Click OK
Chart Builder Method (SPSS 14+)
Graphs → Chart Builder...- Select "Boxplot" from the gallery
- Drag the desired style to the preview area
- Drag variables to the X and Y axes
- Click OK
SPSS Syntax (For Reproducibility)
Advanced users can use syntax for reproducible analysis. Save this in a .sps file:
* Five Number Summary using Frequencies. FREQUENCIES VARIABLES=YourVariable /FORMAT=NOTABLE /STATISTICS=MINIMUM MAXIMUM MEDIAN /PERCENTILES=25 50 75. * Alternative using Examine (Explore). EXAMINE VARIABLES=YourVariable /PLOT BOXPLOT /PERCENTILES(25,50,75) HAVERAGE /STATISTICS DESCRIPTIVES.
Replace YourVariable with your actual variable name.
Common Errors and Solutions
Common Mistakes to Avoid
These are the most frequent errors when calculating the five number summary in SPSS. Learn from these mistakes before you make them!
Using Descriptives instead of Frequencies
// Using Descriptives instead of Frequencies
Analyze → Descriptive Statistics → Descriptives// Correct menu path for quartiles
Analyze → Descriptive Statistics → Frequencies💡 Why: Descriptives only shows mean and standard deviation. Frequencies with Statistics options gives you quartiles and percentiles.
Forgetting to check 'Quartiles' option
// Forgetting to check "Quartiles" option
Statistics dialog → (nothing selected)// Enable Percentile Values
Statistics → ☑ Quartiles
Statistics → ☑ Cut points for 4 equal groups💡 Why: By default, SPSS doesn't calculate quartiles. You must explicitly enable them in the Statistics dialog.
Missing Values Warning
If you see "Missing" in your output, SPSS excluded rows with blank or invalid values. Check your data for:
- Text in numeric columns
- System-missing values (empty cells)
- User-defined missing values
Scale vs. Nominal Issue
SPSS won't calculate quartiles for variables marked as "Nominal" or "Ordinal." Change the measurement level:
- In Variable View, find the "Measure" column
- Change from "Nominal" to "Scale"
Comparing SPSS to Other Tools
SPSS's percentile interpolation method matches:
- Excel's QUARTILE.INC
- R's quantile() with type=7
- Python NumPy's default percentile()
- Our online calculator's "Percentile Method"
It differs slightly from TI-84 and Tukey's hinges. See our method comparison guide for details.
Conclusion
SPSS provides multiple ways to calculate the five number summary. The Frequencies procedure offers the most control, while Explore provides statistics and visualizations together. For quick verification or alternative methods, the free online calculator is also available.
Verify Your Calculations
Use the free five number summary calculator to check your work.
Open CalculatorWritten by Oge Nwaozuzu
Statistics educator and data analyst. Creator of 5numbersummarycalculator.app.