BedrockCalculator
Figures cited to primary sourcesWritten by Aapt Dubey, MBA (Marketing & Banking), ISB 3 primary sourcesLast updated

Average Calculator: Mean, Median, Mode and Weighted Average

The Average Calculator: Mean, Median, Mode and Weighted Average finds the average of a list of numbers with its median, mode, range and sorted order, or a weighted average for grades, percentages and atomic mass.

Quick Answer: The average of 88, 92, 79, 92 and 85 is 87.2: add them to get 436 and divide by 5. The median of the same numbers is 88 and the mode is 92.

Assumptions

Computed

Preset scenarios

Average
87.2
How many numbers
5
Sum
436
Plain mean
87.2
Median
88
Mode
92
Range
13
Smallest
79
Largest
92
Least to greatest
79, 85, 88, 92, 92
Weighted average
Switch to weighted mode
Entries skipped
None

Mean, median and mode of small data sets

Download CSV
Each row is this calculator run in plain mode on the list in the first column. Results are exact, shown to 12 significant figures.
NumbersMeanMedianModeRange
1, 2, 3, 4, 533No mode (every value appears once)4
2, 4, 4, 4, 5, 5, 7, 954.547
10, 20, 30, 402525No mode (every value appears once)30
3, 7, 7, 2, 95.6777
1, 1, 2, 2, 31.821, 22
0.1, 0.2, 0.30.20.2No mode (every value appears once)0.2
-5, 0, 5, 102.52.5No mode (every value appears once)15
1, 2, 3, 4, 5, 6, 7, 8, 9, 105.55.5No mode (every value appears once)9
100, 200, 250, 1000387.5225No mode (every value appears once)900

This table and its CSV are free to reuse with a link to this page, CC BY 4.0.

Average Calculator: Mean, Median, Mode and Weighted Average: Average 87.2 (Average: Plain average (mean, median, mode); Numbers: 88, 92, 79, 92, 85).

Save or share this result

A one-page summary of this calculator's default example, drawn from the same calculation as the result above.

The infographic is free to reuse with a link to this page, CC BY 4.0.

Illustration of five glass jars of beans at different fill heights in a row on a wooden shelf
Quick Answer: The average of 88, 92, 79, 92 and 85 is 87.2: add them to get 436 and divide by 5. The median of the same numbers is 88 and the mode is 92.

What does this calculator do?

This average calculator finds the mean of a list of numbers, along with the median, the mode, the range and the list sorted from least to greatest. Switch it to weighted mode and it takes a second list of weights, so it can average grades by credit hours, percentages by group size, or isotope masses by abundance.

"Average" in everyday speech almost always means the arithmetic mean: the total divided by how many numbers there are. The median and mode are also averages in the wider sense, since each one describes where the middle of the data sits, and the three can tell quite different stories about the same list. A list of house prices with one mansion in it has a mean pulled well above the median. Seeing all three side by side is the quickest way to spot that.

The arithmetic is exact decimal arithmetic. Averaging 0.1, 0.2 and 0.3 gives exactly 0.2, where a spreadsheet working in binary floating point can be off in the last digit.

Using the Average Calculator

  1. Choose Plain average or Weighted average.
  2. Type or paste the numbers into the box, separated by commas, spaces or new lines. Do not group thousands with commas; type 1200, not 1,200, because a comma separates one number from the next.
  3. In weighted mode, type one weight per number in the second box, in the same order.
  4. Read the average at the top. The cards show the count, sum, plain mean, median, mode, range, smallest and largest values, and the sorted list. Anything that is not a number is listed under Entries skipped rather than silently dropped.

The presets load a grade point example, an average of two percentages, the atomic mass of chlorine, and a list with an even number of values.

How is this calculated?

  1. Read the list. The text is split at commas, spaces, semicolons and line breaks. Each piece that reads as a number is kept as an exact decimal; any other piece is reported as skipped.
  1. Mean. The values are added and the sum is divided by the count.

x̄ = (x₁ + x₂ + ⋯ + xₙ)/n

  1. Median. The values are sorted. With an odd count the median is the middle value. With an even count it is the mean of the two middle values, as the NIST/SEMATECH e-Handbook defines it.
  1. Mode. Each distinct value is counted, and every value that ties for the highest count is reported. If no value appears more than once, the card says there is no mode.
  1. Range, smallest and largest. Read from the ends of the sorted list. The range is the largest minus the smallest.
  1. Weighted mean. In weighted mode each value is multiplied by its weight, the products are added, and the total is divided by the sum of the weights. The two lists must be the same length, and the weights must be zero or more with at least one above zero; otherwise the card explains what is wrong.

x̄_w = (w₁x₁ + w₂x₂ + ⋯ + wₙxₙ)/(w₁ + w₂ + ⋯ + wₙ)

  1. Show the results. Each figure is rounded half up to 12 significant figures for display, with trailing zeros dropped. Nothing is rounded before that.

Worked Example

The default list is 88, 92, 79, 92, 85.

  1. Sum: 88 + 92 + 79 + 92 + 85 = 436.
  2. Mean: 436 ÷ 5 = 87.2.
  3. Sorted: 79, 85, 88, 92, 92. The middle (third) value is the median, 88.
  4. 92 appears twice and everything else once, so the mode is 92.
  5. Range: 92 minus 79 = 13.

With an even count, the Six numbers preset (12, 7, 3, 14, 7, 9) sorts to 3, 7, 7, 9, 12, 14. The two middle values are 7 and 9, so the median is 8. The mean is 52 ÷ 6 = 8.66666666667, and the mode is 7.

How Do You Calculate a Weighted Average?

Multiply each value by its weight, add the products, and divide by the total weight. The Grades by credit hours preset has grades of 90, 80 and 70 on courses worth 3, 4 and 2 credits:

  1. Products: 90 × 3 = 270, 80 × 4 = 320, 70 × 2 = 140.
  2. Total: 270 + 320 + 140 = 730.
  3. Total weight: 3 + 4 + 2 = 9.
  4. Weighted average: 730 ÷ 9 = 81.1111111111.

The plain mean of the three grades is 80. The weighted figure is higher because the 4-credit course, with the middle grade, and the 3-credit course with the top grade carry more of the total than the 2-credit course with the lowest.

How Do You Calculate the Average of Percentages?

Weight each percentage by the size of the group it describes. Averaging the percentages directly is only right when every group is the same size.

The Average of two percentages preset has one class of 20 students with an 80% pass rate and another of 30 with a 60% pass rate. The plain average of 80 and 60 is 70, but the share of all 50 students who passed is the weighted average, 68%. The larger class has the lower rate, so it pulls the combined figure down. The weighted figure is the one that matches counting the passing students in both classes and dividing by all 50.

How Do You Find Average Atomic Mass?

Average atomic mass is a weighted average of the masses of an element's isotopes, with each isotope's natural abundance as its weight. NIST lists chlorine-35 at 34.968852682 and chlorine-37 at 36.965902602, with isotopic compositions of 0.7576 and 0.2424.

The Atomic mass of chlorine preset averages them to 35.4529375826, which sits inside the standard atomic weight interval NIST gives for chlorine, 35.446 to 35.457. The interval exists because the isotope mix varies a little between natural samples.

Mean, Median and Mode of Small Data Sets

The reference table below runs the calculator on several short lists, so you can see how the three averages behave. Note the list 100, 200, 250, 1000, where one large value pulls the mean to 387.5 while the median stays at 225.

What does this calculator not account for?

  • Thousands separators. A comma always ends a number, so 1,200 is read as two numbers, 1 and 200. Type large numbers without grouping.
  • Other kinds of mean. The calculator gives the arithmetic mean. Growth rates and ratios are usually averaged with the geometric mean, and rates such as speeds over equal distances with the harmonic mean. Neither is computed here.
  • Grouped data. For data given as class intervals and frequencies, enter each interval's midpoint as a value and its frequency as a weight. The result is an estimate, since the values inside each class are not known.
  • Spread. The range shows how far apart the extremes are, nothing more. For the standard deviation and variance, use the standard deviation calculator.
  • Very long lists. Up to 5,000 numbers are read. The sorted list card shows the first 200.

What mistakes do people make with this?

  • Averaging averages. The mean of two class averages is not the average of all students unless the classes are the same size. Weight by size.
  • Leaving out zeros. A score of zero is a value. Dropping it raises the mean.
  • Counting a missing value as zero. The opposite mistake: if a result is missing, leave it out rather than typing 0.
  • Reading the mode of continuous data. With measurements like 12.31 and 12.34, values rarely repeat exactly, so "no mode" is normal and the median is the better middle.
  • Mismatched weights. Each weight must line up with its value. If the counts differ, the calculator stops and says how many weights it expected.

Frequently Asked Questions

How do you calculate the average of a set of numbers?

Add the numbers and divide by how many there are. For 88, 92, 79, 92 and 85 the total is 436 and there are five numbers, so the average is 87.2.

What is the difference between mean, median and mode?

The mean is the total divided by the count. The median is the middle value once the list is sorted. The mode is the value that appears most often. For 3, 7, 7, 2, 9 they are 5.6, 7 and 7.

How do I put numbers in order from least to greatest?

Paste them into the box and read the Least to greatest card. Negative numbers come first, and decimals are placed by value, so 0.5 comes before 2.

What does annual mean for income?

Annual means per year. If you have monthly figures for a full year, the sum of the twelve months is the annual total, and the mean of them is the average month. The sum card gives the first and the mean the second.

How do you calculate a batting average?

A batting average is hits divided by at bats, written to three decimal places. It is a ratio of two totals, not the mean of a list, so this calculator is not the tool for it. Divide the season's hits by the season's at bats directly.

Can a list have more than one mode?

Yes. In 1, 1, 2, 2, 3 both 1 and 2 appear twice, so the calculator reports both. A list where every value appears once has no mode.

Why is my average different from my spreadsheet's?

Usually because of a skipped entry, a thousands comma that split a number in two, or a blank cell the spreadsheet ignored. Check the count and the Entries skipped card first.

Sources

Did this calculator answer your question?

How this calculator is tested

This calculator is checked by 8 automated test cases: specific inputs whose correct result is known in advance, and rules the output must always obey. They run on every change to the site. See the testing and corrections policy.

Show the test cases
  • Default: the average of 88, 92, 79, 92, 85 is 87.2
  • an even count takes the mean of the middle two for the median
  • weights grades by credit hours
  • averages percentages by group size
  • gives the atomic mass of chlorine from NIST isotope data
  • keeps decimals exact and reports several modes
  • handles bad input without throwing
  • builds the reference table from compute()

Add This Website as Preferred Source on Google

See Bedrock Calculator first in your Search results & AI Overviews