How the averages are calculated
“Average” usually means the arithmetic mean, but the median and the mode are averages too. The calculator follows the definitions in the NIST/SEMATECH e-Handbook of Statistical Methods.
weighted mean = (w₁x₁ + w₂x₂ + … + wₙxₙ) ÷ (w₁ + w₂ + … + wₙ)
median = the middle value once sorted (the mean of the two middle values when n is even)
- x₁ … xₙ
- Your numbers
- w₁ … wₙ
- Their weights
- n
- How many numbers there are
The mode is the value that occurs most often; a list can have several modes or none. The range is the largest value minus the smallest. Sums are computed with exact decimals, so 0.1 + 0.2 is 0.3, not 0.30000000000000004.
Worked example
| Sum | 474 |
|---|---|
| Mean474 ÷ 6 | 79 |
| Mediansorted: 64, 72, 78, 85, 85, 90 | 81.5 |
| Modeappears twice | 85 |
| Range90 − 64 | 26 |
A weighted example: a course grade where the midterm counts 40% and the final 60%. With 65 on the midterm and 80 on the final, the grade is (0.4 × 65 + 0.6 × 80) = 74, not the simple mean of 72.5.
How to read your results
- Mean uses every value, so a single extreme value pulls it. For the incomes 30, 32, 35, 38, 40 and 250 (in thousands), the mean is 70.8333 but the median is 36.5.
- Median is the better “typical value” when the data are skewed, as with prices, incomes and waiting times.
- Mode suits categories and repeated values, such as the most common shoe size.
- Weighted average is right whenever values count unequally: grade point averages with credit hours, a portfolio with different amounts, or a price averaged over quantities bought.
To see how spread out the numbers are around the mean, use the standard deviation calculator.
Assumptions
- Up to 1,000 numbers between −1 trillion and 1 trillion.
- Numbers are separated by commas, spaces, semicolons or new lines.
- Weights are zero or positive, one per number, in the same order.
- Results are shown to four decimal places; the arithmetic is exact before that.
Limitations
- Thousands separators can't be used in the list, because a comma separates values: type 1500, not 1,500.
- Geometric and harmonic means are not calculated; for growth rates over several years, use the annualized return in the ROI calculator.
- Letter grades must be converted to numbers before averaging.
Frequently asked questions
What is the difference between mean and median?
The mean adds the values and divides by how many there are; the median is the middle value once they are sorted. They are equal for symmetric data and differ when a few values are much larger or smaller than the rest.
How do I calculate a weighted average?
Multiply each value by its weight, add the products and divide by the sum of the weights. A 40% midterm of 65 and a 60% final of 80 give 74. Weights don't need to add up to 100; the calculator divides by their total.
Can a list have more than one mode?
Yes. In 2, 4, 4, 5, 5, 7 and 9 both 4 and 5 appear twice, so the list has two modes. When every value appears once, there is no mode.
Sources
Definitions and rules referenced on this page. Calcendium is not affiliated with these publishers.
- NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.5.1: Measures of Location
National Institute of Standards and Technology · International · Checked October 29, 2026
The mean is the sum of the values divided by their count; the median has half the values below and half above it (the mean of the two middle values for an even count); the mode is the most frequent value and need not be unique.