Calculator: Geometric mean

Enter the labelled inputs to calculate: Mean.

Enter 1–2000 positive values from 10⁻¹⁰⁰ to 10¹⁰⁰, with up to 24 significant input digits. Separate values with commas, spaces or semicolons; use a decimal point. Invalid or nonpositive values reject the whole list. Geometric mean uses logarithms, arithmetic mean scales by the maximum, and harmonic mean by the minimum to avoid overflowing products or reciprocals. For positive data, H ≤ G ≤ A. Results use 12 significant digits; input order is immaterial.

Geometric mean
4
Arithmetic mean
—
Harmonic mean
—
Count
—

How the calculation works

G=exp[Σln(xᵢ)/n]; A=Σxᵢ/n; H=n/Σ(1/xᵢ); xᵢ>0

Enter 1–2000 positive values from 10⁻¹⁰⁰ to 10¹⁰⁰, with up to 24 significant input digits. Separate values with commas, spaces or semicolons; use a decimal point. Invalid or nonpositive values reject the whole list. Geometric mean uses logarithms, arithmetic mean scales by the maximum, and harmonic mean by the minimum to avoid overflowing products or reciprocals. For positive data, H ≤ G ≤ A. Results use 12 significant digits; input order is immaterial.

Frequently asked questions

How is the result calculated?

G=exp[Σln(xᵢ)/n]; A=Σxᵢ/n; H=n/Σ(1/xᵢ); xᵢ>0

What assumptions apply?

Enter 1–2000 positive values from 10⁻¹⁰⁰ to 10¹⁰⁰, with up to 24 significant input digits. Separate values with commas, spaces or semicolons; use a decimal point. Invalid or nonpositive values reject the whole list. Geometric mean uses logarithms, arithmetic mean scales by the maximum, and harmonic mean by the minimum to avoid overflowing products or reciprocals. For positive data, H ≤ G ≤ A. Results use 12 significant digits; input order is immaterial.

How precise are the displayed results?

Results are rounded to 12 significant digits. Rounding does not increase the accuracy of the input measurements.

Also try:

Back to category →