How the Harmonic Mean Works
The harmonic mean is a type of average best suited to rates and ratios — quantities like speed, price-to-earnings ratios, or resistance in parallel circuits. For a set of n positive numbers x₁, x₂, …, xₙ, the harmonic mean is HM = n / Σ(1/xᵢ) — that is, n divided by the sum of the reciprocals of each value. Because it is based on reciprocals, the harmonic mean weights smaller values more heavily than larger ones, which makes it pull toward the low end of a data set rather than the middle.
Formula and method
To compute the harmonic mean by hand: (1) take the reciprocal of every value (1 divided by the value), (2) sum those reciprocals, and (3) divide the count of values, n, by that sum. For example, with 4, 8, and 16: the reciprocals are 0.25, 0.125, and 0.0625, which sum to 0.4375. Dividing n = 3 by 0.4375 gives HM ≈ 6.857. When some observations should count more than others, use the weighted harmonic mean: HM_w = Σwᵢ / Σ(wᵢ/xᵢ), where each value xᵢ is paired with a weight wᵢ. If no weights are supplied, this calculator treats every value as equally weighted, so the weighted result matches the plain harmonic mean.
Common sources of error
- Zero or negative values: the harmonic mean requires every value to be strictly positive — a zero makes 1/x undefined, and negative values make the result meaningless for rate-style data.
- Using the arithmetic mean for rates: averaging speeds, ratios, or rates with a simple arithmetic mean (sum ÷ count) typically overstates the true average — the harmonic mean corrects for this when the quantities share a common numerator (e.g., a fixed distance or fixed cost).
- Mismatched weight count: when using weights, make sure you enter exactly one weight per value, in the same order, or the weighted result will not correspond to the correct pairing.
Checking your result
The harmonic mean of a set of positive numbers is always less than or equal to the geometric mean, which is always less than or equal to the arithmetic mean — the relationship AM ≥ GM ≥ HM always holds, with equality only when all the values are identical. This calculator reports all three means, so you can use that inequality as a sanity check: if your harmonic mean comes out larger than the arithmetic mean, double-check your inputs.
Frequently Asked Questions
What is the harmonic mean and how is it calculated?
When should I use the harmonic mean instead of the arithmetic mean?
What is a weighted harmonic mean?
Why must all values be positive, and how does the harmonic mean compare to the arithmetic and geometric means?
Common Tip Percentages
| Service | Typical Tip Range | Notes |
|---|---|---|
| Restaurant (sit-down) | 15–20% | 20%+ for exceptional service |
| Food delivery | 10–20% | Consider extra for long distances |
| Taxi / rideshare | 10–20% | More for assistance with luggage |
| Hotel housekeeping | $2–5/night | Leave daily, not just at checkout |
| Barber / hair salon | 15–20% | On pre-discount total |
| Pizza delivery | 10–15% or $3–5 minimum | Higher in bad weather |
General Household Budget Ratios (50/30/20 Rule)
| Category | % of Net Income | Examples |
|---|---|---|
| Needs | 50% | Rent, groceries, utilities, insurance |
| Wants | 30% | Dining out, entertainment, hobbies |
| Savings / Debt | 20% | Emergency fund, retirement, extra payments |
Common Measurement Conversions for Everyday Use
| Quantity | US / Imperial | Metric Equivalent |
|---|---|---|
| 1 cup | 8 fl oz | 237 mL |
| 1 pint | 16 fl oz | 473 mL |
| 1 quart | 32 fl oz | 946 mL |
| 1 gallon | 128 fl oz | 3.785 L |
| 1 lb | 16 oz | 453.6 g |
| 1 ft | 12 in | 30.48 cm |