Skip to content

Math

Statistics Calculator

Enter your values and the result updates as you type. The formula and a worked example are below the calculator.

Keypad

0

Count=8

  • 42
  • 67
  • 85
  • 91
  • 67
  • 73
  • 58
  • 67

8 numbers read. Separate them with commas, spaces or new lines.

Mean (Average)

68.75

N = 8, sum = 550, median = 67, sample standard deviation s = 15.201033799431.

Count
8
Sum
550
Mean (Average)
68.75
Median
67
Mode
67, appeared 3 times
Largest
91
Smallest
42
Range
49
Geometric Mean
67.156121903067
Standard Deviation
14.21926510056
Variance
202.1875
Sample Standard Deviation
15.201033799431
Sample Variance
231.07142857143

Sorted data

42, 58, 67, 67, 67, 73, 85, 91

More statistics (not in the reference)

First quartile, Q1
62.5
Third quartile, Q3
79
Interquartile range, IQR
16.5
Outliers (beyond 1.5 × IQR from the quartiles)
None
Harmonic mean
65.423955248301
Sum of squares, Σx²
39,430
Mean of squares
4,928.75
Standard error of the mean
5.3743770403116

How to use

  1. Type or paste your numbers into the box, separated by commas, spaces or new lines. A column copied from a spreadsheet works.
  2. Or use the keypad: type a number, press ADD, and repeat. The list beside the keypad shows what you added; press the cross next to a number to remove it, or CAD to start again.
  3. Press a statistic key (mean, sums, standard deviations, variances or GM) to see that value in the display, or read every statistic in the results.
  4. Check the outliers and the quartiles to see whether a few extreme values are pulling the mean.

Formula

Mean = sum / N. Median = the middle value of the sorted list (the average of the middle two when N is even). Mode = the most frequent value. Population variance = sum of (x - mean)² / N and sample variance = the same sum / (N - 1); standard deviation is the square root of the variance. Geometric mean = (x1 x x2 x ... x xN)^(1/N). Harmonic mean = N / sum of (1/x). Outliers lie more than 1.5 x IQR below Q1 or above Q3.

Example

Marks 42, 67, 85, 91, 67, 73, 58, 67 have a sum of 550, a mean of 68.75, a median of 67, a mode of 67 (three times), a range of 49 and a sample standard deviation of about 15.2. The geometric mean is about 67.16, a little below the mean, as it always is for values that differ.

Use the population figures when your numbers are the whole group (every student in a class) and the sample figures when they are a part of a larger group (a survey of 100 people). The geometric mean needs positive numbers; it is 0 if any value is 0 and not defined when an odd number of values are negative. The harmonic mean needs every value above 0. Quartiles use the median-of-halves rule; other tools may use a different rule and give slightly different quartiles.