Statistics Calculator
Calculate mean, median, mode, range, standard deviation, variance, and more for any set of numbers with our free online statistics calculator.
How to Use This Calculator
- Enter your numbers separated by commas (e.g., 12, 15, 18, 21).
- Click Calculate Statistics.
- View all statistical measures including mean, median, mode, range, standard deviation, and more.
- The step-by-step calculation shows how each result is derived.
Formulas
Median: Middle value when data is sorted (average of two middle values for even n)
Mode: Most frequently occurring value(s)
Range: Max − Min
Variance (σ²): Σ(x − x̄)² / n
Standard Deviation (σ): √Variance
IQR: Q3 − Q1
This calculator uses population standard deviation (dividing by n). For sample standard deviation, divide by (n−1) instead.
Examples
Test Scores
78, 85, 92, 88, 76, 95, 89, 83, 91, 87 — Mean = 86.4, Median = 87.5, Variance = 33.24.
Temperatures (°C)
22, 25, 28, 24, 30, 27, 26, 23, 29, 21 — Mean = 25.5, Range = 9.
Product Prices
$12.99, $15.49, $8.99, $22.00, $14.99 — Mean = $14.89, Median = $14.99.
Frequently Asked Questions
What is the difference between population and sample standard deviation?
This calculator uses population standard deviation (dividing by n). For sample standard deviation, divide by (n−1) instead.
What does the coefficient of variation (CV) tell me?
CV = (σ / x̄) × 100%. It measures relative variability, useful for comparing datasets with different scales.
Can I have more than one mode?
Yes. If multiple values occur with the same highest frequency, all are shown as modes.
What is the IQR used for?
The Interquartile Range (IQR) measures the spread of the middle 50% of data and is used to identify outliers.