Mean, Median, Mode & Standard Deviation Calculator
Paste a list of numbers and get the mean, median, mode, range, quartiles, variance, and both sample and population standard deviation in one step.
10 values read. Anything that is not a number is ignored.
- Count
- 10
- Sum
- 225
- Min / Max
- 12 / 42
- Q1
- 15
- Q3
- 24
- IQR
- 9
Measures of the centre
The mean, median, and mode each describe a typical value in a different way. The mean uses every number and is pulled by outliers. The median depends only on the order, so it resists extremes. The mode shows the most common value and is the only one that makes sense for categories. When the mean and median differ a lot, the data is skewed.
Measures of spread
Range is the gap between the smallest and largest values. The interquartile range, Q3 minus Q1, covers the middle half of the data and ignores extremes. Variance and standard deviation use every value: variance averages the squared distances from the mean, and standard deviation is its square root, which puts the spread back in the units of your data.
Sample versus population
If you measured every member of the group, divide the squared distances by n. If you measured a sample and want to estimate the wider group, divide by n − 1. The difference matters most for small samples; with hundreds of values the two nearly agree. Both are shown, so pick the one that matches your situation.
A worked example
For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the median is 4.5, and the mode is 4. The squared distances from the mean sum to 32, so the population variance is 32 ÷ 8 = 4 and the population standard deviation is 2. The sample variance is 32 ÷ 7 ≈ 4.571.
Common pitfalls
Check for typing errors and extreme values before trusting the summary, because one wrong digit can move the mean and the standard deviation a long way. Report the median alongside the mean when data is skewed, and say whether your standard deviation is a sample or population figure.
Frequently asked questions
What is the difference between mean, median, and mode?▾
The mean is the sum divided by the count. The median is the middle value once the numbers are sorted (or the average of the two middle values). The mode is the value that appears most often, and a set can have more than one mode or none.
Sample or population standard deviation: which should I use?▾
Use population standard deviation (divide by n) when your numbers are the entire group. Use sample standard deviation (divide by n − 1) when they are a sample drawn from a larger group. The n − 1 correction compensates for a sample underestimating the spread.
How are the quartiles calculated?▾
Q1 is the median of the lower half of the sorted data and Q3 is the median of the upper half. Different textbooks and software use slightly different conventions, especially for small data sets, so a spreadsheet may show a slightly different value.
What does standard deviation tell me?▾
It measures how spread out the values are around the mean. A small standard deviation means values cluster near the mean; a large one means they are scattered. In roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean.
How should I enter my data?▾
Paste numbers separated by commas, spaces, semicolons, or new lines. Text that is not a number is ignored, so you can paste a column straight from a spreadsheet. The counter under the box shows how many values were read.
Guides that use this calculator
- Mean, Median, Mode, and Standard Deviation Explained With One Example
Work through mean, median, mode, variance, and standard deviation on a single data set, and learn when to use population versus sample formulas.
Related calculators
Percentage Calculator
Four percentage modes: X% of Y, X is what % of Y, percentage increase or decrease, and percent change between two numbers.
Fraction Calculator
Add, subtract, multiply, and divide fractions. Auto-simplifies and converts between improper, mixed-number, and decimal forms.
Simple Calculator
Fast, free online calculator for everyday math — add, subtract, multiply, divide, percentages, and square roots. Keyboard friendly.
Weighted Grade Calculator
Work out your current course grade from weighted assignments, and find the score you need on the final exam to reach the grade you want.