Skip to main content
Skip to calculator
Advertisement

Last updated: July 31, 2026

Geometric Mean Calculator

Helpful
Not helpful
Save as image
Share
Embed
Cite
Write feedback

Formula

geometricMean = (x1×x2×...×xn)^(1/n)

Where:

  • numbers=Numbers (comma-separated)
Geometric MeanA number line showing two values and their geometric mean positioned between them, alongside the nth root of the product formula.x₁GMx₂FormulaGM = ⁿ√(x₁·x₂·...·xₙ)
The geometric mean is the nth root of the product of n positive numbers.

Worked Examples

Three values

Find geometric mean of 2, 8, 32.

  1. 1Product = 2×8×32 = 512
  2. 2n=3
  3. 3Cube root of 512 is 8
Final Answer: geometricMean=8, count=3

Two values

Find geometric mean of 4 and 9.

  1. 1Product = 36
  2. 2n=2
  3. 3Square root of 36 is 6
Final Answer: geometricMean=6, count=2

Decimal inputs

Find geometric mean of 1.5, 6, 24.

  1. 1Product = 216
  2. 2n=3
  3. 3Cube root is 6
Final Answer: geometricMean=6, count=3

Introduction

Geometric mean is ideal for multiplicative processes such as growth rates, ratios, and normalized index comparisons.

Formula and Method

Geometric Mean Calculator applies geometricMean = (x1×x2×...×xn)^(1/n) and returns deterministic outputs from validated inputs.

  • Validate each required input

  • Apply the stated formula

  • Round numeric outputs where needed

  • Return safe defaults when validation fails

Input Fields

Use these keys exactly as defined in calculation.ts.

  1. 1

    numbers: Numbers (comma-separated)

Output Fields

These values map directly to calculation.ts return keys.

  1. 1

    geometricMean: nth root of the product of all inputs

  2. 2

    count: Number of valid values used

Validation Rules

Input must parse into one or more positive finite numbers.

  • Finite numeric values are required

  • Domain restrictions are enforced before solving

  • Invalid input returns default-safe outputs

  • Check examples to confirm expected behavior

How to Use This Calculator

Enter inputs, run the calculation, and read the primary output first.

  • Enter all required values

  • Click calculate

  • Review primary output first

  • Use supporting outputs for interpretation

Practical Uses

This calculator is useful for study, verification, and fast applied math checks.

  • Growth-rate averaging

  • Finance return aggregation

  • Data normalization

  • Scientific proportional analysis

FAQs

What does the Geometric Mean Calculator compute?

It computes Geometric Mean and supporting outputs from your inputs.

Which inputs are required?

Required inputs are: Numbers (comma-separated).

How are invalid inputs handled?

When validation fails, the calculator returns safe default values and does not attempt invalid math.

Are results rounded?

Yes. Numeric outputs are rounded inside calculation.ts (typically to 6 decimal places).

Can I use negative or decimal values?

Only positive numbers are valid because negative/zero values break real geometric-mean assumptions.

How should I verify my answer?

Use the worked examples and compare each output key with your manual steps.