Math Tools
Statistics Calculator
Enter numbers to calculate comprehensive statistics including mean, median, variance, quartiles, and more.
Mean (Average)
18.00
Math Tools
Enter numbers to calculate comprehensive statistics including mean, median, variance, quartiles, and more.
Mean (Average)
18.00
Statistics describes and summarizes data. Key metrics include mean (average), median (middle value), mode (most frequent), range (spread), variance (spread squared), standard deviation (typical deviation from mean), and quartiles (values that divide data into quarters). These measures help you understand distribution, find outliers, and make data-driven decisions.
Enter numbers separated by commas, spaces, or line breaks. The calculator sorts the data, counts values, computes sums, and calculates all statistical measures. It automatically handles decimals, negative numbers, and datasets of any size. Results update live as you type.
Mean = (Sum) ÷ (Count); Variance = Σ(x − Mean)² ÷ (n − 1); Std Dev = √Variance; Q1 = 25th percentile; Q3 = 75th percentile; IQR = Q3 − Q1Mean is the sum divided by count. Variance measures spread from the mean (using sample formula n−1). Standard deviation is the square root of variance. Quartiles divide sorted data into four equal parts; IQR is the range of the middle 50% of data.
| Input | Result | Notes |
|---|---|---|
| 4, 8, 15, 16, 23, 42 | Mean: 18.00; Median: 15.50; Std Dev: 14.28 | Six numbers: mean is (4+8+15+16+23+42)÷6 = 18; median is the average of 15 and 16; standard deviation shows how spread out the values are |
| 85, 90, 78, 92, 88 | Mean: 86.60; Variance: 31.30; Range: 14 | Five test scores: variance is 31.30, range is 92−78 = 14, showing moderate spread in performance |
| 10, 10, 20, 20, 20, 30 | Mean: 18.33; Mode: 20; IQR: 10 | Mode (20) appears most often; IQR (10) is the range of the middle 50% of values |
Variance is the average squared deviation from the mean. Standard deviation is the square root of variance, so it's in the same units as your data. Both measure spread, but std dev is more interpretable.
This calculator uses the sample variance formula (dividing by n−1 instead of n). Use this when analyzing a subset of data. For a complete population, divide by n instead.
Q1 is the 25th percentile (the value below which 25% of data falls). Q3 is the 75th percentile. IQR (interquartile range) is Q3−Q1, representing the spread of the middle 50% of data.
Yes. Negative numbers are treated normally. Mean, median, variance, and all other metrics handle negative values correctly.
The mean and median equal that number. Variance and std dev are zero. Q1, Q3, and IQR are also zero because there's no spread.
At least one. For meaningful variance and std dev, use at least 2–3 values. The larger your dataset, the more reliable the statistics.