Geometric Mean Calculator
Calculate mean for multiplicative data.
Enter positive numbers separated by commas, spaces, or newlines
Enter positive numbers to calculate geometric mean
What Is the Geometric Mean?
The geometric mean is the nth root of the product of n values:
Equivalently, using logarithms:
Key property: The geometric mean of growth factors equals the constant growth factor that produces the same final result.
When to Use Geometric Mean
Growth Rates and Returns
Investment returns over multiple periods:
| Year | Return |
|---|---|
| 1 | +20% (Γ1.20) |
| 2 | -10% (Γ0.90) |
| 3 | +15% (Γ1.15) |
Arithmetic mean: (20 - 10 + 15) / 3 = 8.33%
Geometric mean: β 7.3% per year
The geometric mean correctly shows that 100 Γ 1.073Β³ = $123.66.
Ratios and Proportions
When averaging ratios, the geometric mean ensures consistency.
If A is twice B, and B is twice C, then A is 4Γ C. Geometric mean of the ratios: β Arithmetic mean would give: (2 + 2) / 2 = 2 β (works here)
But with different ratios (3Γ and 1/3Γ), arithmetic mean fails while geometric mean correctly gives 1.
Data Spanning Orders of Magnitude
For data like populations, concentrations, or prices varying widely:
Values: 10, 100, 1000
Arithmetic mean: 370 Geometric mean:
The geometric mean better represents the "typical" value.
Calculation Example
Data: 2, 8, 4, 16
Method 1: Direct calculation
Method 2: Using logarithms
Properties
Relationship to Arithmetic and Harmonic Means
For positive numbers:
Equality holds only when all values are identical.
Multiplicative Property
This makes geometric mean natural for multiplicative processes.
Log Transformation
The geometric mean equals the exponentiated arithmetic mean of log-transformed data:
This is why it's used when log-normal distributions are appropriate.
Applications
Finance
Compound Annual Growth Rate (CAGR):
This is the geometric mean of growth factors minus 1.
Biology
- Bacterial growth rates
- Population dynamics
- Antibody titers (often reported as geometric mean titers, GMT)
Environmental Science
- Pollutant concentrations
- Water quality indices
- Species abundance
Image Processing
- Geometric mean filters for noise reduction
- Color averaging (geometric mean of RGB values)
Weighted Geometric Mean
When values have different weights:
Or equivalently:
Example: Portfolio with 60% in investment A (1.10 return) and 40% in investment B (1.05 return):
Limitations
Requires Positive Values
The geometric mean is undefined for zero or negative values.
Workarounds:
- Add a constant to shift data positive
- Use only for naturally positive data
- Consider arithmetic mean instead
Sensitive to Small Values
Small values have disproportionate influence:
Values: 1, 100, 100, 100
Arithmetic mean: 75.25 Geometric mean:
The single small value pulls the geometric mean down significantly.
Comparison with Arithmetic Mean
| Scenario | Use Arithmetic Mean | Use Geometric Mean |
|---|---|---|
| Additive processes | β | |
| Multiplicative processes | β | |
| Growth rates | β | |
| Ratios | β | |
| Symmetric distributions | β | |
| Log-normal distributions | β | |
| Contains zeros | β | |
| Contains negatives | β |
Geometric Standard Deviation
The spread around the geometric mean:
Used to describe variability in log-normal data. A GSD of 2 means values typically range from GM/2 to GMΓ2.
Historical Context
The geometric mean has ancient originsβit appears in Euclid's Elements (300 BCE) in the context of proportions and similar triangles.
The term "geometric" comes from its relationship to geometric constructions: the geometric mean of two lengths a and b equals the side of a square with the same area as a rectangle with sides a and b.
Related Calculations
- Mean Calculator β Arithmetic mean
- Harmonic Mean Calculator β Mean for rates
- Weighted Average Calculator β Weighted arithmetic mean
- Standard Deviation Calculator β Spread measurement
Summary
The geometric mean is the appropriate average for multiplicative data: growth rates, ratios, and values spanning multiple orders of magnitude. Calculate it as the nth root of the product of values, or equivalently, exponentiate the arithmetic mean of log-transformed values. The geometric mean always falls between the harmonic and arithmetic means. Use it for investment returns, population growth, and any data where relative changes matter more than absolute changes.