In mathematics, the geometric mean (also known as the mean proportional) is a mean or average which indicates a central tendency of a finite collection of positive real numbers by using the product of their values (as opposed to the arithmetic mean, which uses their sum). The geometric mean of n numbers is the nth root of their product, i.e., for a collection of numbers a1, a2, ..., an, the geometric mean is defined as a1a2⋯antn. Hence, the geometric mean of two numbers is the square root of their product, for example with numbers 2 and 8 the geometric mean is 2⋅8=16=4. The geometric mean of the three numbers is the cube root of their product, for example with numbers 1, 12, and 18, the geometric mean is 1⋅12⋅183=2163=6.
When the collection of numbers and their geometric mean are plotted in logarithmic scale, the geometric mean is transformed into an arithmetic mean, so the geometric mean can equivalently be calculated by taking the natural logarithm ln of each number, finding the arithmetic mean of the logarithms, and then returning the result to linear scale by using the exponential function exp, a1a2⋯antn=exp(lna1+lna2+⋯+lnann). The geometric mean is useful whenever the quantities to be averaged combine multiplicatively, such as population growth rates or interest rates of a financial investment. Suppose for example a person invests $1000 and achieves annual returns of +10%, −12%, +90%, −30% and +25%, giving a final value of $1609. The average percentage growth is the geometric mean of the annual growth ratios (1.10, 0.88, 1.90, 0.70, 1.25), namely 1.0998, an annual average growth of 9.98%. The arithmetic mean of these annual returns is 16.6% per annum, which is not a meaningful average because growth rates do not combine additively. The geometric mean can be understood in terms of geometry. The geometric mean of two numbers, a and b, is the length of one side of a square whose area is equal to the area of a rectangle with sides of lengths a and b. Similarly, the geometric mean of three numbers, a, b, and c, is the length of one edge of a cube whose volume is the same as that of a cuboid with sides whose lengths are equal to the three given numbers. The geometric mean is one of the three classical Pythagorean means, together with the arithmetic mean and the harmonic mean. For all positive data sets containing at least one pair of unequal values, the harmonic mean is always the least of the three means, while the arithmetic mean is always the greatest of the three and the geometric mean is always in between (see QM-AM-GM-HM inequalities).
Formulation The geometric mean of a data set {a1,a2,…,an} is given by (∏i=1nai)1n=a1a2⋯antn. That is, the nth root of the product of the elements. For example, for 1,2,3,4, the product 1⋅2⋅3⋅4 is 24, and the geometric mean is the fourth root of 24, approximately 2.213.
Formulation using logarithms The geometric mean can also be expressed as the exponential of the arithmetic mean of logarithms. By using logarithmic identities to transform the formula, the multiplications can be expressed as a sum and the power as a multiplication: When a1,a2,…,an>0 (∏i=1nai)1n=exp(1n∑i=1nlnai), since |lna1a2⋯antn=1nln(a1a2⋯an)=1n(lna1+lna2+⋯+lnan). This is sometimes called the log-average (not to be confused with the logarithmic average). It is simply the arithmetic mean of the logarithm-transformed values of ai (i.e., the arithmetic mean on the log scale), using the exponentiation to return to the original scale, i.e., it is the generalized f-mean with f(x)=logx. A logarithm of any base can be used in place of the natural logarithm. For example, the geometric mean of 1, 2, 8, and 16 can be calculated using logarithms base 2: 1⋅2⋅8⋅164=2(log21+log22+log28+log216)/4=2(0+1+3+4)/4=22=4. Related to the above, it can be seen that for a given sample of points a1,…,an, the geometric mean is the minimizer of f(a)=∑i=1n(logai−loga)2=∑i=1n(logaia)2, whereas the arithmetic mean is the minimizer of
Thus, the geometric mean provides a summary of the samples whose exponent best matches the exponents of the samples (in the least squares sense). In computer implementations, naïvely multiplying many numbers together can cause arithmetic overflow or underflow. Calculating the geometric mean using logarithms is one way to avoid this problem.
Related concepts
Iterative means The geometric mean of a data set is less than the data set's arithmetic mean unless all members of the data set are equal, in which case the geometric and arithmetic means are equal. This allows the definition of the arithmetic-geometric mean, an intersection of the two which always lies in between. The geometric mean is also the arithmetic-harmonic mean in the sense that if two sequences (an) and (hn) are defined: an+1=an+hn2,a0=x,hn+1=2anhnan+hn,h0=y, where hn+1 is the harmonic mean of the previous values of the two sequences, then an and hn will converge to the geometric mean of x and y. The sequences converge to a common limit, and the geometric mean is preserved: ai+1hi+1=ai+hi22aihiai+hi=aihi Replacing the arithmetic and harmonic mean by a pair of generalized means of opposite, finite exponents yields the same result.
Comparison to arithmetic mean
The geometric mean of a non-empty data set of positive numbers is always at most their arithmetic mean. Equality is only obtained when all numbers in the data set are equal; otherwise, the geometric mean is smaller. For example, the geometric mean of 2 and 3 is 2.45, while their arithmetic mean is 2.5. In particular, this means that when a set of non-identical numbers is subjected to a mean-preserving spread – that is, the elements of the set are "spread apart" more from each other while leaving the arithmetic mean unchanged – their geometric mean decreases.
Geometric mean of a continuous function If f:[a,b]→(0,∞) is a positive continuous real-valued function, its geometric mean over this interval is GM[f]=exp(1b−a∫ablnf(x)dx) For instance, taking the identity function f(x)=x over the unit interval shows that the geometric mean of the positive numbers between 0 and 1 is equal to 1e.
Applications
Average proportional growth rate
… excerpt ends here. Continue reading the full article.

![Geometric mean: Example of the geometric mean: lg (red) is the geometric mean of l1 and l2,[1][2] is an example in which the line segment l2(BC‾) is given as a perpendicular to AB‾. AC′‾ is the diameter of a circle and BC‾≅BC′‾.](https://thumb.wikimedia.org/wikipedia/commons/thumb/0/00/Arithmetic_mean_static.gif/500px-Arithmetic_mean_static.gif?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)

![Geometric mean: Geometric proof without words that max (a,b) > root mean square (RMS) or quadratic mean (QM) > arithmetic mean (AM) > geometric mean (GM) > harmonic mean (HM) > min (a,b) of two distinct positive numbers a and b[note 1]](https://thumb.wikimedia.org/wikipedia/commons/thumb/a/a1/QM_AM_GM_HM_inequality_visual_proof.svg/500px-QM_AM_GM_HM_inequality_visual_proof.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)

![Geometric mean: Equal area comparison of the aspect ratios used by Kerns Powers to derive the SMPTE 16:9 standard.[13] .mw-parser-output .legend{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .legend-color{display:inline-block;min-width:1.25em;height:1.25em;line-height:1.25;margin:1px 0;text-align:center;border:1px solid black;background-color:transparent;color:black}.mw-parser-output .legend-text{} TV 4:3/1.33 in red, 1.66 in orange, 16:9/1.77 in blue, 1.85 in yellow, Panavision/2.2 in mauve and CinemaScope/2.35 in purple.](https://thumb.wikimedia.org/wikipedia/commons/thumb/c/cf/Dr._Kerns_Powers%2C_SMPTE_derivation_of_16-9_aspect_ratio.svg/1280px-Dr._Kerns_Powers%2C_SMPTE_derivation_of_16-9_aspect_ratio.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)