KitQuarter

Average Calculator: Mean, Median, Mode and Range

Paste any list of numbers and get the count, sum, mean, median, mode, range, minimum, maximum and the sorted list — with every step shown.

Separate numbers with commas, spaces or line breaks. At least two numbers are needed.

How to use the average calculator

Type or paste your numbers into the box. Commas, spaces and line breaks all work as separators, and the order does not matter — the calculator sorts the values itself. Press Calculate to see the count, sum, mean, median, mode, range, minimum, maximum and the sorted list.

Bar chart of the numbers 4, 8, 6, 5 and 3 with a red line marking the mean at 5.2, a green line marking the median at 5, and a note that there is no mode
One data set, three kinds of average: the mean (5.2), the median (5) and no mode, since every value appears once.

Step by step

  1. Enter your numbers in the box above — a few values or a long pasted list.
  2. Separate them with commas, spaces or line breaks, for example: 4, 8, 6, 5, 3.
  3. Press Calculate. Anything that is not a number is ignored.
  4. Read the results card for the mean, median, mode, range and the rest.

What you get

  • Count — how many valid numbers were found
  • Sum — the total of all values
  • Mean — the arithmetic average, to 4 decimal places
  • Median — the middle value of the sorted list
  • Mode — the most frequent value, or a note when there is none
  • Range — maximum minus minimum
  • Minimum and maximum
  • Sorted list — your values in ascending order

Mean vs median vs mode: which average should you use?

Average is a loose word for a typical value, but statistics gives it three precise meanings — and they disagree whenever the data is skewed. Take the set 1, 2, 4, 8, 16: the mean is 6.2, but the median is 4. The single large value drags the mean upward while the median barely moves.

Comparison of mean, median and mode with a worked mini-example for each
MeasureWhat it isWorked mini-exampleUse it when
MeanSum of the values divided by their count2, 4, 6, 8, 10 → 30 ÷ 5 = 6Data is roughly symmetric with no extreme outliers
MedianThe middle value of the sorted list2, 4, 6, 8, 40 → the middle value is 6Data is skewed or contains outliers
ModeThe most frequently occurring value3, 5, 5, 7, 9 → 5You need the most common value or category

The arithmetic mean is formally the sum of the observations divided by their count — see the definition of the arithmetic mean on Wikipedia for the full mathematical treatment, including why it is sensitive to extreme values.

Averages and percentages often appear together in reports and grades. If you also need to find what P% of a number is, or express one value as a share of another, our percentage calculator covers the percentage side of the question.

Three dot plots: a symmetric data set where mean equals median, a right-skewed set where the mean is above the median, and a left-skewed set where the mean is below the median
Skew pulls the mean away from the median. When the two disagree, the median is usually the more representative typical value.

A quick rule of thumb

If the mean and median come out close, the mean is a fine summary. If they differ a lot, an outlier is dragging the mean — report the median as the typical value and mention both numbers so readers see the full picture.

Worked example

Take the numbers 4, 8, 6, 5, 3. This is exactly what the calculator does with them, step by step:

Step-by-step calculation of the average of 4, 8, 6, 5 and 3
StepCalculationResult
1. Sort the numbersArrange 4, 8, 6, 5, 3 in ascending order3, 4, 5, 6, 8
2. Count themHow many values are there5
3. Add them up4 + 8 + 6 + 5 + 326
4. Divide for the mean26 ÷ 55.2
5. Find the medianMiddle value of the 5 sorted numbers5
6. Find the modeEach value appears exactly onceNo mode
7. Find the range8 − 35
Three labeled steps: add the numbers to get 26, count 5 numbers, divide 26 by 5 to get a mean of 5.2
The three steps behind every mean: add, count, divide.

Average formulas

  • Mean = (x₁ + x₂ + … + xₙ) ÷ n
  • Median = the middle value of the sorted data; when there is an even count, the average of the two middle values
  • Mode = the value or values with the highest frequency
  • Range = maximum − minimum

This calculator reports a plain unweighted mean: every entry counts equally. For a weighted average — such as a GPA where courses carry different credit hours — repeat or weight the values before entering them.

Averages are often just the start of data analysis. For the powers, roots and logarithms that usually follow — for example, squaring the deviations when you move on to standard deviation — our scientific calculator has the functions you need.

All calculation happens in your browser. Nothing you paste is uploaded or stored, so you can use the tool for private lists such as salaries or grades.

Frequently asked questions

How do you calculate an average?

Add all the numbers together and divide by how many there are. For 4, 8, 6, 5 and 3, the sum is 26 and there are 5 numbers, so the average (mean) is 26 ÷ 5 = 5.2. The calculator above does this for you and also reports the median, mode and range.

What is the difference between mean, median and mode?

The mean is the sum divided by the count. The median is the middle value of the sorted list. The mode is the most frequent value. They are three different answers to what is typical: for the set {1, 2, 4, 8, 16}, the mean is 6.2 while the median is 4.

When should I use the median instead of the mean?

Use the median when the data is skewed or contains outliers. A single extreme value pulls the mean toward it but barely moves the median. For house prices or incomes, where a few very large values exist, the median is the more representative typical value.

What does it mean when there is no mode?

It means every value appears the same number of times — usually once — so no value is more frequent than the others. For 4, 8, 6, 5 and 3 there is no mode. A data set can also have two or more modes if several values tie for the highest frequency.

Can the calculator handle decimals and negative numbers?

Yes. Enter values like 2.5, -3 or 0.75 freely, separated by commas, spaces or line breaks. Anything that is not a number is ignored, and you need at least two valid numbers for a result.

How many numbers can I enter?

There is no built-in limit — paste a short list or a few hundred values. Very large pastes are fine because the calculation runs in your browser, and nothing you enter is sent anywhere.

Why is the mean shown with four decimal places?

Four decimals keep the result precise when the division does not come out even, for example 10 ÷ 3 = 3.3333. If you need fewer, round the displayed result to whatever your use case requires.