1. Home
  2. Calculators
  3. Five-Number Summary Calculator

Five-Number Summary Calculator

For students and analysts who need the quartiles of a data set and a quick look for outliers.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Five-Number Summary Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table.

Features

  • Three quartile methods, named
  • IQR and the 1.5 × IQR fences
  • Outliers listed
  • A box plot you can download
  • Count and outliers listed

Supported formats

Input

  • Typed or pasted numbers

You get

  • On-screen results
  • Box plot (SVG and PNG)
  • Copyable text

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Five-Number Summary Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Quartile definitions differ, so the answer depends on the method you pick.
  • The 1.5 × IQR fences are a rule of thumb, not proof of an error.
  • Everything runs in your browser; nothing you type is sent anywhere.

Guide

The five-number summary, quartiles and outlier fences, and why quartile methods disagree

The five-number summary describes a data set with five values: the smallest, the first quartile, the median, the third quartile and the largest. Together they show the centre, the spread and the symmetry of the data, and they are the numbers drawn in a box plot. This tool computes them for any list, adds the interquartile range and the outlier fences, and draws the box plot.

How it works

The numbers are sorted. The median splits them into a lower and an upper half. The first quartile is the middle of the lower half, and the third quartile is the middle of the upper half. The interquartile range, IQR, is the third quartile minus the first, and it measures the spread of the middle half of the data without being pulled by extremes. A value more than 1.5 times the IQR below the first quartile or above the third is flagged as a possible outlier, which is the rule Tukey used for box plots.

Three quartile methods

Quartiles are not defined the same way everywhere. The first option takes the median of the lower and upper halves and leaves the overall median out when the count is odd, which is how most textbooks teach it. The second keeps the median in both halves, which gives the Tukey hinges. The third interpolates at position 1 plus p times n minus 1, which is what Excel QUARTILE.INC and R type 7 do. For some lists all three agree, and for others they differ by a fraction, so the page names the method next to the result.

Edge cases

At least two numbers are needed to get a meaningful quartile. Repeated values are fine and are counted each time. The fences can fall outside the range of the data, as with a lower fence below the minimum, which simply means nothing is flagged on that side. Numbers may be separated by commas, spaces or new lines, and the box plot whiskers extend to the most extreme values that are not flagged.

A worked example

Take 12, 15, 11, 18, 21, 14, 16, 19, 13, 17 and 45. The sorted list has 11 values. The minimum is 11, the median is 16 and the maximum is 45. With the textbook method the first quartile is 13 and the third is 19, so the IQR is 6. The lower fence is 13 minus 9, which is 4, and the upper fence is 19 plus 9, which is 28. Only 45 lies beyond a fence, so it is listed as the single outlier, and the box plot draws it as a separate point.

Limits

The fences are a rule of thumb that works best for data that are roughly symmetric, and they are not a statistical test. With very few values the quartiles jump around, and different methods can disagree noticeably. The tool does not remove outliers or recompute without them, and it does not handle grouped data given as frequencies.

Checked against the current version of the Five-Number Summary Calculator on .

Frequently asked questions

Why does my spreadsheet give a different Q1 than my textbook?

Spreadsheets usually interpolate between positions, while many textbooks split the data at the median and take the median of each half. Both are valid, they simply define a quartile differently, and the page shows each so you can match the one your course uses.

Does a value outside the fences have to be removed?

No. The fences are a screening rule that points to values worth checking. A flagged value may be a typing mistake or a real, interesting observation, and only knowledge of the data can tell which.

Why do quartile calculators give different answers?

There is no single definition. Textbooks usually exclude the median, Tukey hinges include it, and Excel interpolates. The tool shows which one you picked.

How is an outlier decided?

A value is flagged when it is more than 1.5 times the IQR below the first quartile or above the third quartile. This is a rule of thumb, not a proof of an error.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.