Geometric Mean Calculator - Multiplicative Mean Finder
Use the geometric mean calculator to find the multiplicative mean of any list of positive numbers, alongside the AM, product, and AM/GM ratio.
Geometric Mean Calculator
Results
What Is Geometric Mean Calculator?
A geometric mean calculator finds the multiplicative mean of a list of positive numbers, which is the right average whenever the numbers multiply together instead of adding together. Paste in growth rates, ratios, or index values and it returns the single factor that, applied the same number of times, reproduces the same product.
- • Average a list of growth rates: Type three yearly returns like 1.10, 1.20, 0.95 to get the compound growth factor and the implied annualized rate for the period.
- • Average a set of ratios or indices: Average price/earnings, price/sales, or other ratios that only make sense as a multiplicative mean, not an arithmetic one.
- • Sanity-check a textbook or homework answer: Compare a worked example for 2, 8, 4 or 4, 9, 16 by reading the same GM, AM, and AM/GM ratio the textbook prints.
The geometric mean is the multiplicative counterpart of the arithmetic mean, so it shows up anywhere a quantity compounds or scales by a ratio over time. The calculator prints the geometric mean, arithmetic mean, product, count, and AM/GM ratio on the same screen, so the standard AM ≥ GM relationship is visible at a glance.
If you only have two numbers and want the simple additive mean, the Average Calculator computes (a + b) / 2 on the same input shape.
How Geometric Mean Calculator Works
Internally the calculator parses the comma-separated list, validates that every value is a positive real number, and applies the closed-form geometric mean formula. It also computes the arithmetic mean on the same list so the two means are directly comparable.
- x₁, x₂, ..., xₙ: The list of n positive real numbers. Zero and negative entries are rejected because the geometric mean is not defined for them.
- n: The count of valid input values, which is the root used in the formula and the divisor in the arithmetic mean.
- GM: The geometric mean, the n-th root of the product. Equivalently, exp of the average of the natural logs of the values.
- AM: The arithmetic mean of the same list, computed as (x₁ + x₂ + ⋯ + xₙ) / n, shown next to GM so the AM-GM relationship is visible.
Wikipedia defines the geometric mean as the n-th root of the product, and Wolfram MathWorld writes the same definition in log space as exp of the average of the natural logs. The calculator falls back on that log-space form when the raw product would overflow the safe floating-point range.
Geometric mean of 2, 8, 4
values = 2, 8, 4 (n = 3)
GM = (2 · 8 · 4)^(1/3) = 64^(1/3) = 4
GM = 4, AM = 4.6667, AM/GM = 1.1667, product = 64, count = 3
The cube root of 64 is 4. The arithmetic mean is 4.6667, so the AM/GM ratio of 1.1667 quantifies the spread.
Geometric mean of 10, 15, 20
values = 10, 15, 20 (n = 3)
GM = (10 · 15 · 20)^(1/3) = 3000^(1/3) ≈ 14.4225
GM ≈ 14.4225, AM = 15, AM/GM ≈ 1.0400, product = 3000, count = 3
The cube root of 3000 is ≈ 14.4225, which is smaller than the arithmetic mean of 15, again matching the AM ≥ GM inequality.
According to Wikipedia (Geometric mean), the geometric mean of positive real numbers x₁, x₂, ..., xₙ is the n-th root of the product x₁ · x₂ · ⋯ · xₙ, and the arithmetic mean of the same values is always greater than or equal to the geometric mean
According to Wolfram MathWorld, the geometric mean of positive numbers x_1, ..., x_n is (x₁ · x₂ · ⋯ · xₙ)^(1/n), which can also be written as exp((sum ln xᵢ) / n) to avoid overflow for large products
When you need the median, mode, and range alongside the geometric mean, the Mean Median Mode Range Calculator computes all four summary statistics on the same comma-separated list.
Key Concepts Explained
These four ideas are the only prerequisites for using the geometric mean correctly on any list of numbers.
Multiplicative mean
A geometric mean is the right average for any quantity that compounds or scales by a ratio over time, because multiplying the geometric mean by itself n times reproduces the same product as the inputs.
Log-space formula
The identity GM = exp(mean(ln xᵢ)) is what the calculator uses when the raw product would overflow, and it also shows that the geometric mean is the exponential of an arithmetic mean in log space.
AM-GM inequality
The arithmetic mean of a list of positive numbers is always greater than or equal to the geometric mean, with equality only when every value is the same. The AM/GM ratio row in the calculator is the numeric witness to that inequality.
Counts of values
The root index n is the count of valid values, not a property of the values themselves, so adding a duplicate 5 to {5, 5, 5} leaves the geometric mean unchanged but raises n from 3 to 4.
These four ideas are the same ones a statistics textbook covers in the chapter on means. When the list carries a unit, the geometric mean inherits it; for percent growth rates the result is unitless and reads as a growth factor rather than a percent.
When the list of values is generated by a fixed ratio r and the geometric mean fits inside a single term, the Geometric Sequence Calculator reads a, r, and n on the same input shape.
How to Use This Calculator
Five short steps cover every workflow the geometric mean calculator supports, from a single textbook example to a long list of yearly growth rates.
- 1 Type the positive numbers: Paste the values into the textarea, separated by commas or newlines. Decimals are accepted, but every value must be strictly positive.
- 2 Read the geometric mean: The Geometric mean row is the answer. For growth rates, multiply by 100 and subtract 100 to read the implied annualized percent.
- 3 Compare to the arithmetic mean: The Arithmetic mean row is the simple average of the same list. If AM and GM are far apart, the values are spread out; if they are close, the values are nearly equal.
- 4 Check the AM/GM ratio: The AM/GM ratio row quantifies the gap between the two means. A ratio of exactly 1 means every value in the list is identical.
- 5 Adjust and re-check: Add, remove, or change values in the textarea. The five output rows update as you type, and any invalid value surfaces a clear error message.
An investor's three yearly returns of 1.10, 1.20, and 0.95 read a geometric mean of about 1.080, the compound growth factor over three years. Subtract 1 to read an annualized growth of about 8.0% per year, even though the arithmetic average of those three returns is 8.3%.
Once you have the geometric mean growth factor, the Percentage Increase Calculator converts the same factor to a percent increase so you can quote the result in the units the rest of the report uses.
Benefits of Using This Calculator
The calculator removes the most common geometric-mean mistakes and saves the step of looking up the formula in a textbook.
- • All five answers in one pass: Geometric mean, arithmetic mean, AM/GM ratio, product, and count print at the same time, so the calculator removes the need to recompute the same list in a second tool.
- • Log-space fallback for large products: When the raw product would overflow normal floating-point precision, the calculator switches to the log-space formula exp(mean(ln xᵢ)) and still returns an exact geometric mean.
- • Validates the input list: Empty lists, non-numeric tokens, zero, and negative values all surface a specific error message instead of returning NaN, which is what most spreadsheet formulas do when they hit a bad input.
- • Pairs with related math tools: The arithmetic mean row is the same value the Average Calculator prints on the same list, and the product row is the input the calculator itself takes the n-th root of for n = 2.
If you are working through a problem set or a financial report, the calculator removes the chance of mixing up the multiplicative mean with the arithmetic one. The result updates as you type, so the calculator tolerates decimals, scientific notation, and long lists of values.
When you need to express two values as a:b in lowest terms or solve a proportion, the Ratio Calculator simplifies a:b and a:b:c ratios and finds a missing term in a:b = c:d.
Factors That Affect Your Results
Three things change the answer you should expect from the geometric mean calculator, plus two practical caveats about how the geometric mean behaves in the real world.
Spread of the input values
When every value is identical, the AM/GM ratio is 1 and the two means coincide. The more spread out the values are, the larger the AM/GM ratio grows, so a ratio of 1.2 or higher is a signal of an outlier on one end.
Sign of the input values
The geometric mean is only defined for strictly positive numbers. Zero sends the product to zero, and negative numbers make the n-th root of a negative product undefined for even n. The calculator rejects both inputs with a specific error.
Product overflow on long lists
Multiplying many large numbers can overflow a normal floating-point product, which is why the calculator falls back to exp(mean(ln xᵢ)) in log space. The geometric mean stays correct even when the displayed product reads as Infinity.
Number of values (n)
The root index n is the count of values, so 3 values use a cube root, 10 values use a tenth root, and so on. Adding a duplicate of an existing value leaves the geometric mean unchanged but raises n.
- • The geometric mean is the right mean for multiplicative data, but it is the wrong mean for additive data. Average temperatures, test scores, and any list that adds together should use an arithmetic mean instead.
- • The geometric mean is not the same as the harmonic mean. The harmonic mean divides n by the sum of 1/xᵢ and shows up for rates with a different denominator, like average speed over equal time intervals. The Pythagorean means ordering places harmonic ≤ geometric ≤ arithmetic on any list of positive numbers, so the harmonic mean is the smallest of the three.
When you copy the geometric mean into a spreadsheet, double-check the unit context. The geometric mean of dollars is still in dollars, but the geometric mean of growth factors is unitless, so a final answer of 1.10 means 10% growth, not 110. Convert each percent to a growth factor (1 + rate) if the textbook does not match.
According to Cuemath, the geometric mean of n positive numbers is the n-th root of the product, and for two positive numbers a and b the geometric mean is the square root of a * b
When the inputs do not deserve equal weight, the Weighted Average Calculator applies a matching weight to each value and returns the weighted arithmetic mean, the sum of value times weight divided by the sum of the weights.
Frequently Asked Questions
Q: What is the geometric mean?
A: The geometric mean of n positive real numbers x₁, x₂, ..., xₙ is the n-th root of the product x₁ · x₂ · ⋯ · xₙ. It is the multiplicative counterpart of the arithmetic mean, and it is the right kind of average to use when the numbers multiply together instead of adding together.
Q: How do you calculate the geometric mean?
A: Multiply all the values, then take the n-th root, where n is the count. For two numbers a and b the geometric mean is the square root of a * b. For larger lists, an equivalent log-space formula is exp of the average of the natural logs, which is what the calculator uses when the product would overflow.
Q: When should I use the geometric mean instead of the arithmetic mean?
A: Use the geometric mean whenever the numbers multiply together, such as growth rates, ratios, or index values. Use the arithmetic mean whenever the numbers add together, such as temperatures, counts, or test scores. Mixing them up overstates the average whenever the values are spread out.
Q: What is the AM-GM inequality?
A: The AM-GM inequality states that the arithmetic mean of a list of positive numbers is always greater than or equal to the geometric mean, with equality only when every value in the list is identical. The AM/GM ratio row in the calculator is the numeric witness to that inequality and reads exactly 1 only on constant lists.
Q: Can the geometric mean handle zero or negative numbers?
A: No. The geometric mean is only defined for strictly positive numbers, because zero sends the product to zero and negative numbers make the n-th root of a negative product undefined for even n. The calculator rejects both inputs with a specific error message so the answer is always a real positive number.
Q: What is the difference between the geometric and harmonic mean?
A: The geometric mean multiplies the values and takes the n-th root of the product, while the harmonic mean divides n by the sum of 1/xᵢ. The geometric mean is the right mean for compound growth, and the harmonic mean is the right mean for rates and ratios with a different denominator. The AM/GM ratio here is always greater than or equal to 1.