How to compare box plots - BioTuring's Blog
Back to blog

How to compare box plots

Box plots, a.k.a. box-and-whiskers plots, are an excellent way to visualize differences among groups. They manage to carry a lot of statistical details — medians, ranges, outliers — without looking intimidating. But box plots are not always intuitive to read. How do you compare two box plots?

The key information you want to get when reading box plots is: are these groups different, and if so, how? To quickly compare box plots, look for these things:

The boxes:

Start with the boxes. They represent the interquartile range, or the middle half of the values in each group. If two boxes do not overlap with one another, say, box A is completely above or below box B, then there is a difference between the two groups.

Non-overlapping boxes, groups are different.

If they overlap, move on to the lines inside the boxes.

The middle lines:

These are the medians, the “middle” values of each group. If the median line of box A lies outside of box B entirely, then there is likely to be a difference between the two groups.

Boxes overlap but don’t spread past both medians: groups are likely to be different.

If both median lines lie within the overlap between two boxes, we will have to take another step to reach a conclusion about their groups.

The whiskers:

The lines coming out from each box extend from the maximum to the minimum values of each set. Together with the box, the whiskers show how big a range there is between those two extremes. Larger ranges indicate wider distribution, that is, more scattered data.

The same thing can be said about the boxes. Short boxes mean their data points consistently hover around the center values. Taller boxes imply more variable data. That’s something to look for when comparing box plots, especially when the medians are similar.

Wider ranges (whisker length, box size) indicate more variable data.


When there are outliers, they are dotted outside the whiskers. Not all datasets have outliers. Data points have to go above or below the box pretty far to count as outliers. How far? 1.5 times the size of the box.

To sum up:

That’s a quick and easy way to compare two box-and-whisker plots. First, look at the boxes and median lines to see if they overlap. Then check the sizes of the boxes and whiskers to have a sense of ranges and variability. Finally, look for outliers if there are any.

BioVinci is a drag-and-drop software that will let you make a box plot in just a few minutes.

If you want to know what else is in the box (hah, see what I did there?), check out this post. We’ll cover:

  • How to compare box plots with overlapping medians.
  • Ranges vs counts: a common mistake while reading box plots.
  • Box plots skewed to the right? To the left?
  • Limitations of box plots, and better alternatives.
Recent posts

What if both box plot don’t over lap

    Hi juju, “if two boxes do not overlap with one another, say, box A is completely above or below box B, then there is a difference between the two groups.”

nice and informative post

Very useful, thank you!

Very Useful! Hope you make more of this and help others

Is a side-by-side Boxplots better than a Boxplot of differences?

Crisp and useful information. Thank You

Would you need to do a separate test/calculation to determine if the difference between the two plots is significant?

Wow this was really useful. Thank you!

Useful for my class thanks!

This helps me trough this lock-down. I have to do this topic for my internal assessment this term (term 4) but because of lock-down, we couldn’t learn from face to face, but thank you so much for these answers.

Leave a Reply