Average Calculator

Mean, median, mode, range and standard deviation of a list of numbers, plus a weighted average — exact, for up to 50,000 numbers.

Averages

Mean of 9 numbers81median 85
Mode
85 (×3)
Sum
729
Smallest · largest
64 · 99
Range
35
Standard deviation (population)
10.3923048454
Standard deviation (sample)
11.0227038425
Geometric mean
80.3246274019
Harmonic mean
79.6430189406
  • Worked in exact decimals and shown to 12 significant digits. Population standard deviation divides by n; sample divides by n − 1.

Numbers

9 numbers
How is this calculated?
Mean = sum ÷ count · Median = the middle value once sorted (the mean of the two middle values for an even count) · Standard deviation = √(Σ(x − mean)² ÷ n), or ÷ (n − 1) for a sample · Weighted mean = Σ(value × weight) ÷ Σ weight

Runs in your browser — nothing you enter leaves this device.

About this tool

What it does

Paste or type a list of numbers and this calculator gives every common kind of average at once: the mean, the median and the mode, with the sum, the smallest and largest values, the range, the standard deviation, and the geometric and harmonic means. A second mode works out a weighted average, where some values count more than others — marks weighted by course credits, or prices weighted by quantity.

How to use it
  1. Choose "A list of numbers", or "Weighted" for values with weights.
  2. Paste or type the numbers, separated by commas, spaces, semicolons or new lines. A column copied from a spreadsheet works as it is.
  3. If your numbers use commas to group thousands, as in 1,00,000, turn on "Commas group thousands" so they are not read as separate numbers.
  4. For a weighted average, put one value and its weight on each line, such as "85 4" for a mark of 85 on a four-credit course.
Limits and your data
  • Up to 50,000 numbers are used; past that the rest are left out and the page says so.
  • Anything that is not a number, such as a word or "n/a", is left out and listed under the answer, so you can see what was skipped.
  • Sums, means, medians and standard deviations are worked out in decimal arithmetic to 40 significant digits, so 0.1 + 0.2 is 0.3. They are shown to 12 significant digits. The geometric mean uses ordinary floating point and is good to about 12 digits.
  • The geometric and harmonic means are shown only when every number is above zero; they are not defined otherwise.
  • The numbers stay in this page. They are not sent anywhere or saved, and the calculator works offline once loaded.

Questions

What is the difference between the mean, the median and the mode?

The mean is the total divided by the count. The median is the middle value when the numbers are sorted, so one very large value does not drag it up the way it drags the mean. The mode is the value that appears most often, and there can be more than one, or none if no value repeats.

Should I use the population or the sample standard deviation?

Use the population figure when your list is the whole group you care about, such as every student in one class. Use the sample figure when the list is a sample standing in for a larger group, such as a survey; dividing by n − 1 corrects for a sample tending to spread less than the group it came from.

How do I work out a weighted average?

Multiply each value by its weight, add up the results, and divide by the total of the weights. For marks of 85 on 4 credits and 72 on 3 credits, that is (85 × 4 + 72 × 3) ÷ 7 = 79.43.

Is this how a CGPA is calculated?

Most universities compute CGPA as a credit-weighted average of grade points, which is what the weighted mode does: enter each grade point and its credits. Some institutions use their own rules, such as dropping failed courses, so check your university’s regulations.

When is the geometric mean the right average?

For rates of growth that multiply. If an investment grows 10% one year and 50% the next, its average yearly growth is the geometric mean of 1.1 and 1.5, minus one: about 28.5%, not the 30% the ordinary mean suggests.