Statistics Calculator

Calculate basic descriptive statistics from a dataset. Computes count, sum, mean, median, min, max, range, variance, and standard deviation for a given dataset…

Computes count, sum, mean, median, min, max, range, variance, and standard deviation for a given dataset using standard statistical formulas.

What Are Descriptive Statistics?

Descriptive statistics summarize the central tendency, dispersion, and shape of a dataset without making inferences about a larger population. The three pillars are measures of location (mean, median), measures of spread (range, variance, standard deviation), and measures of position (quartiles, percentiles).

The arithmetic mean (average) is sensitive to outliers, while the median — the middle value when data is sorted — is robust. Variance measures the average squared deviation from the mean; standard deviation is its square root and has the same unit as the data, making it more interpretable.

For normally distributed data, approximately 68% of values fall within ±1σ of the mean, 95% within ±2σ, and 99.7% within ±3σ (the empirical rule). This makes standard deviation the foundation for quality control, hypothesis testing, and risk analysis.

Formula: Mean (x̄) = Σxᵢ / n Variance (s²) = Σ(xᵢ - x̄)² / (n - 1) Std Dev (s) = √Variance Median = middle value of sorted data

Example Calculation

Dataset: [4, 8, 6, 5, 3]. Count = 5, Sum = 26, Mean = 5.2, Sorted = [3,4,5,6,8], Median = 5. Variance = [(4−5.2)² + (8−5.2)² + (6−5.2)² + (5−5.2)² + (3−5.2)²] / 4 = 3.7. Std Dev = √3.7 ≈ 1.924.

When to Use This Calculator

Common Mistakes to Avoid

How to Interpret Results

Related Standards & References

Frequently Asked Questions

Should I use population variance (÷n) or sample variance (÷n−1)?

Use sample variance (dividing by n−1, known as Bessel's correction) when your data is a sample drawn from a larger population — this gives an unbiased estimate. Use population variance (÷n) only when you have the entire population. Most practical analyses use sample variance.

When is median more appropriate than mean?

Use the median when data is skewed or contains outliers — for example, income distributions, house prices, or failure times. The median is not affected by extreme values, so it better represents the 'typical' value in asymmetric distributions.

What does a high standard deviation relative to the mean indicate?

The coefficient of variation (CV = std dev / mean) measures relative spread. CV below 0.15 indicates low variability, 0.15-0.30 is moderate, and above 0.30 is high. High CV means data is widely dispersed and the mean alone is a poor summary — always report spread alongside central tendency.