The Statistics Calculator computes descriptive statistics for a dataset you enter: mean, median, mode, standard deviation, variance, range, min, and max — all at once, with no spreadsheet needed.

Statistics Calculator

Calculate mean, median, mode, standard deviation, and more.

Statistical Summary

How to Use This Calculator

  1. Enter your numbers separated by commas or spaces (e.g., 4, 8, 15, 16, 23, 42).
  2. Click Calculate.
  3. Click Reset to clear the input.

Understanding the Statistics

Mean (Average): Sum of all values ÷ count. Sensitive to outliers — one very large or small value pulls the mean significantly.

Median: The middle value when sorted. For even-count datasets, it’s the average of the two middle values. More robust to outliers than the mean — this is why median household income is reported instead of mean income.

Mode: The value that appears most frequently. A dataset can have no mode (all values unique), one mode, or multiple modes (multimodal).

Standard Deviation: Measures how spread out values are from the mean. A small SD means values cluster tightly around the mean; a large SD means they’re spread widely. This calculator uses the population standard deviation (divides by n).

Variance: Standard deviation squared. Used in many statistical formulas but harder to interpret directly since it’s in squared units.

Frequently Asked Questions

Population vs. sample standard deviation — which does this calculate?

This calculator computes population standard deviation (divides by n). If your data is a sample from a larger population and you want to estimate the population’s SD, use the sample formula (divides by n−1). Most statistics textbooks use sample SD; this calculator uses population SD.

What is a good standard deviation?

It depends entirely on context. A height dataset with SD of 3 inches means heights vary moderately. A temperature dataset with SD of 30°F would be extreme weather variability. Always interpret SD relative to the mean and the domain.

How it works

The calculator sorts the array for median computation, then calculates: mean = sum/n; median = middle value or average of two middle values; mode = most frequent value(s); variance = Σ(x−mean)²/n; stdDev = √variance; range = max−min.

Formula

Mean = Σx/n. Median = middle value. Variance = Σ(x−mean)²/n. Std Dev = √Variance. Range = Max − Min.