Introduction
The Geometric Mean Calculator finds the geometric mean of any set of numbers quickly and accurately. The geometric mean is a type of average that multiplies all your values together and then takes the nth root, where n is how many values you have. It is the best average to use when your numbers represent growth rates, percentages, ratios, or returns on investments. Unlike the regular (arithmetic) mean, the geometric mean handles compounding effects properly, which makes it essential in finance, biology, and many other fields.
This calculator supports both simple and weighted geometric mean calculations. You can type your numbers directly, paste them from a spreadsheet, or upload a CSV or Excel file. A built-in percentage mode lets you enter growth rates like 8% or -5% and converts them to multipliers automatically. After you click Calculate, you get the geometric mean along with a full step-by-step breakdown, a comparison with the arithmetic and harmonic means, and a bar chart that shows your data at a glance.
How to Use Our Geometric Mean Calculator
Enter your numbers into the calculator and it will find the geometric mean, show step-by-step work, and display a chart of your data.
Enter your numbers: Type or paste your values into the text box. You can separate them with commas, spaces, or put one number on each line. The calculator also accepts scientific notation like 1.5e4.
Weighted Mode: Turn this on if each value has a different weight or importance. When this is on, type one value and one weight per line, separated by a comma (for example, 5, 0.3). If you need a simple weighted average (arithmetic) instead, we have a dedicated tool for that as well.
Percentage / Growth Rate Mode: Turn this on if your numbers are percentage changes like 8% or -10%. The calculator will convert each percentage into a growth factor before finding the geometric mean. You can also use our Percent Change Calculator if you need to find the percentage change between two specific values.
Decimal places: Pick how many decimal places you want in your result. You can choose anywhere from 0 to 10. The default is 4.
Import from file: If your data is saved in a .csv, .xls, or .xlsx file, click the file upload button to load it. For CSV files with more than one column, you can pick which column to use. For Excel files, a dialog will let you choose the sheet, column, row, or cell range you want.
Calculate: Press the Calculate button to see your geometric mean, along with other stats like the arithmetic mean, harmonic mean, median, minimum, and maximum. Click Show Calculation Steps to see the full math behind the answer. Press Reset to clear everything and start over.
What Is the Geometric Mean?
The geometric mean is a type of average that works best when your numbers multiply together instead of add together. You find it by multiplying all your values, then taking the nth root, where n is how many values you have. For example, the geometric mean of 4 and 9 is the square root of 4 × 9, which equals 6.
How Is It Different from a Regular Average?
The regular average (called the arithmetic mean) adds all the numbers and divides by how many there are. The geometric mean multiplies them instead. This makes a big difference when your values change at different rates. The geometric mean is almost always smaller than or equal to the arithmetic mean. It also handles wide ranges of numbers much better because one very large value won't pull the result up as much. To explore all three common averages side by side, try our Mean Median Mode Calculator.
When Should You Use the Geometric Mean?
The geometric mean is the right choice any time your data involves growth rates, percentages, or ratios. Common uses include:
- Investment returns — Finding the true average annual return of a stock or portfolio over several years. The geometric mean is the mathematical basis of the CAGR (Compound Annual Growth Rate), which is one of the most widely used metrics in investing.
- Population growth — Calculating the average growth rate of a city, country, or species over time.
- Inflation rates — Measuring how prices rise on average across multiple years. Our Inflation Calculator can help you see the real-world impact of inflation over time.
- Science and biology — Comparing bacteria growth, pH levels, or lab results that span large ranges.
- Business revenue growth — Tracking how fast sales or profits grow from year to year. You can also measure this with a Year Over Year Growth Calculator.
Important Rules to Know
The geometric mean only works with positive numbers in its basic form. If any value is zero, the result is automatically zero. If your data has negative numbers, that usually means you are working with percentage changes. In that case, you convert each percentage into a growth factor first. For example, a loss of 10% becomes 0.90, and a gain of 8% becomes 1.08. The calculator above handles this conversion for you when you turn on Percentage / Growth Rate Mode.
The Geometric Mean Formula
For n values labeled x₁, x₂, … xₙ, the formula is:
GM = (x₁ × x₂ × … × xₙ)1/n
When numbers get very large or very small, calculators use logarithms to avoid overflow errors. The formula then becomes:
GM = e(ln x₁ + ln x₂ + … + ln xₙ) / n
Both formulas give the same answer. The calculator above uses the logarithmic method to keep results accurate no matter how big or small your data is.
Weighted Geometric Mean
Sometimes each value matters more or less than the others. A weighted geometric mean lets you assign a weight to each number. Values with higher weights have a bigger effect on the result. This is useful in finance when building index funds or in any situation where some data points count more than others. For a deeper look at how weighting affects standard arithmetic averages, see our Weighted Average Calculator. If you are working with broader datasets and want a full suite of descriptive statistics — including standard deviation, variance, and more — we have dedicated tools for those as well.