Box Plot Generator Reading the plot

Box Plot Generator

Compare exam scores from two classes, or paste your own spreadsheet columns to plot quartiles and flag outliers.

Replace the example with your data. Tab, comma or space separated. Nothing is uploaded.

Column preview

2 groups
Group names, usable numbers and skipped cells
Group name Valid Skipped cells
10None
10None

Jump to statistics

Example box plot

20 values across 2 groups

Class A: median 75, whiskers 68 to 84, outliers 49. Class B: median 79, whiskers 65 to 92, outliers None405060708090100ValueClass AMedian 75Class A: 49Outlier 49Class BMedian 79
Class A’s lower whisker ends at 68. Its lowest value, 49, is plotted separately. Dots are outliers; whiskers stop at the last value within 1.5 × IQR.
No sign-in

Group statistics

Edit data
Calculated group statistics
StatisticClass AClass B
Count (N)1010
Minimum4965
Lower quartile (Q1)70.574.5
Median7579
Upper quartile (Q3)79.585.5
Maximum8492
Lower whisker6865
Upper whisker8492
Outlier values49None

Type 7 interpolates between adjacent sorted values. All observations count toward the quartiles, including outliers.

Reading the plot

The box spans the middle half of the values. The line inside marks the median. Compare the boxes on the same axis to see which group has the greater spread.

Box and whisker plot questions

Why are my quartiles different from my textbook?

The default is Type 7, also used by Excel’s QUARTILE.INC. Sort the n observations and find the zero-based position (n − 1) × p for p = 0.25, 0.5 or 0.75. Interpolate between adjacent values. A textbook may instead take the median of each half, excluding the middle observation when n is odd.

Where do the whiskers end?

The interquartile range (IQR) equals Q3 − Q1. The fences are Q1 − 1.5 × IQR and Q3 + 1.5 × IQR. A whisker reaches the furthest observed value inside or exactly on its fence.

How can I check an outlier by hand?

For 1, 2, 3, 4, 5, 30, Type 7 gives Q1 = 2.25 and Q3 = 4.75. The upper fence is 8.5. The upper whisker reaches 5 and the point at 30 stays in the data used to calculate the quartiles.

How do I compare more than one group?

Paste one spreadsheet column per group using a common unit. The first row of text supplies the names. Up to 12 groups share the same scale. Unequal sample sizes are fine.

Which separators and missing values can I use?

Tabs preserve spreadsheet columns, including empty cells. Commas and spaces also separate values. Put a single group on separate lines or paste a single comma- or space-separated list. In comma-separated tables, quote numbers with thousands separators. Use tabs for multiword headers. Empty and nonnumeric cells are listed by their original positions. For example, a blank A8 and a B8 containing “absent” are skipped while the other scores stay in the plot.

Can I use the figure in a paper?

Choose Download SVG below the chart for editable lines, boxes, points and text. Download PNG for a slide or document that accepts images. Both exports use a light background for printing. Copy table pastes the statistics into separate spreadsheet cells.