The Holiday Command Center is $67 today. Black Friday / Cyber Monday sale: $47 (Nov 27–30). Subscribers get early access Nov 24. Black Friday / Cyber Monday sale: the Holiday Command Center is $47 (Nov 27–30). Subscribers have early access now. The Holiday Command Center: 18 planners and spreadsheets for the season, $67. Black Friday / Cyber Monday sale: the Holiday Command Center is $47 (usually $67) through Nov 30. $67 · BF/CM sale $47 (Nov 27–30) BF/CM sale $47 · Nov 27–30 Command Center, $67 BF/CM sale: Command Center $47 See what’s inside

Free tool · runs in your browser

Statistics Calculator: Mean, Median and Standard Deviation

Calculate mean, median, repeated values, range, variance and standard deviation from a list. Compare sample and population results with a worked example.

The short answer: enter a list of numbers to find its count, sum, mean, median, repeated values, range and standard deviation. Choose population for the entire group you want to describe, or sample when estimating spread from a sample.

Enter your numbers

Use a period for decimals. Enter 1200 without a thousands separator; 1,200 is read as two numbers. Up to 10,000 values, each no larger than 1e100 in magnitude.

Mean, median and repeated values

The mean is the sum divided by the count. The median is the middle value after sorting; with an even count, average the two middle values. The NIST handbook on measures of location explains these measures and why they can give different descriptions of the same data.

This tool reports the most frequent exact values when at least one repeats. If several values tie for the highest frequency, it lists each tied value. If every value occurs once, it displays “No repeated values” rather than picking an arbitrary winner. Values that differ only after rounding are still treated as different inputs.

Population versus sample standard deviation

Variance summarizes squared distances from the mean. Population variance divides their total by n, the number of values. Sample variance divides by n − 1 and requires at least two observations. Standard deviation is the square root of the selected variance. The NIST measures-of-scale reference describes sample variance, standard deviation and range.

Choose the formula that matches the question you are answering. If your data are every expense in a particular month's completed ledger, population spread describes that full set. If you are using a sample to estimate variation in a larger group, a sample calculation is appropriate. Neither choice fixes a sample that was collected badly or excludes important observations.

Worked example

For 2, 4, 4, 4, 5, 5, 7 and 9, the count is 8 and the sum is 40. The mean is 5. The two central sorted values are 4 and 5, so the median is 4.5. The most frequent value is 4. The range is 9 − 2 = 7.

The squared deviations sum to 32. Population variance is 32 ÷ 8 = 4, with population standard deviation 2. Sample variance is 32 ÷ 7, about 4.571429, giving sample standard deviation about 2.13809. Selecting the other formula changes the spread results, not the mean or median.

Check your data before interpreting the result

Keep all observations in the same units. Combining dollars with cents, or minutes with hours, makes a summary misleading even when the arithmetic is correct. Include zero when it is an actual observation; do not use zero to stand in for a missing value without explaining that decision.

The calculator rejects text, infinity and invalid numbers instead of silently discarding them. Decimal commas and thousands separators are not supported because commas separate observations. Scientific notation such as 1e3 is accepted. Results are rounded for display and use the browser's floating-point arithmetic, so this is not an exact-decimal accounting system.

A large mean does not prove most values are large. Check the median, range and original values together, especially when one entry is much larger than the rest. These are descriptive summaries, not hypothesis tests, forecasts or evidence of a causal relationship. Your list is calculated in this browser page and is not submitted or stored by the calculator.

Questions, answered

What does this statistics calculator calculate? This statistics calculator calculates count, sum, mean, median, the most frequent repeated values, range, variance and standard deviation. It supports sample and population variance formulas and accepts comma-, space- or line-separated numbers.

Why are sample and population standard deviation different? Sample standard deviation uses n − 1 in the variance denominator, while population standard deviation uses n. For the same nonconstant data, sample standard deviation is larger; it requires at least two values.

Can I enter negative numbers and decimals? The statistics calculator accepts negative numbers, decimals written with a period and scientific notation such as 1e3. Commas separate observations, so do not use a comma as a decimal mark or thousands separator.

Explore the free planning tools.

Preview of the free Holiday Budget Starter Kit

Free kit + early access

Join for our free holiday budget kit

Get the Holiday Budget Starter Kit: a one-page holiday budget, a gift list with a limit for each person, and a 6-week countdown.

Subscribers also get early access to our Black Friday / Cyber Monday sale: the Holiday Command Center for $47 on Nov 24–26. Everyone else can buy it at the sale price Nov 27–30.