Formula
Mean = (x₁ + x₂ + … + xₙ) ÷ nMedian = middle value of the sorted listRange = largest − smallest
- xᵢ
- each number in the list
- n
- how many numbers there are
How it works
The mean adds every value and divides by the count. The median sorts the list and takes the middle value, or the average of the two middle values when the count is even. The mode is the value that appears most often.
You can paste a column straight from a spreadsheet; commas, spaces, semicolons, and line breaks all work as separators. Thousands separators like “1,200” are not supported inside a list because the comma would be ambiguous — enter 1200 instead.
Worked examples
Test scores
Six test scores. The mean is 494 ÷ 6; the median averages the 3rd and 4th sorted scores (85 and 85).
- Numbers
- 72, 85, 90, 85, 68, 94
- Average (mean)
- 82.333333
Monthly electric bills
Four bills pasted with spaces.
- Numbers
- 142.18 96.40 88.75 120.02
- Average (mean)
- 111.8375
Mean or median?
The mean uses every value, so a single extreme number pulls it strongly. The median ignores how extreme the ends are, which is why home prices and incomes are usually reported as medians. If the two are far apart, your data is skewed.
Weighted averages
When values count differently — such as course grades weighted by credit hours — multiply each value by its weight, add the products, and divide by the total weight. This calculator computes the simple (unweighted) average.
Related calculators
- Percentage CalculatorFind a percentage of a number, work out what percent one number is of another, or recover the original total from a percentage.
- Percentage Difference CalculatorCompare two values when neither one is the reference, such as two store prices or two lab measurements.
- Standard Deviation CalculatorPaste a list of numbers to get the sample or population standard deviation, variance, and mean, with a deviation table for every value.
- Fraction CalculatorAdd, subtract, multiply, or divide two fractions and get the answer in lowest terms, as a mixed number, and as a decimal.
- Ratio CalculatorReduce a ratio to its simplest form or find the missing term in a proportion such as 3 : 4 = 15 : ?.
Last reviewed: