Average Calculator
Finds the average (arithmetic mean) of a list of numbers, together with the count, sum, median, geometric mean, smallest and largest value and the range. Paste or type the numbers separated by commas, spaces or semicolons, in any mix. Anything that is not a number is skipped and listed, so you can see exactly which values went into the result. Useful for test scores, prices, measurements or any other set of data.
- Every value counts once with equal weight.
- A comma always separates two values; it is never read as a decimal point or a thousands separator.
Formula
Average = (x₁ + x₂ + … + xₙ) ÷ n; geometric mean = (x₁ × x₂ × … × xₙ)^(1/n)
- n is the number of values. The average, median and geometric mean are rounded to 4 decimal places; the sum, largest and smallest value are shown with up to 10.
- The median is the middle value of the sorted list. With an even number of values it is the average of the two in the middle.
- The geometric mean is worked out as e raised to the average of the natural logarithms, which avoids overflow with long lists. It is 0 if any value is 0 and is not defined if any value is negative.
- For positive numbers the geometric mean is never larger than the arithmetic mean; the two are equal only when every value is the same.
Five test scores
Inputs
- Numbers to average: 56, 75, 88, 45, 92
The scores add up to 356. There are 5 of them, so the average is 356 ÷ 5 = 71.2. Sorted, they read 45, 56, 75, 88, 92, so the median is 75.
Sources & references
Frequently asked questions
How do I calculate an average by hand?
Add all the numbers together and divide by how many numbers there are. For 4, 8 and 9 the total is 21 and there are 3 numbers, so the average is 21 ÷ 3 = 7.
What is the difference between the mean and the median?
The mean shares the total out equally between the values; the median is the value in the middle once they are sorted. A single very large or small value pulls the mean towards it but barely moves the median, which is why median incomes or house prices are often quoted.
When should I use the geometric mean?
Use it for quantities that multiply rather than add, such as growth rates or investment returns over several years. Growth of 10% then 50% (factors 1.1 and 1.5) is the same overall as about 28.45% each year, which is the geometric mean of the factors.
Can I average negative numbers and decimals?
Yes. Negative values and decimals are added in the usual way. Only the geometric mean is left undefined when a value is negative.
Why was one of my entries ignored?
Entries that are not plain numbers, such as words, units or numbers written with a decimal comma, are skipped. Write decimals with a dot (2.5, not 2,5), as a comma is read as a separator between two values.
Related calculators
Percentage Increase Calculator Works out how much a value has grown or shrunk in percentage terms. Give the starting and ending values to get the percentage increase (or decrease) and the difference between them, or work backwards: find the new value after a given percentage rise or fall, find the original value before a change, or recover both values from the percentage and the size of the change. Results show the change both as an increase and as the equivalent decrease, so a fall of 10% reads as an increase of −10%. Pythagorean Theorem Calculator Solves a right triangle with the Pythagorean theorem, a² + b² = c². Give any two of the two legs, the hypotenuse, the area and the perimeter, and it finds the missing sides, then adds the area, perimeter, both acute angles and the height dropped onto the hypotenuse. Lengths can be in metric or imperial units, from millimetres to nautical miles, and the area in anything from square millimetres to acres. Handy for checking that a corner is square, sizing a ladder or ramp, or finding a diagonal. Quadratic Formula Calculator Solves any quadratic equation with the quadratic formula, x = (−b ± √(b² − 4ac)) ÷ 2a. Enter the equation in standard, vertex or factored form and get both roots as decimals and in exact simplified radical form, the discriminant and what it says about the roots, the vertex, the axis of symmetry, the y-intercept and the equation rewritten in all three forms. Switch on complex roots to solve equations with a negative discriminant, and show the working step by step.