Updated: 2026-03-26

Harmonic Mean Calculator Tool

Overview: Calc-Tools Online Calculator offers a free Harmonic Mean Calculator among its suite of scientific and utility tools. This specific tool provides instant calculations; users simply input their numbers to receive the harmonic mean result. The accompanying guide explains the harmonic mean, one of the three primary averages alongside arithmetic and geometric means. It details the manual calculation process: count the numbers (n), sum their reciprocals (s), and divide n by s. The article illustrates this with examples, such as finding the harmonic mean of 3, 4, and 6, which equals 4. It also covers the formal mathematical formula and touches on the relationship with the arithmetic mean and the concept of the weighted harmonic mean, serving as a practical and educational resource.

Master the Harmonic Mean with Our Free Online Calculator. Our user-friendly harmonic mean calculator delivers instant results. Simply input your set of numbers, and the calculated harmonic average will appear. This guide will also explain the harmonic mean concept, demonstrate manual calculation, and explore its relationship with other averages like the arithmetic and geometric mean. We'll also cover the formula for the weighted harmonic mean.

How to Use Our Free Scientific Calculator

Finding the harmonic mean is straightforward with our online calculator tool. Let's calculate the harmonic mean for the numbers 3, 4, 6, and 12 as an example.

Begin by entering your first value, 3, into the initial input field. Continue typing the remaining numbers 4, 6, and 12 into the subsequent boxes. Our calculator dynamically provides up to 30 input fields, adding new boxes as you need them. The result will immediately show that the harmonic mean for this dataset is 4.8.

Understanding the Harmonic Mean

The harmonic mean is a crucial type of average, standing alongside the more familiar arithmetic and geometric means in statistical analysis. To compute it manually, follow a simple four-step process.

  1. First, determine the count of numbers in your set, denoted as 'n'.
  2. Next, calculate the reciprocal (1/x) for each number in the list.
  3. Then, sum all these reciprocals together; let's call this sum 's'.
  4. Finally, the harmonic mean is found by dividing the number count 'n' by the reciprocal sum 's'.

For instance, to find the harmonic average of 3, 4, and 6: We have n=3 numbers. Their reciprocals are 1/3, 1/4, and 1/6. Adding these gives s = 1/3 + 1/4 + 1/6 = 3/4. The harmonic mean is then n / s = 3 / (3/4) = 4.

The Harmonic Mean Formula

Mathematically, the harmonic mean (H) for n positive numbers (x₁, x₂, ..., xₙ) is formally defined. The formula expresses H as the number of observations divided by the sum of the reciprocals of each observation.


H = n / (∑ (1/xᵢ))
        

where the sum runs from i=1 to n. An equivalent formulation is the reciprocal of the arithmetic mean of the reciprocals:


H = ( (∑ (1/xᵢ)) / n )⁻¹
        

Calculating for Two or Three Numbers

The formula simplifies for smaller datasets. For two positive numbers, x and y, the harmonic mean is:


H = 2xy / (x + y)
        

You simply double their product and divide by their sum. For example, the harmonic mean of 2 and 8 is H = (2 * 2 * 8) / (2 + 8) = 32 / 10 = 3.2.

For three numbers x, y, and z, the formula becomes:


H = 3xyz / (xy + yz + zx)
        

As an illustration, for x=2, y=5, z=10: H = (3 * 2 * 5 * 10) / (2*5 + 5*10 + 10*2) = 300 / 80 = 3.75.

Relationship to Other Averages

The harmonic mean possesses distinct relationships with other central tendency measures. It is precisely the reciprocal of the arithmetic mean of the data's reciprocals. In the specific case of two numbers, the harmonic mean can also be expressed as the square of the geometric mean (G) divided by the arithmetic mean (A):


H = G² / A
        

A fundamental rule for any list of positive numbers is that the harmonic mean is always the smallest among the three Pythagorean means, never exceeding the geometric or arithmetic mean.

Introducing the Weighted Harmonic Mean

Parallel to the weighted arithmetic average, the harmonic mean has a weighted version for datasets where values have different levels of importance. Given numbers x₁,..., xₙ with corresponding weights w₁,..., wₙ, the weighted harmonic mean is calculated.


Weighted H = (∑ wᵢ) / (∑ (wᵢ / xᵢ))
        

where sums are over i=1 to n. This can also be expressed as the reciprocal of the weighted average of the reciprocals.

Practical Applications Across Disciplines

The harmonic mean has diverse and powerful real-world applications. In geometry, for any triangle, the radius of the inscribed circle (incircle) equals one-third of the harmonic mean of the triangle's three altitudes.

In finance, analysts use the weighted harmonic mean to compute the accurate price-to-earnings (P/E) ratio for a stock market index composed of multiple companies, ensuring larger companies are appropriately weighted.

Physics and engineering offer several classic examples. Your average speed for a round trip over the same distance at two different speeds (v₁ and v₂) is the harmonic mean of those two speeds. Conversely, if you travel for equal time periods at different speeds, the average speed is the arithmetic mean.

For electrical components, connecting n resistors in parallel results in a total resistance equivalent to n times the harmonic mean of the individual resistances. For capacitors, the harmonic mean calculates the total capacitance when they are connected in series, while the arithmetic mean applies for parallel connections.

Other calculators:

Multilingual calculator