ThisCalculator

Statistics

5 Number Summary Outlier Calculator: Formula and Examples

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

5 Number Summary Outlier Calculator: Formula and Examples

A five-number summary outlier calculator uses a data list to find the minimum, first quartile, median, third quartile, and maximum, then applies the 1.5×IQR rule to flag possible outliers. Enter numerical observations, such as test scores or measurements, and the calculator returns the summary, interquartile range, and lower and upper outlier fences.

Formula

Sort the observations from smallest to largest. The five-number summary is minimum, Q1, median, Q3, and maximum. The interquartile range is IQR = Q3 − Q1. Tukey’s outlier fences are lower fence = Q1 − 1.5 × IQR and upper fence = Q3 + 1.5 × IQR. A value below the lower fence or above the upper fence is flagged as a potential outlier; a value on a fence is not outside it.

Here, Q1 and Q3 are the first and third quartiles in the same units as the data. The median is the central value, or the mean of the two central values when the count is even. The fences also use the data’s units. The five-number summary includes the minimum and maximum whether or not either is an outlier; the fences are additional cutoffs, not replacements for those endpoints.

Worked Example

Use the default list: 4, 7, 8, 10, 12, 13, 15, 18, 21, 24. It is already sorted and contains ten observations. With the median-of-halves quartile convention, the lower half is 4, 7, 8, 10, 12 and the upper half is 13, 15, 18, 21, 24.

The minimum is 4 and the maximum is 24. The median is (12 + 13) ÷ 2 = 12.50. The median of the lower half gives Q1 = 8.00, and the median of the upper half gives Q3 = 18.00. The five-number summary is therefore 4, 8, 12.50, 18, 24.

IQR = 18 − 8 = 10.00. The lower fence is 8 − (1.5 × 10) = −7.00, and the upper fence is 18 + (1.5 × 10) = 33.00. Every default value lies within those fences, so this example has no values flagged by the 1.5×IQR rule.

1. Online-Stats Five Number Summary Calculator

Online-Stats offers a five-number summary calculator that accepts a list of numerical observations and reports the minimum, Q1, median, Q3, and maximum. It is useful when you want the descriptive summary without setting up spreadsheet formulas. Check the site’s quartile convention if you need to match a particular textbook or statistical package.

2. Calculator Soup Statistics Calculator

Calculator Soup’s statistics tools calculate common descriptive measures from entered data, including quartiles and the median. It can suit a quick classroom check when you also want related statistics alongside the five-number summary. For outlier work, calculate the fences from its Q1 and Q3 values, since a five-number summary alone does not identify which observations fall beyond the fences.

3. Omni Calculator Interquartile Range Calculator

Omni Calculator’s interquartile range calculator focuses on Q1, Q3, and the difference between them. That makes it a practical choice when the key task is obtaining IQR for the 1.5×IQR outlier test, rather than reviewing a broad set of descriptive statistics. Use the displayed quartile values to calculate lower and upper fences, and compare them with the original observations.

4. GraphPad QuickCalcs

GraphPad QuickCalcs includes descriptive-statistics calculations for data entered as a column or list, making it relevant when you need quartiles and other summary measures together. It can help researchers or students inspect a dataset before creating a plot or report. Confirm how it defines quartiles for an even-sized sample before comparing results with software that uses a different percentile method.

5. Microsoft Excel with QUARTILE.INC

Excel is a flexible option when the dataset already lives in a worksheet: use MIN and MAX for the endpoints, MEDIAN for the center, and QUARTILE.INC(range,1) and QUARTILE.INC(range,3) for the inclusive quartiles. Calculate IQR as Q3−Q1 and the fences with the formulas above, then use conditional formatting or a comparison formula to highlight observations outside them. Excel’s inclusive quartiles may differ from a median-of-halves convention, so document the method when results need to be reproducible.

How to Choose

First decide whether you need only the five-number summary or explicit outlier fences and flagged observations. A focused IQR calculator may be enough for the former; for the latter, choose a tool that shows Q1 and Q3 clearly or lets you compare every raw value against both fences. If you have many observations, a spreadsheet can be more practical because it keeps the data, formulas, and flags together.

Quartile method is the most important technical distinction. Some tools split the sorted data into lower and upper halves, while others interpolate percentiles; small datasets can produce different Q1 and Q3 values under these methods. For a report, class assignment, or reproducible analysis, use the convention specified by the instructor or project and state it alongside the result.

Also check input handling: whether the tool accepts commas, line breaks, or pasted columns; whether it ignores blank cells; and whether it preserves negative or decimal values. Outlier fences are calculated in the original units, so use one consistent unit for every entry. A calculator can flag unusual points, but it cannot decide whether they are data-entry errors or meaningful observations.

Frequently Asked Questions

What is a five-number summary?
It lists the minimum, Q1, median, Q3, and maximum of a dataset. Together, these values describe its center and spread in a compact form.

How does the 1.5×IQR outlier rule work?
Find IQR = Q3−Q1, then calculate Q1−1.5×IQR and Q3+1.5×IQR. Observations strictly outside those fences are potential outliers under this rule.

Does a flagged value have to be removed?
No. A flag is a prompt to investigate, not proof of an error. Check the source and context before deciding how to handle the observation, and explain any exclusion in your analysis.

Why do calculators give different quartiles?
They may use different percentile or quartile conventions, especially for small or even-sized datasets. Compare the method settings and use one consistent convention throughout.

Can I use this method with negative numbers?
Yes. The formulas work with negative and positive values, as long as all observations use the same scale and units.

Final Thoughts

A five-number summary gives a quick view of a dataset, while the IQR fences provide a consistent way to flag unusually distant values. Choose a calculator whose quartile convention fits your purpose, and treat its outlier results as a reason to examine the data—not an automatic instruction to delete anything.

Related

Formula used
list data | Data values | 4, 7, 8, 10, 12, 13, 15, 18, 21, 24
out q1 | First quartile Q1 | - | q1(data) | 2
out med | Median | - | median(data) | 2
out q3 | Third quartile Q3 | - | q3(data) | 2
out iqr | Interquartile range IQR | - | q3(data) - q1(data) | 2
out low | Lower outlier fence | - | q1(data) - 1.5 * (q3(data) - q1(data)) | 2
out high | Upper outlier fence | - | q3(data) + 1.5 * (q3(data) - q1(data)) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.