Range, Variance and Standard Deviation
Paste a comma-separated list of 2 or more numbers to get max minus min, the sample variance s² with the Bessel n-1 divisor, and the sample s.
Resumo
—
Range, variance and standard deviation
The range is the easiest spread to compute: R = max − min. Variance takes the squared distances from the mean and averages them. For a whole population you divide by N: σ² = Σ(xᵢ − μ)² / N. For a sample you divide by n − 1 instead, s² = Σ(xᵢ − x̄)² / (n − 1); that's Bessel's correction, and it keeps s² from coming out too small. The standard deviation is just √variance, which puts you back in the original units. Take [4, 8, 15, 16, 23, 42]: the mean lands near 18, the range is 38, the sample s is about 13.3 and σ about 12.1. Quartiles cut the sorted data into pieces — Q1 is the median of the bottom half, Q3 the median of the top half, and IQR = Q3 − Q1 holds up well when outliers are around.
Applications
Six Sigma quality control leans on it, where Cp and Cpk track how much a process wobbles. The same idea shows up in financial risk metrics like volatility σ and VaR, in lab work as measurement error, in psychometrics as test reliability, and in A/B testing, where the effect size you can detect hinges on σ.
FAQ
Why squared deviations? If you add up the raw deviations they cancel out to zero, since the positives and negatives offset each other. Squaring drops the signs and, as a bonus, leans harder on outliers, which is what you want in plenty of models.
n or n − 1? When you have the full population, divide by N. When you only have a sample and want to say something about the population behind it, divide by n − 1 (Bessel). Stick with n and you'll end up underestimating the real variance.
Range or standard deviation? The range is fast, but it only looks at two points, so a single stray value can throw it off badly. Standard deviation reads every data point and is the go-to measure when you're dealing with normal distributions.
Related Tools
Basic Statistics Calculator
From a list of numbers, compute mean, median, mode, min, max, sum, standard deviation and variance (population and sample). Everything in your browser.
CI for Variance and Standard Deviation
Computes the confidence interval for the variance and standard deviation of a normal population, from a sample. While most tools estimate the mean, this one estimates the spread — useful in quality control, where consistency matters as much as the central value. The calculation uses the chi-square distribution, which is asymmetric, so the interval is not centered on the sample variance. Enter the sample and the confidence level.
BR Daily Thermal Amplitude Calculator
Computes the average daily thermal amplitude from daily maximum and minimum temperatures in degrees Celsius and classifies the result.
One-Way ANOVA
Computes one-way analysis of variance (ANOVA), the test that checks whether three or more groups have different means. It decomposes the total variation into between-group and within-group variation, and the ratio between them (the F-statistic) indicates whether the observed differences are larger than would be expected by chance. It's the generalization of the t-test to multiple groups. Enter the groups: values separated by commas, groups separated by semicolons.
One-Sample Variance Test (Chi-Square)
Computes the chi-square test for the variance of a single sample, which checks whether the population variance equals a reference value. It's the dispersion counterpart of the one-sample t-test for the mean. It shows up often in quality control: is a process's variability within the specified limit, or has it increased? The statistic compares the sample variance with the hypothesized one and follows a chi-square distribution. Enter the sample and the hypothesized variance (σ₀²).
List Statistics
Calculate complete statistics for a list of numbers: sum, mean, median, mode, min, max, range and standard deviation.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.