Free statistics tool
Box Plot & Histogram Maker
Paste your data to get a box-and-whisker plot with the five-number summary (minimum, Q1, median, Q3, maximum), the IQR and any outliers by the 1.5 × IQR rule, plus a histogram and a dot plot. Compare two data sets on the same scale, choose how quartiles are calculated, and see every step worked out. Free, no signup.
Separate numbers with spaces, commas or new lines. You can paste a column from a spreadsheet.
Box plot
Minimum
Q1
Median
Q3
Maximum
IQR
n = 18 · mean 83.389 · standard deviation (sample) 9.017 · range 35 · outliers: none
Histogram
Each bar counts values from its left edge up to, but not including, its right edge (the last bar includes both).
Dot plot
Five-number summary, step by step
- 1Put the 18 values in order.62,\ 71,\ 74,\ 75,\ 78,\ 80,\ 81,\ 83,\ 84,\ 85,\ 86,\ 88,\ 88,\ 90,\ 91,\ 93,\ 95,\ 97
- 2The median is the middle value (the mean of the two middle values, since the count is even).\text{median} = 84.5
- 3Q1 is the median of the lower half and Q3 the median of the upper half.Q_1 = 78,\quad Q_3 = 90
- 4The interquartile range is the spread of the middle half of the data.\text{IQR} = Q_3 - Q_1 = 90 - 78 = 12
- 5Outliers are values more than 1.5 × IQR beyond the quartiles. There are no outliers, so the whiskers reach the minimum and maximum.78 - 1.5 \times 12 = 60,\quad 90 + 1.5 \times 12 = 108
Reading a box plot
- The line inside the box is the median: half the data is below it, half above.
- The box holds the middle 50% of the data; its length is the IQR.
- Each whisker and each part of the box covers about a quarter of the data, so a long whisker means the values in that quarter are spread out.
- If the median sits closer to Q1 and the right whisker is longer, the data is skewed right; the mirror image means skewed left.
Which quartile method?
For a small data set, different methods can give slightly different quartiles. The default here, the median of each half without the overall median, matches most US textbooks and the TI-84 calculator. Use the method your teacher or software uses so your answers match.
Frequently asked questions
How do I make a box plot?+
Order the data, then find the five-number summary: the minimum, Q1, the median, Q3 and the maximum. Draw a box from Q1 to Q3 with a line at the median, and whiskers out to the smallest and largest values that are not outliers. Paste your numbers above and the tool draws it and shows each step.
How do you find Q1 and Q3?+
In most school courses (and on the TI-84), Q1 is the median of the lower half of the ordered data and Q3 is the median of the upper half; with an odd number of values, the middle value is left out of both halves. Some textbooks include it, and Excel interpolates, so the tool lets you choose the method your class uses.
How do you find outliers with the IQR?+
Compute the interquartile range, IQR = Q3 - Q1. Any value below Q1 - 1.5 × IQR or above Q3 + 1.5 × IQR is an outlier. On a box plot, outliers are drawn as separate dots and the whiskers stop at the most extreme values inside those fences.
What is the difference between a histogram and a box plot?+
A histogram shows how many values fall in each interval (bin), so you can see the shape of the distribution: peaks, gaps and skew. A box plot summarizes the data in five numbers, which makes it easy to compare the centers and spreads of several data sets side by side.
How do I choose a bin width for a histogram?+
Aim for roughly 5 to 12 bars: too few hide the shape, too many make it noisy. The tool starts with a round bin width that gives about the square root of the number of values as bars, and you can change the width and the starting point.
Learning statistics?
Work out the mean, standard deviation and z-scores next, or get a statistics tutor to explain it one-on-one. Your first trial lesson is free.
Make statistics click
A 1-on-1 statistics tutor helps you read data, not just compute it. Your first trial lesson is free.