Statistics Calculators
Compute mean, median, mode and standard deviation from any list of numbers — free, fast and instant.
Mean (Average) Calculator
Calculate the arithmetic mean of a list of numbers, separated by spaces or commas.
How it works: Mean (average) = sum of all values ÷ number of values. Example: 10, 20, 30, 40 and 50 add up to 150, and 150 ÷ 5 = 30. A few extreme values can pull the mean strongly, so compare it with the median.
Median Calculator
Find the middle value of a sorted list of numbers — the median.
How it works: The values are sorted and the middle one is the median; with an even count it is the average of the two middle values. Example: 15, 22, 8, 40, 27 sorted is 8, 15, 22, 27, 40, so the median is 22. Unlike the mean, it is barely affected by outliers.
Mode Calculator
Find the most frequently occurring value(s) in a list of numbers.
How it works: The mode is the value that appears most often; if several values tie for the highest count, all of them are shown, and if every value appears only once there is no mode. Example: in 5, 3, 7, 3, 9, 3, 5 the value 3 appears three times, so the mode is 3.
Standard Deviation Calculator
Calculate the population and sample standard deviation of a list of numbers.
How it works: Standard deviation = √(sum of squared differences from the mean ÷ n) for a whole population, or ÷ (n − 1) for a sample. Example: 2, 4, 4, 4, 5, 5, 7, 9 has mean 5 and squared differences totalling 32, so σ = √(32 ÷ 8) = 2 and s = √(32 ÷ 7) ≈ 2.1381.
Correlation Coefficient (Pearson r) Calculator
Compute the Pearson correlation coefficient between two lists of numbers to measure their relationship.
How it works: Pearson r = Σ(x − x̄)(y − ȳ) ÷ √[Σ(x − x̄)² × Σ(y − ȳ)²], ranging from −1 to +1. |r| ≥ 0.7 is shown as strong, 0.4–0.7 moderate, 0.2–0.4 weak and below 0.2 very weak. Example: x = 1…5 and y = 2, 4, 6, 8, 10 give r = 1.000. Correlation does not prove causation.
Sample Size Calculator
Determine the required sample size for a survey given population, margin of error, confidence level and proportion.
How it works: Cochran's formula n₀ = z² × p(1 − p) ÷ e², then corrected for a finite population: n = n₀ ÷ [1 + (n₀ − 1) ÷ N], rounded up. z is 1.645, 1.96 or 2.576 for 90%, 95% or 99% confidence. Example: N = 10,000, 5% margin, 95% confidence, p = 50% → n₀ ≈ 384.2 → 370 responses.
Confidence Interval Calculator
Calculate a confidence interval around a sample mean.
How it works: Confidence interval = mean ± z × (standard deviation ÷ √n). Use z = 1.96 for 95% confidence (1.645 for 90%, 2.576 for 99%). Example: mean 50, SD 10, n = 100 → margin 1.96 × 1 = 1.96, so the interval is 48.04 to 51.96.
Z-Score Calculator
Calculate the z-score of a value from mean and standard deviation.
How it works: Z-score = (value − mean) ÷ standard deviation: how many standard deviations a value lies above (+) or below (−) the mean. Example: 70 with mean 50 and SD 10 → (70 − 50) ÷ 10 = 2.00. In a normal distribution about 95% of values fall between −2 and +2.
Statistics Calculator FAQ
Statistics Calculator Guide
- Mean: The average — the sum of all values divided by the number of values.
- Median: The middle value when the data is sorted; it is less affected by outliers than the mean.
- Mode: The most frequent value — useful for categorical and discrete data.
- Standard deviation: Measures how spread out the values are; population uses N, sample uses N−1 in the denominator.