Harmonic Mean Calculator – Find Harmonic Average Online
Calculate the harmonic mean of any dataset with our free online harmonic mean calculator. Ideal for rates and ratios where harmonic averaging is more appropriate.
Numbers cannot be zero. Separate with commas, spaces, or newlines.
Understanding Harmonic Mean
The harmonic mean is a type of average especially useful for rates and ratios. While the arithmetic mean adds values and divides by the count, the harmonic mean uses reciprocals – it's the reciprocal of the arithmetic mean of the reciprocals.
Use harmonic mean when averaging rates like speed, work rates, or prices per unit. For example, if you drive 60 mph one way and 40 mph back, your average speed isn't 50 mph – it's the harmonic mean: 48 mph. This is because you spend more time at the slower speed.
How to Calculate Harmonic Mean
- 1
Find reciprocals
Take 1 divided by each number. For 4, 8, 16: reciprocals are 1/4, 1/8, 1/16.
- 2
Add the reciprocals
Sum all the reciprocal values.
- 3
Divide count by the sum
HM = n / (sum of reciprocals). This gives the harmonic mean.
HM = n / (1/x₁ + 1/x₂ + ... + 1/xₙ)
Worked Examples
Example 1: Harmonic Mean of 4, 8, 16
Example 2: Average Speed Problem
Drive 120 miles at 60 mph, return 120 miles at 40 mph. What's the average speed?
NOT (60+40)/2 = 50! You spend more time at the slower speed.
Example 3: Two Numbers Formula
Example 4: Work Rate Problem
Worker A completes a job in 6 hours. Worker B completes it in 4 hours. Working together?
This uses the same reciprocal principle as harmonic mean.
Quick Fact
The harmonic mean was known to ancient Greek mathematicians and got its name from music theory. In a musical string, lengths in harmonic proportion (like 1, 2/3, 1/2) produce harmonious sounds. The Pythagoreans discovered these relationships around 500 BCE.
Frequently Asked Questions
When should I use harmonic mean instead of arithmetic mean?
Use harmonic mean for rates and ratios – speeds, work rates, prices per unit, fuel efficiency. Use arithmetic mean for quantities that add together directly. If you're averaging "per something" values, consider harmonic mean.
Why can't harmonic mean include zero?
The harmonic mean uses reciprocals (1/x). Division by zero is undefined. Also, if one rate is zero (like speed = 0), you'd never complete the journey, making the average meaningless.
What's the relationship between the three means?
For any positive numbers: Harmonic Mean ≤ Geometric Mean ≤ Arithmetic Mean. They're equal only when all values are identical. This is the HM-GM-AM inequality.
How does harmonic mean handle outliers?
Harmonic mean is pulled toward smaller values. A very large number has less effect than a very small number. This makes it useful when you want to penalize poor performance more than reward excellent performance.
Can harmonic mean be used with negative numbers?
Technically yes, but it's rarely meaningful. Rates and ratios are typically positive. If you have mixed positive and negative values, the harmonic mean might not give an interpretable result.
What's a real-world application?
The P/E ratio in finance often uses harmonic mean when averaging across companies. Fuel efficiency (mpg) should be averaged harmonically. In physics, parallel resistors combine like a harmonic mean.
Other Free Tools
Geometric Mean Calculator – Find Geometric Average Online
Calculate the geometric mean of any set of numbers with our free online calculator. Ideal for finance, biology, and statistics where multiplicative relationships matter.
Weighted Average Calculator – Compute Weighted Mean Online
Calculate the weighted average or weighted mean of any set of values with our free online calculator. Enter values and weights to get the accurate weighted result instantly.
Average Calculator – Find the Mean of Any Numbers
Calculate the average or arithmetic mean of any set of numbers with our free online mean calculator. Enter your values and get instant results – great for students, teachers, and analysts.
Mean, Median, Mode Calculator – Statistics Calculator Online
Calculate mean, median, and mode of any dataset with our free online statistics calculator. Enter your numbers and get comprehensive central tendency measures instantly.
Standard Deviation Calculator – Variance & SD Online
Calculate standard deviation and variance for any dataset with our free online calculator. Supports both population and sample standard deviation with step-by-step workings.
Five Number Summary Calculator – Min Q1 Median Q3 Max
Find the five-number summary of any dataset with our free online calculator. Instantly compute the minimum, Q1, median, Q3, and maximum for complete data analysis.
Harmonic Series Calculator – Compute Partial Sums Online
Calculate the partial sum of the harmonic series up to any number of terms with our free online harmonic series calculator. Explore the divergent nature of this classic series.
Ratio Calculator – Simplify & Solve Ratios Online
Simplify ratios and solve ratio problems instantly with our free online ratio calculator. Solve for missing values in proportions and reduce ratios to their simplest form.