Introduction
A box plot is a simple picture that shows how your numbers spread out. This free box plot calculator draws that picture from your data.
Just type or paste your numbers. The tool sorts them, then finds the five-number summary: the minimum, first quartile (Q1), median, third quartile (Q3), and maximum. It also shows the interquartile range (IQR), mean, range, and standard deviation. If a number sits far from the rest, the calculator marks it as an outlier.
You can compare up to four groups on one chart. You can also skip the raw data and enter a five-number summary directly. Pick Tukey (1.5×IQR) whiskers, min/max whiskers, or your own percentile cutoffs. Change the colors, flip the plot sideways or upright, add a title, and turn the grid on or off.
Every answer comes with step-by-step math, so you can see how each quartile was found. When you are done, save your chart as a PNG or SVG image, or download the summary table as a CSV file. It works well for homework, class projects, lab reports, and quick data checks at work.
How to use our Box Plot Calculator
Type in your numbers or a five-number summary. The calculator draws the box plot and shows the median, quartiles, IQR, whiskers, and outliers with step-by-step math.
Input Mode: Pick "Raw Data" if you have a list of numbers. Pick "Summary Statistics" if you already know the min, quartiles, and max.
Data Type: Choose "Sample" if your numbers are part of a bigger group. Choose "Population" if they are the whole group. This changes how quartiles and variance are found.
Group Label: Name each data set, like "Class A." The name shows on the chart and in the tables.
Values: Paste or type at least 4 numbers. Split them with commas, spaces, tabs, or new lines.
Add another group: Click this to compare up to 4 data sets side by side. Use "Remove" to drop a group.
Minimum, Q1, Median, Q3, Maximum: In Summary Statistics mode, enter these five values. They must go from smallest to largest.
Mean (optional): Add the average if you know it. It shows as a diamond on the plot.
Whisker Mode: "Tukey" marks points past 1.5×IQR as outliers. "Min/Max" stretches whiskers to the smallest and largest values. "Custom Percentile" lets you set your own cutoffs.
Low and High percentile cutoff: Only used with Custom Percentile. Set the low end (0 to 49) and the high end (51 to 100) for the whiskers.
Plot Orientation: Show the boxes across the page (horizontal) or up and down (vertical).
Color Theme: Pick the color used for the boxes and whiskers.
Chart Title: Write a title for your graph, up to 120 letters.
Notched boxes: Check this to add a notch showing the median's confidence range.
Show grid: Check this to add light grid lines behind the plot.
Sort data automatically: Check this to list your numbers in order from low to high.
Highlight outliers: Check this to show far-off points as red triangles.
Show mean marker: Check this to mark the average with a diamond.
Include summary table in export: Check this to add the stats table to your saved PNG or SVG image.
Generate Plot: Click this to build the box plot, steps, and summary tables. Use "Clear All" to start over, "Reset Options to Defaults" to undo chart changes, and the export buttons to save your plot as PNG, SVG, or CSV.
What Is a Box Plot?
A box plot (also called a box-and-whisker plot) is a picture that shows how a set of numbers spreads out. Instead of showing every value, it shows five key points. That makes it easy to see the middle of your data, how wide the data is, and if any values look strange.
The Five-Number Summary
Every box plot is built from five numbers:
- Minimum: the smallest value.
- Q1 (first quartile): the value where 25% of the data falls below.
- Median (Q2): the middle value; half the data is below it.
- Q3 (third quartile): the value where 75% of the data falls below.
- Maximum: the largest value.
Parts of the Plot
The box stretches from Q1 to Q3. The middle 50% of your data sits inside that box. The line inside the box is the median. The whiskers are the lines that stick out from each side of the box and show the rest of the data. Dots or triangles past the whiskers are outliers. A diamond marker shows the mean (the average).
IQR and Outliers
The interquartile range (IQR) is the width of the box: IQR = Q3 − Q1. It tells you how spread out the middle half of the data is. The most common rule for spotting outliers is Tukey's 1.5×IQR rule:
- Lower fence = Q1 − 1.5 × IQR
- Upper fence = Q3 + 1.5 × IQR
Any value below the lower fence or above the upper fence is marked as an outlier. Whiskers then stop at the last real data value inside the fences.
Whisker Choices
- Tukey (1.5×IQR): the standard method, which flags outliers.
- Min / Max: whiskers reach the smallest and largest values, so nothing is an outlier.
- Custom percentile: you pick the cutoffs, like the 5th and 95th percentile.
Sample vs. Population Quartiles
There is more than one way to find quartiles. The sample (exclusive) method puts a quartile at position p(n+1) and divides the variance by n − 1. The population (inclusive) method uses position p(n−1)+1 and divides the variance by n. Use sample when your numbers are part of a bigger group. Use population when your numbers are the whole group. The two methods can give slightly different Q1 and Q3 values, and that is normal.
How to Read the Shape
- If the median sits near the center of the box, the data is fairly even (symmetric).
- If the median is closer to Q1 and the right whisker is long, the data is skewed right.
- If the median is closer to Q3 and the left whisker is long, the data is skewed left.
- A short box means values are close together. A long box means they are spread out.
Notched Boxes
A notch is a pinch in the box around the median. It shows a rough 95% confidence range for the median, found with median ± 1.57 × IQR ÷ √n. If the notches of two boxes do not overlap, their medians are likely truly different. When the notch would be wider than the box, it is skipped because it would not mean much.
Why Box Plots Are Useful
Box plots are great for comparing groups side by side, like test scores from different classes or wait times at different stores. They pack a lot of information into a small space, show skew and spread at a glance, and make unusual values easy to spot. They are used in school statistics, science labs, business reports, and quality checks.