Geometric Mean
2026-02-28 01:45 Diff

The formula for calculating the geometric mean of a set of values is given below. If we have n numbers x1, x2, x3, …, xn, then the geometric mean is calculated using the following formula:

\(\text{GM} = \left( x_1 x_2 x_3 \cdots x_n \right)^{1/n}\)

The geometric mean can also be calculated using logarithms with the formula:

\(\text{GM} = \operatorname{Antilog}\left( \frac{\sum \log x_k}{n} \right)\)

Where \(\sum \log x_k \) represents the sum of the logarithms of all values in the sequence, and n is the total number of values.

This approach uses logarithms to simplify the multiplication of many terms into an addition, making the calculation easier, especially for large data sets.

Geometric Mean Formula Derivation

Given a sequence of values x1,x2,x3,…,xn the geometric mean can be expressed as:

\(\text{GM} = \left( x_1 x_2 x_3 \cdots x_n \right)^{1/n}\)

By taking the logarithm on both sides, we get:

\(\log(\text{GM}) = \log\left( (x_1 x_2 x_3 \cdots x_n)^{1/n} \right)\)

Using the logarithmic identity \(\log_a b = \frac{\log b}{\log a} \), it becomes:

\(\log(\text{GM}) = \frac{1}{n} \log(x_1 x_2 x_3 \cdots x_n)\)

Applying the product rule for logarithms \(\log(ab) = \log a + \log b\):

\(\log(\text{GM}) = \frac{1}{n} \left( \log x_1 + \log x_2 + \log x_3 + \cdots + \log x_n \right)\)

\(\log(\text{GM}) = \frac{\sum \log x_k}{n}\)

Finally, taking antilogarithms on both sides yields:

\(\text{GM} = \operatorname{Antilog}\left( \frac{\sum \log x_k}{n} \right)\)

This method leverages logarithms to simplify the calculation of the geometric mean, especially for large sequences.