Box and Whisker Plot Calculator

Enter your data to draw its box-and-whisker plot.

Numbers separated by commas, spaces or new lines

Try

Result

You enteredbox plot of 9 values\text{box plot of 9 values}

min⁡=1, Q1=2.5, median=5, Q3=7.5, max⁡=9\displaystyle \min = 1,\ Q_1 = 2.5,\ \text{median} = 5,\ Q_3 = 7.5,\ \max = 9

Interquartile range

5\displaystyle 5

Outliers

none\displaystyle \text{none}
Show the work
  1. Order the data

    Sort the 9 values.

    1, 2, 3, 4, 5, 6, 7, 8, 91,\ 2,\ 3,\ 4,\ 5,\ 6,\ 7,\ 8,\ 9
  2. Five-number summary

    The median splits the data in halves; Q1 and Q3 are the medians of the lower and upper halves (the median itself in neither when n is odd).

    min⁡=1, Q1=2.5, median=5, Q3=7.5, max⁡=9\min = 1,\ Q_1 = 2.5,\ \text{median} = 5,\ Q_3 = 7.5,\ \max = 9
  3. Fences for outliers

    A value more than 1.5 interquartile ranges beyond the box is drawn on its own as an outlier.

    Using Q1−1.5 IQR,Q3+1.5 IQRQ_1 - 1.5\,IQR,\quad Q_3 + 1.5\,IQR

    IQR=5fences=−5 and 15\begin{gathered} IQR = 5 \\ \text{fences} = -5\ \text{and}\ 15 \end{gathered}
  4. Whiskers

    No value is outside the fences, so the whiskers run to the minimum and the maximum.

    whiskers: 1 to 9\text{whiskers: } 1\ \text{to}\ 9
  5. Result

    The box plot: the box from Q1 to Q3 with the median inside, and the whiskers.

    min⁡=1, Q1=2.5, median=5, Q3=7.5, max⁡=9\min = 1,\ Q_1 = 2.5,\ \text{median} = 5,\ Q_3 = 7.5,\ \max = 9

Worked examples