One Calculator Logo One Calculator
Mathematics & Statistics • Formulas shown

Statistics Calculator

Quick Answer

For the data 12, 15, 11, 18, 22, 15, 30, 14, 15, 9 the mean is 16.1, the median is 15, the mode is 15, the quartiles are 12.5 and 17.25, and 30 is flagged as an outlier by the 1.5 × IQR rule.

Separate with commas, spaces or new lines.
Result

The mean is 16.1 and the median is 15

Count10
Sum161
Minimum / maximum9 / 30
Range21
Q1 / Q312.5 / 17.25
IQR4.75
Mode15
Sample SD / variance6.08185 / 36.9889
Population SD / variance5.76975 / 33.29
Outliers (1.5 × IQR)30
Step-by-step calculation
  1. Sort the data, then take quartiles by linear interpolation (the Excel QUARTILE.INC method).
  2. Mean = 161 ÷ 10 = 16.1
  3. Outlier fences: 5.375 and 24.375

About the Statistics Calculator

Paste or type your numbers and get a complete summary at once: the centre (mean, median, mode), the spread (range, quartiles, IQR, variance and standard deviation for both samples and populations) and any outliers.

Quartiles use linear interpolation, the same method as the Excel QUARTILE.INC function, so results match spreadsheets. Outliers are values more than 1.5 IQR below Q1 or above Q3. Use sample statistics when your data are a subset of a larger group.

How to Use the Statistics Calculator

  1. Enter your numbers.
  2. Read the summary tiles.
  3. Check the outliers and fences in the steps.

Formula and Method

Quartile (inclusive)

position = (n − 1) × q

Interpolate between neighbours.

Outlier fences

Q1 − 1.5 IQR and Q3 + 1.5 IQR

Worked Example

Ten values

Input: 12, 15, 11, 18, 22, 15, 30, 14, 15, 9

  • Sorted: 9, 11, 12, 14, 15, 15, 15, 18, 22, 30
  • Q1 = 12.5, median = 15, Q3 = 17.25
  • IQR = 4.75; fences 5.375 and 24.375

Result: 30 is an outlier.

Frequently Asked Questions

What is the IQR?

The interquartile range, Q3 − Q1: the spread of the middle half of the data.

Sample or population variance?

Use the sample version (n − 1) for a subset and the population version for complete data.

Why do quartiles differ between tools?

There are several methods. This one matches Excel’s QUARTILE.INC.

What if there is no mode?

The calculator reports “none” when every value is unique.

Related Calculators

All Math & Statistics Calculators →

Sources and Further Reading

Accuracy and Scope

Results use standard IEEE-754 double-precision arithmetic and are rounded for display. For exam, engineering or research work, verify critical values with a second method. See our full disclaimer.