Statistics Calculator

Get the full set of descriptive statistics for a data list: mean, median, mode, spread, quartiles and a frequency table.

Separate numbers with commas, spaces or new lines.

Number entry: use a point for decimals (1.5). Commas grouped in threes are thousands separators (1,250), and a single comma such as 1,5 is read as a decimal comma. Nothing you enter leaves your device.

Showing the example values. Change the inputs and press Calculate for your own result.

Mean (average)

13.4

Median 13.5 · 10 values

Count (n)
10
Sum
134
Median
13.5
Mode
15
Minimum
3
Maximum
30
Range
27
First quartile (Q1)
7

Median of the lower half

Third quartile (Q3)
15

Median of the upper half

Interquartile range
8
Sample standard deviation
7.834397091
Population standard deviation
7.43236167
Sample variance
61.37777778
Population variance
55.24
Standard error of the mean
2.47745389
Geometric mean
11.29368165
Harmonic mean
9.137055838
Sum of squares
2,348

Frequency table

ValueCountShareCumulative
3110%10%
7220%30%
9110%40%
12110%50%
15330%80%
21110%90%
30110%100%

Quartiles use the “median of halves” method: for an odd count the middle value is left out of both halves. Other software may use slightly different quartile methods.

About the statistics calculator

This statistics calculator summarises a list of numbers: count, sum, mean, median, mode, minimum, maximum, range, quartiles, interquartile range, standard deviation, variance, standard error, geometric and harmonic means, and a frequency table.

Paste or type your data once and see the whole picture in one place.

Who should use the statistics calculator

  • Students working on statistics assignments.
  • Analysts doing a quick first look at a data set.
  • Anyone who needs a single table of descriptive statistics.

How to use the statistics calculator: what each input means

Data values
Numbers separated by commas, spaces or new lines, up to 10,000 values.

How the statistics calculator works: method and formula

The data are sorted, then each statistic is calculated from the full list. The median is the middle value (or the average of the two middle values). Quartiles use the median-of-halves method: the lower quartile is the median of the lower half and the upper quartile is the median of the upper half, with the median itself left out of both halves when the count is odd.

Mean
x̄ = Σx ÷ n
Interquartile range
IQR = Q3 − Q1
Geometric mean
(x₁ × x₂ × … × xₙ)^(1/n), for positive values

How to read your statistics calculator result

Compare the mean and median: when the mean is much larger than the median, a few large values are pulling the average up. The IQR describes the spread of the middle half of the data and is less affected by outliers than the range.

Statistics Calculator worked example

The data 3, 7, 7, 9, 12, 15, 15, 15, 21, 30.

  1. n = 10, sum = 134, mean = 13.4.
  2. Median = (12 + 15) ÷ 2 = 13.5; mode = 15 (15 appears 3 times).
  3. Range = 30 − 3 = 27; Q1 = 7, Q3 = 15, IQR = 8.
  4. Sample standard deviation ≈ 7.8344.

Mean 13.4, median 13.5, mode 15.

Practical uses of the statistics calculator

  • Summarising exam scores or sales figures.
  • Checking for outliers with the quartiles.
  • Producing the numbers for a report table.

Assumptions and limitations of this calculator

  • Quartile methods differ between textbooks and software; the method used here is stated and may differ slightly from yours.
  • Geometric and harmonic means require all values to be greater than zero.
  • Up to 10,000 values.
FAQs

Statistics Calculator FAQs

The mean is the average, the median is the middle value and the mode is the most frequent value.

Need Something Built Around Your Numbers?

Code & Motions designs and builds custom calculators, dashboards and web tools for businesses. Tell us what you have in mind.