Math calculator

Free statistics calculator

Compute descriptive statistics from any dataset — enter your numbers to see mean, median, mode, variance, standard deviation, and quartiles, updated live, as you type.

InputsLive
Numbers (comma-separated)
Enter numbers separated by commas or spaces. Min 2 values.
Result
Mean
5.7778
Mode: None
Count9
Mean5.7778
Median5
Std Deviation3.6141
Variance13.0617
Range12
Q13
Q38

Population statistics. Source: standard descriptive statistics.

Results are estimates. Consult a professional.

How it's calculated

How the statistics calculator works

This calculator computes the most common descriptive statistics for a data set in one step: mean, median, mode, variance, standard deviation, and interquartile range (IQR). Enter your numbers separated by commas and every metric is calculated simultaneously.

Mean (μ) = Σx ÷ n
Variance (σ²) = Σ(x μ)² ÷ n
Std deviation (σ) = √variance
Median = middle value when sorted (average of two middles if n is even)
IQR = Q3 Q1
NIST/SEMATECH e-Handbook of Statistical Methods
Example

Worked example: eight-value data set

Example: {2, 4, 4, 4, 5, 5, 7, 9}

A teacher records eight quiz scores: 2, 4, 4, 4, 5, 5, 7, 9. She wants the mean, standard deviation, and spread in one calculation.

Mean = (2+4+4+4+5+5+7+9) ÷ 8 = 40 ÷ 8 = 5
Variance = [(25)²+(45)²+(45)²+(45)²+(55)²+(55)²+(75)²+(95)²] ÷ 8
= [9+1+1+1+0+0+4+16] ÷ 8 = 32 ÷ 8 = 4
Std dev = √4 = 2
Median = average of 4th and 5th values (sorted) = (4+5) ÷ 2 = 4.5
Q1 = 4, Q3 = 6, IQR = 6 4 = 2
σ = 2, IQR = 2
Mean is 5, standard deviation is 2, and the middle 50% of scores fall within a range of just 2 points — a tightly clustered data set.
Quick reference

Descriptive statistics formulas at a glance

Use this table to quickly identify which statistic measures what aspect of your data set.

StatisticFormulaMeasures
MeanΣx ÷ nCentral tendency (average)
MedianMiddle value(s)Central tendency (robust to outliers)
ModeMost frequent valueMost common value
Variance (pop.)Σ(x−μ)² ÷ nAverage squared deviation
Std deviation√varianceSpread in original units
IQRQ3 − Q1Spread of the middle 50%
RangeMax − MinFull spread of data

Source: NIST/SEMATECH e-Handbook of Statistical Methods.

Practical tips

Tips for interpreting descriptive statistics

Descriptive statistics summarise your data, but choosing which measure to report depends on the shape of the distribution and the presence of outliers.

  • Use the median for skewed data — incomes, house prices, and response times are right-skewed; the median resists the pull of extreme values better than the mean.
  • Report IQR alongside median — together they describe the centre and spread without being distorted by outliers, making them the standard pair in box plots.
  • Check mean vs. median — if they differ substantially, your data is skewed; investigate which direction and whether outliers are valid data points.
  • Population vs. sample variance — divide by n for a full population; divide by n−1 (Bessel's correction) when your data is a sample drawn from a larger group.
  • Mode is most useful for categorical data — for continuous numeric data, mode is often not meaningful unless several exact repeats appear.
Accuracy & limits

Accuracy and limitations

All calculations use standard arithmetic with floating-point precision. For very large data sets or values with many decimal places, minor rounding differences may appear in the last digit. Population formulas (dividing by n) are used by default; for inferential work on a sample, note that sample standard deviation (dividing by n−1) gives an unbiased estimate of the population spread. This calculator does not perform hypothesis tests, regression, or inferential statistics.

Glossary

Key terms

The arithmetic average — the sum of all values divided by the count. Sensitive to outliers.
The middle value when the data is sorted. If there are two middle values, take their average. Robust to outliers.
The value that appears most often. A data set can have no mode, one mode, or multiple modes.
The average of squared deviations from the mean. Measures how spread out the data is, but in squared units.
The square root of variance. Expressed in the same units as the original data, making it easier to interpret than variance.
Q3 minus Q1 — the range covering the middle 50% of the data. A robust spread measure that ignores the top and bottom 25%.
About

About this calculator

Part of our math calculators suite — explore all calculators.

Questions

Frequently asked questions about the free statistics calculator

A statistics calculator is a free online tool that helps you compute mean, median, mode, variance, std dev, quartiles, IQR. Standard descriptive statistics. It runs entirely in your browser with instant results and no sign-up.
JavaScript double-precision floating-point — accurate to about 15-17 significant digits. For arbitrary precision, use the Big Number calculator.
The statistics calculator computes population variance (divides by n). For sample variance, multiply variance by n/(n-1).

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.