User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
Accepts integers and decimals. Minimum 4 values recommended.
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

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.

5 number summary five number summary quartiles box plot IQR statistics calculator outlier detection descriptive statistics median calculator

Formulas

The five-number summary is computed from a sorted dataset x1 โ‰ค x2 โ‰ค โ€ฆ โ‰ค xn.

Q2 =
{
x(n+1)/2 if n is oddxn/2 + xn/2+12 if n is even

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).

IQR = Q3 โˆ’ Q1
LF = Q1 โˆ’ 1.5 ร— IQR
UF = Q3 + 1.5 ร— IQR

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

StatisticSymbolPercentileDescriptionSensitivity to Outliers
Minimumxmin0thSmallest observation in the datasetExtremely high
First QuartileQ125thMedian of the lower halfLow
MedianQ250thMiddle value of sorted dataLow
Third QuartileQ375thMedian of the upper halfLow
Maximumxmax100thLargest observation in the datasetExtremely high
Interquartile RangeIQR - Q3 โˆ’ Q1Robust (resistant)
Lower FenceLF - Q1 โˆ’ 1.5 ร— IQRRobust
Upper FenceUF - Q3 + 1.5 ร— IQRRobust
RangeR - xmax โˆ’ xminExtremely high
Meanx - Arithmetic average of all valuesHigh
Sample Sizen - Total count of observationsNone
Mild Outlier - - Between 1.5ร— and 3ร— IQR from quartile -
Extreme Outlier - - Beyond 3ร— IQR from quartile -

Frequently Asked Questions

The exclusive method (Tukey's hinges, used here) excludes the median from both halves when computing Q1 and Q3 for odd-sized datasets. The inclusive method includes the median in both halves. For a dataset of n = 7, the exclusive method takes Q1 as the median of the lower 3 values and Q3 as the median of the upper 3 values. The inclusive method would use all 4 values in each half. Results can differ by small amounts, so always verify which method your course or industry standard requires.
A minimum of 4 data points is required to produce meaningful quartile splits. With 1 value, min = max = median. With 2-3 values, quartile computation is ambiguous and method-dependent. The calculator will warn you and still attempt computation, but results should be interpreted with caution for very small samples.
There are at least 9 recognized methods for computing sample quantiles (Hyndman & Fan, 1996). Excel's QUARTILE.EXC uses a linear interpolation method (Type 6), R's default quantile() uses Type 7, and this calculator uses Tukey's method. For large datasets (n > 30), all methods converge. Differences are most noticeable with small or discrete datasets.
A mild outlier falls between 1.5ร— IQR and 3ร— IQR beyond Q1 or Q3. An extreme outlier falls beyond 3ร— IQR. Formally: mild if Q1 โˆ’ 3ร—IQR โ‰ค x < Q1 โˆ’ 1.5ร—IQR or Q3 + 1.5ร—IQR < x โ‰ค Q3 + 3ร—IQR. Extreme if x < Q1 โˆ’ 3ร—IQR or x > Q3 + 3ร—IQR. The 1.5 multiplier was chosen by Tukey because it captures approximately 99.3% of normally distributed data.
Yes. Unlike mean and standard deviation, the five-number summary makes no distributional assumptions. It is particularly effective for skewed distributions, bimodal data, or datasets with outliers where parametric summaries are misleading. The box plot derived from it visually reveals skewness: if the median line is not centered in the box, the distribution is skewed.
Whiskers extend from Q1 down to the smallest data point within the lower fence (Q1 โˆ’ 1.5ร—IQR) and from Q3 up to the largest data point within the upper fence (Q3 + 1.5ร—IQR). They do NOT extend to min and max. Points beyond the fences are plotted individually as outlier dots. This is the standard Tukey box plot convention.