Geometric and harmonic mean calculator

The four classical means always order themselves the same way: harmonic, geometric, arithmetic, quadratic. Each suits a different kind of average.

Geometric mean
5.656 854 249
≈ Rounded Means
Arithmetic mean
7.5
Harmonic mean
4.266 666 667
Quadratic mean (RMS)
9.219 544 457
Inequality holds
1
Show the working
  1. Value 1 = 2
  2. Value 2 = 4
  3. Value 3 = 8
  4. Value 4 = 16
  5. Arithmetic mean = (2+4+8+16)/4 = 7.5
  6. Geometric mean = (2*4*8*16)^(1/4) = 5.656 85
  7. Harmonic mean = 4 / (1/2 + 1/4 + 1/8 + 1/16) = 4.266 67
  8. Quadratic mean (RMS) = sqrt((2^2+4^2+8^2+16^2)/4) = 9.219 54
  9. Inequality holds = 4.266 67 <= 5.656 85 && 5.656 85 <= 7.5 && 7.5 <= 9.219 54 ? 1 : 0 = 1

Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.

Scenarios & local history

Compare a saved scenario

Recent calculations

    The formula

    • arithmetic = sum / n
    • geometric = (product)^(1/n)
    • harmonic = n / sum(1/x)
    • quadratic = sqrt(sum(x^2)/n)
    • harmonic <= geometric <= arithmetic <= quadratic, always.

    Use the geometric mean for growth rates and the harmonic mean for rates over a fixed distance — average speed on an out-and-back trip is a harmonic mean, not an arithmetic one.

    Related calculators

    Settings

    Theme

    System follows your operating system and changes with it.

    Text size
    High contrast

    Maximises text and border contrast and removes the grid background.

    Graph-paper background

    Round to
    Notation
    Thousands separators
    Decimal mark
    Nearest fraction

    Shows the result as the nearest tape-measure fraction, with the error it costs.


    Accessibility & interaction
    Reduce motion Stops interface animations even when the operating system does not.
    Underline links Keeps links visually distinct without relying on colour.
    Larger touch targets Makes buttons and form controls easier to tap.
    Shorter reading lines Limits article width for easier scanning.
    Monochrome display Removes colour as an information cue.
    Always-visible focus Makes the keyboard focus ring persistent and stronger.
    Verbose screen-reader results Announces the complete conversion equation.
    Sticky action bars Keeps converter and calculator actions within reach.
    Select values on focus Replaces a value immediately when you start typing.
    Left-handed mobile layout Moves key mobile actions toward the left thumb.

    Your data

    Settings, recent conversions and favourites live in this browser only. Nothing is sent anywhere.

    Offline library