Statistics Calculator

MATH · STATISTICS

Enter your numeric dataset

Calculated on this device
Enter 1 to 5,000 finite numbers separated by commas, spaces, or line breaks.

ARITHMETIC MEAN (x̄)

22.25

8 values · Sum 178 · Median 23 · Range 36

Formula: x̄ = (Σxᵢ) ÷ n · s = √[ Σ(xᵢ − x̄)² ÷ (n − 1) ]

Sample SD (s)12.302729Var (s²): 151.357143
Population SD (σ)11.508149Var (σ²): 132.4375
Median & Mode23Mode: 23 (3×)
Geometric Mean17.119852Min 2 · Max 38

Full descriptive summary

MetricValueNotes
Count (n)8Total observations
Sum (Σx)178Total of all values
Min / Max / Range2 / 38 / 36Range = Max − Min
Quartiles (Q₁, Q₃, IQR)15.5, 30.5, 15Interquartile range = Q₃ − Q₁

HOW IT WORKS

Descriptive statistics formulas

Paste any list of numbers separated by commas, spaces, or line breaks to compute central tendency, dispersion, and order statistics simultaneously.

01

Arithmetic & Geometric Mean

Arithmetic mean sums all values and divides by n. Geometric mean multiplies positive values and takes the n-th root:

x̄ = (Σxᵢ) ÷ n · G = exp[ (1 ÷ n) Σ ln(xᵢ) ]
02

Sample & Population Variance / SD

Computed with Welford's numerically stable single-pass algorithm, using n − 1 for sample and n for population:

s = √[ Σ(xᵢ − x̄)² ÷ (n − 1) ] · σ = √[ Σ(xᵢ − μ)² ÷ n ]
03

Median, Mode & Quartiles

Values are sorted ascending to extract the median, mode(s), range (Max − Min), and quartiles Q₁, Q₃, and IQR (Q₃ − Q₁).

STATISTICS GUIDE

Choosing the right summary metrics

Mean vs. median and geometric mean

Use the arithmetic mean for symmetric data, the median and IQR when outliers skew the distribution, and the geometric mean for multiplicative growth rates or ratios. For a focused central-tendency view, see the Mean, Median, Mode, Range Calculator, or compute confidence intervals with the Confidence Interval Calculator.

Frequently asked questions

Why is geometric mean blank for datasets with 0 or negative numbers?

The geometric mean is defined for positive numbers via logarithms or the n-th root of the product; a zero makes the product 0 and negative values can produce complex roots.

What if multiple numbers tie for the highest frequency?

All tied most-frequent values are listed as modes (bimodal or multimodal). If every value appears the same number of times, the dataset has no mode.

How are Q₁ and Q₃ calculated?

The sorted dataset is split at the median into lower and upper halves (excluding the middle element when n is odd), and Q₁ and Q₃ are the medians of each half.

Can I paste a column from Excel or Google Sheets?

Yes. Line breaks, tabs, spaces, and commas are all automatically recognized as delimiters.

Your dataset is processed locally in your browser.