Geometric Mean Calculator
Paste a list of numbers and get the geometric mean, the harmonic mean, the arithmetic mean and the quadratic mean, or root mean square, together with the count, the smallest and the largest. Switch to Average growth rate, enter the percent change of each period, and get the steady rate that gives the same total, which is the geometric mean of the growth factors minus 1. Everything runs in your browser.
2 numbers, from 2 to 8. In order: 3.2 (harmonic) is below 4 (geometric), which is below 5 (arithmetic).
The geometric mean of n positive numbers is the nth root of their product, and it is the right average for things that multiply, such as growth factors and ratios. The harmonic mean is n divided by the sum of the reciprocals, and it is the right average for rates over equal amounts, such as the average speed of two equal distances at 60 and 40, which is 48 and not 50. The quadratic mean, or root mean square, is the root of the mean of the squares. For positive numbers the harmonic mean is never above the geometric mean, which is never above the arithmetic mean, and they are equal only when all the numbers are equal. The geometric and harmonic means are not defined for zero or negative numbers, so they are left out then. In the growth mode each percent change becomes a factor, 10% is 1.10 and -5% is 0.95, and the average rate is the geometric mean of the factors minus 1, which is the steady rate that gives the same total. Everything runs in your browser.
Related Tools
[6 suggestions]Mean, Median and Mode Calculator
Find the mean, median, mode, range, quartiles, variance and standard deviation of a list of numbers, with exact decimal arithmetic.
Math & MoneyWeighted Average Calculator
Find a weighted average from values and weights, see how much each adds, and work out the score you need on the rest to hit a target.
Student ToolsCAGR Calculator
Find the compound annual growth rate between two values, the value after growing at a rate, or the time to reach a target, with the doubling time and rule of 72.
Math & MoneyStandard Deviation Calculator
Find the standard deviation, variance, mean and more for a list of numbers, as a sample or a population, with the working shown.
Math & MoneySpeed, Distance and Time Calculator
Find the speed, the distance or the time from the other two in km/h, mph, m/s or knots, and work out the average speed of a trip made in several legs.
Math & MoneyPercentage Calculator
Find a percentage of a number, what percent one number is of another, a percentage increase or decrease, or a number raised or lowered by a percentage.
Math & MoneyAbout the Geometric Mean Calculator
The geometric mean of n positive numbers is the nth root of their product. It is the right average for quantities that multiply, such as growth factors, ratios and index numbers: the geometric mean of 2 and 8 is 4, because 4 x 4 = 2 x 8. The tool computes it from logarithms, so a long list of large numbers does not overflow. The harmonic mean is n divided by the sum of the reciprocals, and it is the right average for rates over equal amounts: a trip of two equal distances at 60 and 40 has an average speed of 48, the harmonic mean, and not 50. The arithmetic mean is the usual average, and the quadratic mean is the square root of the mean of the squares. For positive numbers the harmonic mean is never above the geometric mean, which is never above the arithmetic mean, which is never above the quadratic mean, and they are all equal only when every number is the same. For 5 and 45 they are 9, 15 and 25, and for 10 and 40 they are 16, 20 and 25. The geometric and harmonic means need numbers above 0, so a zero or a negative number leaves them out and still shows the others. The growth mode turns each percent change into a factor, 10% into 1.10 and -5% into 0.95, and takes the geometric mean of the factors. Growth of 10%, -5% and 20% averages 7.8% a period, because 1.10 x 0.95 x 1.20 = 1.254, and the cube root of that is 1.078, while the simple average of the percents, 8.33%, overstates it. A change of -100% or less is refused, since it leaves nothing to compound.
How do I calculate the geometric mean?▾
Multiply the numbers and take the nth root, where n is how many there are. For 2 and 8 the product is 16 and the square root is 4. The tool uses logarithms so large lists do not overflow.
When should I use the geometric mean?▾
Use it for quantities that multiply, such as growth rates, ratios and price indexes. A gain of 50% followed by a loss of 50% leaves you 25% down, and the geometric mean of the factors shows that the average is negative.
What is the harmonic mean used for?▾
It is the right average for rates when the amount at each rate is equal. If you drive two equal distances at 60 and 40, your average speed is the harmonic mean, 48, not the plain average of 50.
Can the geometric mean be calculated with zero or negative numbers?▾
Not in a useful way. The product is zero if any number is zero, and a negative number can make the root undefined. The tool leaves out the geometric and harmonic means and still shows the others.
How do I average percent growth over several years?▾
Do not average the percents. Turn each into a factor, multiply them, take the root and subtract 1. For 10%, -5% and 20% the average is about 7.8% a year, not 8.33%.