Loading…

Box and Whisker Plot

Statistics • Numerical Descriptive Measures

View all topics

Box-and-Whisker Plot (with Inner/Outer Fences and Outliers)

Enter a set of ungrouped data (individual values). This tool ranks the data, finds the five-number summary (minimum, \(Q_1\), median \(Q_2\), \(Q_3\), maximum), computes the interquartile range \(IQR = Q_3 - Q_1\), and then uses inner fences (\(Q_1 - 1.5\,IQR\), \(Q_3 + 1.5\,IQR\)) and outer fences (\(Q_1 - 3\,IQR\), \(Q_3 + 3\,IQR\)) to classify mild and extreme outliers. Two box-and-whisker diagrams illustrate the construction.

Type the observations separated by commas, spaces, or line breaks. At least 5 numerical values are recommended.

Ready

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What numbers are used to build a box-and-whisker plot?

A box-and-whisker plot is based on the five-number summary: minimum, Q1, median (Q2), Q3, and maximum. The box spans Q1 to Q3 and the median is marked inside the box.

How is the interquartile range (IQR) calculated?

The interquartile range measures the spread of the middle 50% of the data. It is computed as IQR = Q3 - Q1.

How do inner and outer fences detect outliers?

Inner fences are Q1 - 1.5 x IQR and Q3 + 1.5 x IQR, and outer fences are Q1 - 3 x IQR and Q3 + 3 x IQR. Values beyond the whiskers are outliers, with values between inner and outer fences typically called mild outliers and values outside the outer fences called extreme outliers.

What do the whiskers represent on a boxplot with fences?

The whiskers extend from the box to the smallest and largest data values that still lie within the inner fences. Any values beyond those whisker endpoints are plotted separately as outliers.

Why can boxplots look different depending on how quartiles are defined?

There are multiple accepted quartile rules, especially when the data size is odd or when splitting into halves. Different rules can shift Q1 and Q3 slightly, which changes IQR, fences, and which points are flagged as outliers.