Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Average Calculator

Average Calculator works out Selected average and Arithmetic mean from Values, Weights and Trim from each end (%). The default figures on this page give selected average of 5; change any entry and the result, the working and the sources update together.

Selected average
5
Average Calculator
Arithmetic mean
5
Geometric mean
4.603216
Harmonic mean
4.201751
Quadratic mean (RMS)
5.385165
Median
4.5
Mode
4
Midrange
5.5
Trimmed mean
5
Number of values
8
Sum of the values
40
Smallest value
2
Largest value
9
Range
7
Sample standard deviation
2.13809
Population standard deviation
2
Worked out from NIST/SEMATECH e-Handbook of Statistical Methods §1.3.5.1 (measures of location) and §7.1.6 (mean, median, standard deviation) and 1 other source.

Your figures

Updates as you type
Separate with commas, spaces or new lines.
One weight per value, in the same order. Only used for the weighted mean.
Used by the trimmed mean: 10 drops the lowest and highest 10% of the sorted values.

How this is worked out

3 steps
  1. Add the values: 2 + 4 + 4 + 4 + 5 + 5 + 7 + 9 = 40
  2. Divide by how many there are: 40 / 8 = 5
  3. Check: AM 5 >= GM 4.60321559605 >= HM 4.20175072947, as it must be for positive data.

Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

2 sources

What the Average Calculator calculates

Computes the arithmetic, weighted, geometric, harmonic and quadratic means of a data set together with the median, mode, midrange, range and standard deviation.

How to use this Average Calculator

Enter Values, Weights and Trim from each end (%). Selected average updates as you type, and “Use a worked example” loads checked figures you can adjust. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Selected average, Arithmetic mean and Weighted mean.

The method follows NIST/SEMATECH e-Handbook of Statistical Methods §1.3.5.1 (measures of location) and §7.1.6 (mean, median, standard deviation) and Wikipedia, "Pythagorean means" — definitions of the arithmetic, geometric and harmonic means and the inequality AM >= GM >= HM.

The classic 2, 4, 4, 4, 5, 5, 7, 9 data set example

With Values: 2,4,4,4,5,5,7,9, Which average?: arithmetic, the calculator returns Arithmetic mean: 5, Median: 4.5, Population standard deviation: 2. This example is checked against an independent source in the test suite.

What you can compare

Change one input at a time to see how it affects Selected average, Arithmetic mean and Weighted mean. The inputs you can vary are Values, Weights and Trim from each end (%).

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How do I calculate an average?

Computes the arithmetic, weighted, geometric, harmonic and quadratic means of a data set together with the median, mode, midrange, range and standard deviation. Open “How this is worked out” beside the result to see each step for your own figures.

How do I calculate my total average?

It needs Values, Weights and Trim from each end (%). Nothing else is required, and the figures stay in your browser.

How to calculate averages in math?

The result gives Selected average, Arithmetic mean, Weighted mean, Geometric mean, Harmonic mean and Quadratic mean (RMS), each labelled with its unit so the figure can be read on its own.

What is the average of 100?

On the figures this page opens with, the selected average is 5. No single number fits everyone: it follows Values, Weights and Trim from each end (%), so enter your own above and the answer updates as you type.

What information do I need for the Average Calculator?

You need Values, Weights and Trim from each end (%). The page opens with default figures that give selected average of 5, so you can see the scale before entering your own.

What does this Average Calculator show?

It shows Selected average, Arithmetic mean, Weighted mean, Geometric mean, Harmonic mean, Quadratic mean (RMS), Median and Mode, with the working and any warnings for your entries.

Related calculators

View all related calculators11 more