Skip to content
Test versionSearch

Mathematics

Arithmetic, geometric, harmonic and RMS means

Calculate the arithmetic, geometric, harmonic and RMS means of one list of numbers; the geometric and harmonic means require positive values.

How it worksFAQRelated tools

Content reviewed:

Enter your own numeric data. Optional live calculation is initially off. JSON/HTML and reports include entered lists/options/results. Print HTML in your browser. No permanent saving or sending by this tool.

One value per line; decimal dot/comma, up to six decimal places, no thousands separator. Values bounded to ±1000000, text20000 units. Arithmetic and RMS allow zero/negative inputs; geometric/harmonic are shown only when every value is strictly positive. Mean ordering H≤G≤A≤RMS applies to positive inputs. Arithmetic fraction exact for entered decimals; numeric results approximate, using logs and hypot to limit overflow. The correct mean for speeds, rates or growth depends on weighting and units; the tool makes no automatic recommendation or professional interpretation. Pasted list values accept decimal dot/comma with no grouping. Separate numeric controls follow the existing locale parser: use comma decimals in DE; ambiguous dotted grouping refuses. Numeric controls require plain decimal notation with at most six decimal places; scientific notation and extra places refuse before Number rounding.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

Own elementary formulas with user-entered numeric scale, bounded decimal records and separate exact fractions/approximate display. No national grading or admission model. One value per line; decimal dot/comma, up to six decimal places, no thousands separator. Values bounded to ±1000000, text20000 units. Arithmetic and RMS allow zero/negative inputs; geometric/harmonic are shown only when every value is strictly positive. Mean ordering H≤G≤A≤RMS applies to positive inputs. Arithmetic fraction exact for entered decimals; numeric results approximate, using logs and hypot to limit overflow. The correct mean for speeds, rates or growth depends on weighting and units; the tool makes no automatic recommendation or professional interpretation. Pasted list values accept decimal dot/comma with no grouping. Separate numeric controls follow the existing locale parser: use comma decimals in DE; ambiguous dotted grouping refuses. Numeric controls require plain decimal notation with at most six decimal places; scientific notation and extra places refuse before Number rounding.

Worked example

Own entered numbers and scale; no school rule is assumed.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

One numeric value per line, 1–200 entries
1 4
Display precision 0–12
6

Result

Entered value count
2
Arithmetic mean, approximate
2.50
Arithmetic mean, exact fraction
5/2
Geometric mean, positive inputs only
2.00
Harmonic mean, positive inputs only
1.60
Root mean square, approximate
2.915476

Frequently asked questions

How are the arithmetic, geometric, harmonic and RMS means calculated?

Arithmetic mean A = Σx/n, geometric mean G = exp(Σln(x)/n), harmonic mean H = n/Σ(1/x), and RMS is the square root of the sum of squares divided by √n.

Why is the geometric or harmonic mean not shown?

The geometric and harmonic means are shown only when every value is strictly positive. Arithmetic mean and RMS also allow zero and negative inputs.

What is the order of the four means?

For positive inputs the ordering H ≤ G ≤ A ≤ RMS applies. For example, the values 1 and 4 give an arithmetic mean of 2.5 (exactly 5/2) and a harmonic mean of 1.6.

How do I enter numbers for the means calculator?

Enter one value per line with a decimal dot or comma, up to six decimal places and no thousands separator. Values are limited to ±1000000.

Which mean should I use for speeds or growth rates?

The correct mean for speeds, rates or growth depends on weighting and units. The means calculator makes no automatic recommendation.

Can the means calculator compute RMSE?

Yes, a separate form calculates RMSE from 1 to 100 actual:predicted pairs separated by semicolons, with numbers from -500000 to 500000. It applies no fitting or quality threshold.