Statistics Calculator
Compute full descriptive statistics for any dataset — mean, median, mode, range, variance, standard deviation, quartiles, IQR and percentiles.
How to use the Statistics Calculator
- Enter your inputs into the Statistics Calculator above.
- Results update instantly as you type — no submit button needed.
- Adjust any value to see how the result changes in real time.
Common descriptive statistics
Mean: μ = Σx/n · · · Median: middle value (or avg of two middle) · · · Variance: σ² = Σ(x − μ)²/n · · · SD: σ = √variance
Each statistic captures a different aspect: central tendency (mean, median, mode), spread (range, IQR, SD), shape (skewness, kurtosis). Use multiple stats together for a full picture.
Worked example
Dataset: 2, 4, 4, 7, 9, 13, 15. n=7. Mean = 7.71. Median = 7. Mode = 4. Range = 13. Variance ≈ 21.9. SD ≈ 4.68. Q1 = 4, Q3 = 13, IQR = 9.
Frequently asked questions
When should I use median instead of mean?
When data is skewed or has outliers (income, home prices). Mean is pulled by extreme values; median sits at the middle of the order. Both are reported in real-world data analysis.
What is IQR?
Interquartile range = Q3 − Q1. The spread of the middle 50% of the data. More robust to outliers than full range or standard deviation.
How is variance different from standard deviation?
Variance is the average squared deviation from the mean; SD is the square root of variance. SD is in the same units as the original data, so it's more interpretable.