5 Number Summary Calculator
Calculate the 5-number summary (min, Q1, median, Q3, max) with IQR, outlier detection, and interactive box plot visualization.
About
The five-number summary is a set of descriptive statistics that partitions a dataset into four equal groups. It consists of the minimum value xmin, the first quartile Q1 (25th percentile), the median Q2 (50th percentile), the third quartile Q3 (75th percentile), and the maximum value xmax. These five values define the shape, spread, and center of a distribution without assuming normality. Misidentifying quartile boundaries leads to incorrect interquartile range calculations, which directly corrupts outlier fencing thresholds used in quality control (Six Sigma), clinical trial data screening, and financial risk models.
This calculator uses the exclusive quartile method (Tukey's hinges), where Q1 and Q3 are computed as medians of the lower and upper halves of the sorted data, excluding the overall median for odd-sized datasets. This matches the method used by most statistics textbooks and TI-series calculators. Note: results may differ slightly from tools using the inclusive (Moore & McCabe) method or interpolation-based percentile methods. The tool requires a minimum of 4 data points to produce meaningful quartile splits.
Formulas
The five-number summary is computed from a sorted dataset x1 โค x2 โค โฆ โค xn.
Q1 is the median of the lower half (indices 1 to m), and Q3 is the median of the upper half (indices n โ m + 1 to n), where m = floor(n รท 2).
Where Q2 = median, IQR = interquartile range, LF = lower fence, UF = upper fence. Any data point xi where xi < LF or xi > UF is classified as an outlier.
Reference Data
| Statistic | Symbol | Percentile | Description | Sensitivity to Outliers |
|---|---|---|---|---|
| Minimum | xmin | 0th | Smallest observation in the dataset | Extremely high |
| First Quartile | Q1 | 25th | Median of the lower half | Low |
| Median | Q2 | 50th | Middle value of sorted data | Low |
| Third Quartile | Q3 | 75th | Median of the upper half | Low |
| Maximum | xmax | 100th | Largest observation in the dataset | Extremely high |
| Interquartile Range | IQR | - | Q3 โ Q1 | Robust (resistant) |
| Lower Fence | LF | - | Q1 โ 1.5 ร IQR | Robust |
| Upper Fence | UF | - | Q3 + 1.5 ร IQR | Robust |
| Range | R | - | xmax โ xmin | Extremely high |
| Mean | - | Arithmetic average of all values | High | |
| Sample Size | n | - | Total count of observations | None |
| Mild Outlier | - | - | Between 1.5ร and 3ร IQR from quartile | - |
| Extreme Outlier | - | - | Beyond 3ร IQR from quartile | - |