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 8 values\text{box plot of 8 values}

min⁡=2, Q1=4.5, median=6.5, Q3=8.5, max⁡=30\displaystyle \min = 2,\ Q_1 = 4.5,\ \text{median} = 6.5,\ Q_3 = 8.5,\ \max = 30

Interquartile range

4\displaystyle 4

Outliers

30\displaystyle 30
Show the work
  1. Order the data

    Sort the 8 values.

    2, 4, 5, 6, 7, 8, 9, 302,\ 4,\ 5,\ 6,\ 7,\ 8,\ 9,\ 30
  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⁡=2, Q1=4.5, median=6.5, Q3=8.5, max⁡=30\min = 2,\ Q_1 = 4.5,\ \text{median} = 6.5,\ Q_3 = 8.5,\ \max = 30
  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=4fences=−1.5 and 14.5\begin{gathered} IQR = 4 \\ \text{fences} = -1.5\ \text{and}\ 14.5 \end{gathered}
  4. Whiskers

    The whiskers stop at the last values inside the fences; one value is drawn as outlier.

    whiskers: 2 to 9outliers: 30\begin{gathered} \text{whiskers: } 2\ \text{to}\ 9 \\ \text{outliers: } 30 \end{gathered}
  5. Result

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

    min⁡=2, Q1=4.5, median=6.5, Q3=8.5, max⁡=30\min = 2,\ Q_1 = 4.5,\ \text{median} = 6.5,\ Q_3 = 8.5,\ \max = 30

Worked examples