Five Number Summary Calculator
Get the five number summary of a dataset, with the interquartile range and the outlier fences a box plot would use.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Five Number Summary Calculator does
The five number summary calculator on this page will get the five number summary of a dataset, with the interquartile range and the outlier fences a box plot would use. Fill in the single field and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for describing a dataset before drawing a box plot. If you want to cross-check the result, there is another five number summary calculator on FreeToolsWorld.org.
How to use it
- Paste your data in any separated format.
- The five numbers appear in order, with the interquartile range below them.
- The fences row shows where a box plot would start calling values outliers, and the row below lists any that qualify.
How it works
The five number summary describes a dataset by its position rather than its arithmetic: the smallest value, the value a quarter of the way up, the middle, the value three quarters up, and the largest. It is the data behind a box plot — the box spans Q1 to Q3, the line inside is the median, and the whiskers reach to the extremes or to the fences.
There is more than one way to compute quartiles, and software disagrees. This page uses the exclusive method, also called Tukey's: split the sorted data at the median, and take the median of each half, leaving the median value itself out when the count is odd. Excel's QUARTILE.INC uses an inclusive interpolation and will sometimes give a slightly different Q1 and Q3 on the same data. Neither is wrong; they answer the question differently, and a page that does not say which it used leaves you unable to reconcile the two.
The interquartile range is the width of the middle half of the data. It is a measure of spread that ignores the extremes entirely, which is exactly why it is used alongside the median when a dataset has outliers — one absurd value moves the mean and the standard deviation a long way, and moves the median and the IQR not at all.
The 1.5 × IQR fences are a convention, not a law of nature. A value beyond them is worth looking at, not automatically wrong. The multiplier comes from the spread of a normal distribution, where roughly 0.7% of values fall outside the fences by chance alone, so in a large sample some outliers are expected rather than suspicious.
When to use it
- Describing a dataset before drawing a box plot.
- Finding which readings in a set are far enough from the middle to check.
- Comparing the spread of two samples without letting extremes dominate.
Common mistakes to avoid
- Comparing a Q1 from this page with one from Excel without noting the two use different methods.
- Treating every value outside the fences as an error. The fences flag candidates for inspection.
- Using the IQR when the data is already known to be clean and symmetric — the standard deviation uses more of the information.
Frequently asked questions
Why does my Q1 differ from Excel?
Because Excel's QUARTILE.INC interpolates inclusively and this page uses the exclusive Tukey method. Both are standard; they just split the data differently.
What does the 1.5 in the fences mean?
It is the conventional multiplier of the interquartile range used to mark values worth checking. It is a rule of thumb, not a statistical test.
Do I need the data sorted first?
No. The page sorts it before computing anything.