Mean, median and weighted average calculator
Paste a list of numbers to find the mean and median. Choose a weighted average for grades or measurements with different weights.
Free, no account. The calculation stays on your device.
Result
How to calculate
- Paste one number per line, or use semicolons to separate numbers.
- For a weighted average, enter one weight for each value. The calculator divides the sum of the products by the sum of the weights.
Worked example
For 2, 3, 7 and 8, the mean is 5 and the median is (3 + 7) ÷ 2 = 5. For 12 and 16 with weights of 2 and 3, the weighted average is 14.4.
Frequently asked questions
What is the difference between the mean and the median?
The mean divides the sum by the count. The median is the middle of the sorted list. If two values occupy the middle, take their mean.
Do weights have to add up to 100?
Any positive total works. Weights 2 and 3 have the same ratio as 40 and 60. A zero weight leaves that value out of the weighted average.
How many values can I paste?
Up to 1,000, including repeated and negative values. Each line or semicolon-separated entry must contain one number.