Mean Calculator
Calculate the arithmetic mean (average) of a data set. Enter comma-separated numbers and get the mean.
Calculate the geometric mean of positive numbers. Ideal for growth rates, returns, and ratios.
| # | Value | ln(x) | Ratio to GM | % Diff from GM | Bar |
|---|---|---|---|---|---|
| 1 | 4.000000 | 1.386294 | 0.4807× | -51.93% | |
| 2 | 9.000000 | 2.197225 | 1.0817× | +8.17% | |
| 3 | 16.000000 | 2.772589 | 1.9230× | +92.30% |
| Statistic | Value | Note |
|---|---|---|
| Count | 3 | Number of values used |
| Min | 4.000000 | Smallest value |
| Max | 16.000000 | Largest value |
| Range | 12.000000 | Max − Min |
| Median | 9.000000 | Middle value |
| Sum of ln(x) | 6.356108 | Used in GM calculation |
| Mean of ln(x) | 2.118703 | ln(GM) = mean of logs |
| Std Dev of ln(x) | 0.696475 | Spread in log space |
The Geometric Mean Calculator computes the geometric mean of positive numbers. The geometric mean is calculated by multiplying all n values together and taking the nth root. It is the correct average for rates of change, growth rates, and ratios.
While the arithmetic mean adds values, the geometric mean multiplies them. This makes it ideal for compound interest calculations, average investment returns, and any situation where percentages are compounded over time.
If your investment grows 50% one year and loses 33% the next, the arithmetic mean suggests 8.5% average growth, but the geometric mean correctly shows 0% (you ended where you started).
The arithmetic mean overestimates compound growth. The geometric mean provides the true average rate of change for multiplicative processes like investment returns.
Geometric Mean = (x₁ × x₂ × ... × xₙ)^(1/n)
Equivalently: exp(Σ ln(xᵢ) / n)
All values must be positive.Result: ≈ 8.32
Product = 4 × 9 × 16 = 576. Cube root of 576 = 576^(1/3) ≈ 8.32. The geometric mean is less than the arithmetic mean (9.67) as always.
The geometric mean return is the only correct average for compounded returns. If a fund gains 100% then loses 50%, the arithmetic mean return is +25% but the geometric mean is 0%—you ended where you started.
Biologists use the geometric mean for population growth rates. Chemists use it for reaction rate averages. The geometric mean is natural whenever data spans multiple orders of magnitude.
To avoid numerical overflow, compute the geometric mean in log space: exp(average of ln(xᵢ)). This is numerically stable even for very large or very small numbers.
Last updated:
The geometric mean is the nth root of the product of n values. It represents the central tendency of multiplicative data like growth rates and ratios.
Use the geometric mean for compound growth rates, investment returns, inflation rates, population growth, and any data that is multiplied together over time. Documenting the assumptions behind your calculation makes it easier to update the analysis when input conditions change in the future.
A zero in the product makes the result zero regardless of other values. Negative values make even roots of the product undefined in real numbers.
The Arithmetic Mean is always ≥ the Geometric Mean for positive numbers. They are equal only when all values are identical. This is a fundamental inequality in mathematics.
CAGR is the geometric mean of annual growth factors minus 1. If an investment goes from $100 to $200 in 5 years, CAGR = (200/100)^(1/5) − 1 ≈ 14.87%.
Convert percentage changes to multipliers first. A 10% increase is 1.10, a 5% decrease is 0.95. Take the geometric mean of these multipliers, then subtract 1 for the average rate.
Calculate the arithmetic mean (average) of a data set. Enter comma-separated numbers and get the mean.
Calculate the weighted average of values with different weights or importance levels. GPA, portfolio returns, and more.