Mean, median and mode
Find mean, median, all repeated modes, range, sum and a sorted list. See how an outlier changes the average compared with the middle value.
See both common standard-deviation definitions from the same data. Use the population value to describe the complete set you supplied, or the sample estimate when that set is being used to estimate a larger population’s variance.
Free to use, with no sign-in. Inputs and results stay in this page and are not sent with the form. Download a result before leaving; this tool does not save your work.
Population SD 2; sample SD approximately 2.13808993530.
For 2, 4, 4, 4, 5, 5, 7 and 9, the mean is 5 and the squared deviations sum to 32.
n = 8; mean = 5
Squared deviations = 9, 1, 1, 1, 0, 0, 4, 16
Sum of squared deviations = 32
Population variance = 32/8 = 4
Population standard deviation = 2
Sample variance = 32/7 ≈ 4.57142857143
Sample standard deviation ≈ 2.13808993530The difference is a denominator choice, not a rounding discrepancy. Standard deviation has the same units as the original values; variance has squared units.
Population variance divides the squared-deviation total by n. The conventional sample variance divides by n−1 because the sample mean has already been estimated from the same data. Taking a square root yields the corresponding standard deviation.
The n−1 correction makes sample variance an unbiased estimator under the usual independent, identically distributed sampling assumptions; it does not make the sample standard deviation itself exactly unbiased or repair a biased sampling process.
SS = Σ(x − mean)²
population variance = SS/n
sample variance = SS/(n − 1), n ≥ 2
standard deviation = square root of the corresponding varianceAt least one observation is needed for the population calculation and two for the sample calculation. For a one-value input, the sample result is undefined rather than zero. All-equal data have zero spread.
Up to 5,000 values are supported. Floating-point calculations can lose detail when tiny differences are supplied alongside a huge common offset. Re-expressing such measurements relative to a sensible reference can help; this tool does not infer measurement precision.
Use the population definition to describe the complete collection of interest. Use the sample estimate when your observations are a sample used to estimate a larger population variance.
No. It corrects the conventional variance estimator under sampling assumptions; it does not make an unrepresentative sample representative.
No. Standard deviation describes spread among values. A standard error describes uncertainty of an estimator and requires additional assumptions.
These references explain the formulas or formats. The worked examples above were created for this tool and checked against independent calculations or format round trips. AI-assisted development does not imply a named human expert review.
Published 2026-10-23. Examples are illustrations, not measurements of a service or claims about search rankings.
Find mean, median, all repeated modes, range, sum and a sorted list. See how an outlier changes the average compared with the middle value.
Calculate a weighted mean from value–weight pairs. See total weight, each weighted contribution and how percentage weights are normalized.
Compare actual and predicted values with per-row errors, MAE, MSE, RMSE and R². Handle constant targets and negative R² explicitly.
All calculators and developer tools · Source-checked guides · How Ithy checks sources