Average of grades
- Input
- 7, 8, 9, 6
- Expected output
- 7,5
(7+8+9+6) ÷ 4.
Calculations run in your browser. No data is sent to a server.
how to calculate the mean
The mean is the sum of all values divided by how many values there are.
(7+8+9+6) ÷ 4.
The median resists extreme values.
The mean is the average (sum ÷ count). The median is the middle value once sorted. The mode is the most frequent value. In skewed distributions the median often represents the "typical value" better.
When there are outliers that distort the mean, the median better represents the typical value.
Multiply each value by its weight, sum, and divide by the sum of the weights.