Pythagorean Means Calculator (AM, GM, HM)
Calculate the arithmetic, geometric, and harmonic mean of two positive numbers — the three classical Pythagorean means.
- Arithmetic mean (AM)
- 6.5
- Geometric mean (GM)
- 6
- Harmonic mean (HM)
- 5.538462
How it works
These are the three 'Pythagorean means' of two positive numbers a and b, each averaging them in a different sense. Arithmetic mean: AM = (a + b) ÷ 2 — the familiar average. Geometric mean: GM = √(a × b) — the side length of a square with the same area as an a-by-b rectangle. Harmonic mean: HM = 2ab ÷ (a + b) — the arithmetic mean of the reciprocals, reciprocated back.
For any two distinct positive numbers, HM ≤ GM ≤ AM always holds (the AM-GM-HM inequality), with all three equal only when a = b. This calculator computes all three directly from the closed-form formulas above, not an iterative approximation.
FAQ
When should I use the geometric mean instead of the arithmetic mean?
The geometric mean is the right average for quantities that combine multiplicatively rather than additively — growth rates, ratios, or percentage changes across several periods. Averaging a +50% year and a -50% year arithmetically gives 0%, which is misleading (the two together actually leave you down 25%); the geometric mean reflects that correctly. See the CAGR Calculator for exactly this kind of compounding-rate use case.
What's a practical use for the harmonic mean?
The harmonic mean is the right average for rates measured per unit of something else, most classically average speed over equal distances (not equal time) at two different speeds. It's always the smallest of the three means, which reflects that it weights smaller values more heavily than a plain average would.
Related calculators
- Percentage Calculator
- Quadratic Equation Solver
- GCD & LCM Calculator
- Circle Area & Circumference Calculator
- Right Triangle Calculator (Pythagorean Theorem)
- Ratio Simplifier
- Exponent & Root Calculator
- Oblique Triangle Solver (Law of Cosines)
- Distance, Midpoint & Slope Calculator
- Permutations & Combinations Calculator (nPr, nCr)
- Arithmetic & Geometric Sequence Calculator
- Regular Polygon Calculator
- Z-Score & Percentile Calculator
- Cubic Equation Solver
- Prime Factorization Calculator
- System of Linear Equations Solver (2 Equations)
- Half-Life Decay Calculator
- Vector Calculator (Dot Product, Cross Product, Angle)
- Ohm's Law Calculator
- Projectile Motion Calculator
- Matrix Determinant & Inverse Calculator (2x2 / 3x3)
- Ideal Gas Law Calculator (PV = nRT)
- Snell's Law Calculator (Refraction Angle)
- Wire Resistance Calculator
- Clock Angle Calculator
- Number Base Converter (Decimal to Binary, Octal, Hex)
- Dice Probability Calculator
- Pythagorean Triple Generator
- Binomial Probability Calculator
- Torque Calculator
- Law of Sines Triangle Solver
- Modular Exponentiation Calculator
- Simple Pendulum Period Calculator
- Kinetic Energy Calculator
- Complex Number Calculator
- Circular Sector & Arc Length Calculator
- System of 3 Linear Equations Solver
- Reynolds Number Calculator
- Coulomb's Law Calculator
- Speed of Sound in Air Calculator
- Thin Lens Equation Calculator
- Centripetal Force Calculator
- Resistors in Series and Parallel Calculator
- RC Circuit Time Constant Calculator
- Escape Velocity Calculator
- Doppler Effect Calculator
- Birthday Paradox Calculator
- Ellipse Area, Circumference & Eccentricity Calculator
- Hyperbola Calculator
- Hooke's Law Spring Calculator
- Molarity (Molar Concentration) Calculator
- Momentum & Impulse Calculator
- Kepler's Third Law Orbital Period Calculator
- Triangle Area from Coordinates Calculator
- Beer-Lambert Law Absorbance Calculator
- LC Circuit Resonant Frequency Calculator