Statistics Calculator

Paste a data set to get a full descriptive summary, from the average and spread to the shape of the distribution.

Separate values with commas, spaces or new lines.

Result

Mean (x̄)
9
  • Count (n)10
  • Sum90
  • Median8
  • Mode4 (2×)
  • Minimum2
  • Maximum22
  • Range20
  • Sample variance (s²)37.11111111
  • Sample standard deviation (s)6.091888961
  • Population variance (σ²)33.4
  • Population standard deviation (σ)5.779273311
  • Standard error of the mean1.926424437
  • First quartile (Q1)4
  • Third quartile (Q3)12
  • Interquartile range (IQR)8
  • Geometric mean7.246287682
  • Skewness (sample, G1)1.091074809
  • Skewness (population, g1)0.9200750654
  • Excess kurtosis (sample, G2)1.026914093
  • Excess kurtosis (population, g2)0.03542615368
  • Sorted: 2, 4, 4, 5, 7, 9, 10, 12, 15, 22
  • Quartiles use the median-of-halves method (the median is left out of both halves when n is odd).
  • Skewness: g1 = m₃ ÷ m₂^1.5 and G1 = g1 × √(n(n − 1)) ÷ (n − 2). Excess kurtosis: g2 = m₄ ÷ m₂² − 3 and G2 = (n − 1) ÷ ((n − 2)(n − 3)) × ((n + 1)g2 + 6), where mₖ = Σ(x − x̄)ᵏ ÷ n. G1 and G2 match Excel’s SKEW and KURT.

How to use the calculator

Type or paste your numbers, separated by commas, spaces or new lines. A column copied from a spreadsheet works. The results update as you type:

  • Center: mean, median, mode and geometric mean.
  • Spread: minimum, maximum, range, variance and standard deviation (both sample and population), standard error of the mean, quartiles and the interquartile range.
  • Shape: skewness and excess kurtosis, in both sample and population versions.

Definitions used

Let n be the count, x̄ the mean and mₖ = Σ(x − x̄)ᵏ ÷ n the k-th central moment.

Statistic Definition
Sample variance s² Σ(x − x̄)² ÷ (n − 1)
Population variance σ² Σ(x − x̄)² ÷ n
Standard error s ÷ √n
Q1, Q3 medians of the lower and upper halves (median excluded when n is odd)
Skewness g1 m₃ ÷ m₂^1.5
Skewness G1 g1 × √(n(n − 1)) ÷ (n − 2)
Excess kurtosis g2 m₄ ÷ m₂² − 3
Excess kurtosis G2 (n − 1) ÷ ((n − 2)(n − 3)) × ((n + 1) × g2 + 6)

G1 needs at least 3 values and G2 at least 4. Skewness and kurtosis are not defined when every value is the same, because there is no spread to divide by.

Worked example

The default data set is 2, 4, 4, 5, 7, 9, 10, 12, 15, 22.

  1. Count and sum: 10 values that add up to 90, so the mean is 9.
  2. Median: the middle two values are 7 and 9, so the median is 8.
  3. Mode: 4 appears twice, so the mode is 4.
  4. Range: 22 − 2 = 20.
  5. Squared deviations from 9 add up to 334. The sample variance is 334 ÷ 9 = 37.11, so s = 6.092. The population variance is 334 ÷ 10 = 33.4, so σ = 5.779.
  6. Quartiles: the lower half 2, 4, 4, 5, 7 has median 4. The upper half 9, 10, 12, 15, 22 has median 12. The IQR is 8.
  7. Skewness: m₃ = 177.6, so g1 = 177.6 ÷ 33.4^1.5 = 0.920 and G1 = 1.091. The mean sits above the median, and the value 22 stretches the right tail, so positive skew is expected.
  8. Kurtosis: m₄ = 3,386.2, so g2 = 0.035 and G2 = 1.027.

Reading the results

Compare the mean and median first. When the mean is well above the median, as here, a few large values are pulling it up, and the median may describe a “typical” value better. The IQR covers the middle half of the data and ignores extremes. A value more than 1.5 × IQR beyond a quartile is a common outlier flag: here the upper fence is 12 + 12 = 24, so 22 is not an outlier.

For a step-by-step breakdown of each deviation, use the standard deviation calculator. For just the center of the data, the mean, median, mode and range calculator is quicker.

Limitations

  • The calculator accepts up to 10,000 values. Remove thousands separators first, because 1,250 is read as two numbers.
  • Skewness and kurtosis are unstable in small samples. With fewer than about 20 values, treat them as rough hints.
  • The geometric mean is only shown when every value is greater than zero.

Frequently asked questions

Which standard deviation should I report?

Report the sample value (s) when your numbers are a subset used to describe a bigger group, which is the usual case. Use the population value (σ) only when the list contains every member of the group.

What does skewness tell me?

Skewness measures lopsidedness. A positive value means a long tail of large values, as with incomes. A negative value means a long tail of small values. Values between about −0.5 and 0.5 suggest a roughly symmetric distribution.

Why is the kurtosis "excess"?

Excess kurtosis subtracts 3, the kurtosis of a normal distribution, so a normal distribution scores 0. Positive values mean heavier tails and more outliers than a normal curve, and negative values mean lighter tails.

Why do my skewness and kurtosis differ from another program?

There are several definitions. This calculator shows both the plain moment versions (g1, g2) and the bias-adjusted sample versions (G1, G2) used by Excel's SKEW and KURT functions. Some programs report kurtosis without subtracting 3.

Last reviewed: