All guides
box plothow tostatistics

How to Make a Box Plot Online (Box and Whisker Plot)

Complete guide to making box plots online. Understand quartiles, IQR, whiskers, outliers, and grouped box plots with clear examples.

By ChartsMakers Editorial Team·5 min read·Published 2026-05-02·Reviewed 2026-09-23

A box plot (also called a box and whisker plot) summarizes a dataset in five numbers and makes outliers easy to spot. It is commonly used to compare multiple groups.

How to make a box plot

1

Paste your data

Open the box plot maker and enter your values — one per line or comma-separated.

2

Toggle outlier display

Choose whether to show outlier dots beyond the whiskers, and pick your color scheme.

3

Download your chart

Save the chart as PNG or PDF.

The five-number summary

A box plot is built from five values computed from your data:

Part of chartStatisticWhat it means
Bottom whisker endMinimum (non-outlier)Smallest value within 1.5×IQR of Q1
Bottom of boxQ1 (25th percentile)25% of values are below this
Line inside boxMedian (50th percentile)Middle value of the dataset
Top of boxQ3 (75th percentile)75% of values are below this
Top whisker endMaximum (non-outlier)Largest value within 1.5×IQR of Q3
Dots beyond whiskersOutliersValues more than 1.5×IQR from the box

Understanding the IQR

The interquartile range (IQR) is the height of the box:

IQR = Q3 − Q1

The IQR represents the spread of the middle 50% of your data. A tall box means high variability; a short box means the middle half is tightly clustered.

Whisker length = 1.5 × IQR from each edge of the box. Any point beyond the whiskers is an outlier and plotted as a dot.

Reading skewness from a box plot

The position of the median line inside the box reveals skewness:

  • Median near the center → roughly symmetric distribution
  • Median near the bottom of the box → right-skewed, more values cluster near the lower end
  • Median near the top of the box → left-skewed, more values cluster near the upper end

You can also look at whisker length: a longer upper whisker suggests a right tail.

Five-number summary: worked example

For the dataset {62, 67, 70, 74, 74, 78, 81, 85, 85, 85, 91, 97}:

  1. Sort the values: 62, 67, 70, 74, 74, 78, 81, 85, 85, 85, 91, 97
  2. Median (Q2): Average of 6th and 7th values = (78 + 81) / 2 = 79.5
  3. Q1: Median of lower half (62–78) = average of 70 and 74 = 72
  4. Q3: Median of upper half (81–97) = average of 85 and 85 = 85
  5. IQR: 85 − 72 = 13
  6. Whisker bounds: Q1 − 1.5×IQR = 72 − 19.5 = 52.5 (minimum 62, so lower whisker = 62); Q3 + 1.5×IQR = 85 + 19.5 = 104.5 (maximum 97, so upper whisker = 97)
  7. Outliers: none (all values within whisker bounds)

The resulting box spans 72–85 with a median line at 79.5 and whiskers from 62 to 97.

Comparing multiple groups

To compare groups, enter each group as a separate column with a header:

Class A, Class B, Class C
72, 65, 80
85, 70, 88
78, 75, 92
91, 62, 85
67, 80, 74
74, 68, 95

Paste tab-separated data (copied from Excel or Google Sheets) or comma-separated. Each column becomes a separate box in the chart. This is the fastest way to answer "which class performed best and which had the most variability?"

Box plots for group comparison

Side-by-side comparison is what box plots are designed for. Multiple box plots in one chart let you quickly compare which group has a higher median, which has more spread, and which has more outliers — all quickly.

Box plot vs histogram

Box plotHistogram
Shows individual valuesNoNo
Shows distribution shapeSummary onlyFull shape
Good for group comparisonYesNot directly
Shows outliers explicitlyYesHidden in bins
Works with small datasetsYes (≥4 values)Needs 20+

Use a box plot to compare groups. Use a histogram to see the full shape of one distribution.

When to use a box plot

When to use
  • Comparing test scores across classes or groups
  • Salary distributions by department or role
  • Response times across server regions
  • Any time you're asking "how do these groups differ?"

FAQ

Q

How many values do I need?

At least 4 values are required to compute meaningful quartiles. For reliable outlier detection, aim for 20+.

Q

What is a mild vs extreme outlier?

The 1.5×IQR rule identifies mild outliers. Some analyses use 3×IQR for extreme outliers. Our tool uses the standard 1.5×IQR definition.

Q

Can I make a box plot in Excel?

Yes — select your data, go to Insert → Charts → Statistical → Box and Whisker. Excel uses slightly different whisker rules. For fast online box plots, use our free box plot maker.

How this guide is reviewed

This guide is maintained by the ChartsMakers Editorial Team and reviewed for statistical accuracy, product behavior, and clarity. When a guide relies on software behavior or statistical definitions, we check it against official documentation or established references. See our editorial policy.

Want to try it with your data?

Paste your data into the Box Plot Maker.