Beginner

5-Number Summary Calculator — Box Plot Statistics

Paste or type your data set (numbers separated by commas, spaces, or new lines) to instantly get the five-number summary — minimum, Q1, median, Q3, maximum — plus IQR, range, and Tukey outlier fences.
Separate numbers with commas, spaces, semicolons, or new lines
Median (Q2)
10

Middle value of the sorted data — the central tendency measure

35.37.59.81214.316.518.821Q1Q2Q3Five-number summary on a number line (min → Q1 → Q2 → Q3 → max)
Minimum
3
Q1 (25th percentile)
6
Median (Q2 / 50th percentile)
10
Q3 (75th percentile)
14
Maximum
21
IQR (Q3 − Q1)
8
Range (max − min)
18
Count
10
Lower fence (Q1 − 1.5·IQR)
-6
Upper fence (Q3 + 1.5·IQR)
26
Outliers (beyond fences)
None
Step by step
  1. 1

    Count

    10
    10 values sorted from 3 to 21.
  2. 2

    Q1 (lower quartile)

    6
  3. 3

    Q3 (upper quartile)

    14
  4. 4

    Median (Q2)

    (8 + 12) ÷ 2 = 10
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

The 5-number summary: min, Q1, median (Q2), Q3, max — plus IQR = Q3 − Q1 and range = max − min. Uses the exclusive (Tukey) method. Outlier fences: Q1 − 1.5·IQR and Q3 + 1.5·IQR. Paste any numeric data set to get all five values and the box-plot segmentsinstantly.

Formula
Min, Q1 = median(lower half), Q2 = median(all), Q3 = median(upper half), Max • IQR = Q3 − Q1 • Fences: Q1 − 1.5·IQR, Q3 + 1.5·IQR
How this is calculated

The five-number summary describes a data set with five key statistics drawn from a sorted list. The minimum and maximum are the smallest and largest values. The median (Q2) is the middle value — or the mean of the two middle values when the count is even. The first quartile (Q1) is the median of the lower half of the data, and the third quartile (Q3) is the median of the upper half.

This calculator uses the exclusive (Tukey) method: when the total number of values is odd, the overall median is excluded from both halves before computing Q1 and Q3. This is the method used by most statistical textbooks and the default in R. The interquartile range (IQR = Q3 − Q1) measures the spread of the middle 50% of the data.

Tukey's outlier fences extend 1.5 × IQR beyond Q1 and Q3. Values below Q1 − 1.5·IQR or above Q3 + 1.5·IQR are flagged as potential outliers (mild outliers; 3 × IQR is used for extreme outliers). These five numbers are exactly what a box-and-whisker plot draws, making this calculator the first step in creating a box plot from scratch.

Frequently asked questions

The five-number summary (min, Q1, median, Q3, max) is the foundation of a box-and-whisker plot. It describes the spread, center, and skew of a data set without assuming a normal distribution, making it robust to outliers. It is widely used in descriptive statistics, exploratory data analysis, and data visualization.

It uses the exclusive (Tukey) method: when the count is odd, the overall median is not included in either half when computing Q1 and Q3. This differs from the inclusive method (used in some textbooks and Excel's QUARTILE.INC) which includes the median in both halves. Results may differ slightly between methods.

Tukey fences are calculated as Q1 − 1.5·IQR (lower) and Q3 + 1.5·IQR (upper). Any value beyond these fences is considered a mild outlier; values beyond Q1 − 3·IQR or Q3 + 3·IQR are extreme outliers. This rule is the standard outlier definition used in box plots.

Also known as

5 number summary calculator
five number summary statistics
box plot summary calculator
min q1 median q3 max calculator
iqr quartile summary calculator
descriptive statistics box plot
tukey outlier fence calculator

APA

TG we-Calculate Editorial Team. (2026). 5-Number Summary Calculator — Box Plot Statistics [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/5-number-summary-calculator

Chicago

TG we-Calculate Editorial Team. "5-Number Summary Calculator — Box Plot Statistics." TG we-Calculate. 2026. https://we-calculate.com/calculator/5-number-summary-calculator.

IEEE

TG we-Calculate Editorial Team, "5-Number Summary Calculator — Box Plot Statistics," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/5-number-summary-calculator

BibTeX

@misc{wecalculate_5_number_summary_calculator, title = {5-Number Summary Calculator — Box Plot Statistics}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/5-number-summary-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?