Skip to main content

Average Calculator

Calculate the average of any set of numbers instantly. Enter values to find the arithmetic mean, sum, count, median, mode, and range, with a clear step-by-step explanation.

Enter Your Numbers

Enter numbers separated by commas, spaces, or new lines. You can also paste values from a spreadsheet. Commas always separate values, so write 1000, not 1,000.

Examples

Average (mean)

30

150 ÷ 5 = 30

Sum
150
Count
5
Median
30
Mode
No mode
Minimum
10
Maximum
50
Range
40

More details & assumptions
  • Values are added exactly, so 0.1 + 0.2 is exactly 0.3. Results that do not end within 15 decimal places are rounded to 6 decimal places (more for very small values) and marked ≈.
  • Up to 10,000 values, each with up to 15 digits before and 15 after the decimal point.

How your average was calculated

  1. Step 1: Add the values

    10 + 20 + 30 + 40 + 50 = 150

  2. Step 2: Count the values

    5 values

  3. Step 3: Divide the sum by the count

    150 ÷ 5 = 30

Final answer: Average = 30

Median, mode and range explained
Median: 30
Sorted from smallest to largest, the middle value (position 3 of 5) is 30.
Mode: No mode
Every value appears once, so there is no mode.
Range: 40
Maximum − minimum = 50 − 10 = 40

Sorted values

10, 20, 30, 40, 50

How to Use the Average Calculator

  1. Enter your numbers. Type them, paste them, or pick an example such as Test scores.
  2. Separate the values with commas, spaces, semicolons or new lines. Columns and rows copied from a spreadsheet work as they are.
  3. Read the average. The mean updates as you type, with the division shown beneath it.
  4. Check the sum and count. They are the two numbers behind every average, and the steps show the full addition for up to 20 values.
  5. Explore the median, mode and range. Open “Median, mode and range explained” to see how each was found from the sorted values.
  6. Copy your results. Copy average copies just the mean; Copy all results copies every statistic as plain text. Clear empties the box and Reset restores the first example.

Negative numbers, decimals and zero are all valid. If any entry is not a number, the calculator names it and shows no average until it is fixed, so a typo never quietly changes your result.

How to Calculate Average

Calculating an average takes two numbers: the sum of the values and the count of values. Divide the first by the second and you have the arithmetic mean, the value each item would have if the total were shared out equally.

For 10, 20, 30, 40 and 50, the sum is 10 + 20 + 30 + 40 + 50 = 150 and there are 5 values, so the average is 150 ÷ 5 = 30. Sharing 150 equally among five gives 30 each.

Average

Average = Sum ÷ Count

Example: 150 ÷ 5 = 30

Average Formula

Arithmetic mean

Mean = Σx ÷ n

Σx
Sum of all the observations (Σ, sigma, means “add up”)
n
Number of observations, counting repeats

Example: For 12, 18, 25 and 35: Σx = 90, n = 4, mean = 90 ÷ 4 = 22.5

To compute an average with the formula, every observation goes into Σx once, including zeros and negatives, and each one adds 1 to n. A zero lowers the mean because it adds to the count but not to the sum. The mean is always between the smallest and largest values, and it equals both when every value is the same.

How to Find the Average of Numbers

  1. Write down every value, including repeats. Three 5s count as three values.
  2. Add them. Keep the signs: adding a negative number lowers the total.
  3. Count them. Count entries, not distinct numbers.
  4. Divide the sum by the count and round only the final answer.

Whole numbers: for 6, 8 and 13, the sum is 27 and the count is 3, so the average is 27 ÷ 3 = 9.

Decimals: for 2.4, 3.1 and 4.5, the sum is 10 and the count is 3, so the average is 10 ÷ 3 ≈ 3.333333. The digits repeat forever, so the calculator rounds the display to six decimal places and shows the exact value, 10/3, alongside it.

Mean vs Median vs Mode

Three measures of the center of a dataset
Measure and meaningExample
Mean: sum divided by count2, 4, 6 → 4
Median: middle value of the sorted list2, 4, 10 → 4
Mode: most frequent value2, 2, 5 → 2

For evenly spread data, such as 2, 4 and 6, the mean and median match. They separate when the data is lopsided: in 2, 4 and 10, the median stays at 4 while the mean rises to 16 ÷ 3 ≈ 5.33, pulled up by the 10. The mode answers a different question, which value is most common, and does not have to be near the middle at all.

How to Calculate Median

Sort the values from smallest to largest, by numeric value rather than alphabetically (so 9 comes before 20).

  • Odd count: take the middle value. For 3, 9, 4, 7 and 1, the sorted list is 1, 3, 4, 7, 9, so the median is 4.
  • Even count: average the two middle values. For 8, 3, 5 and 12, the sorted list is 3, 5, 8, 12, so the median is (5 + 8) ÷ 2 = 6.5.

The middle position of n sorted values is (n + 1) ÷ 2. For 5 values that is position 3; for 4 values it is 2.5, the halfway point between positions 2 and 3.

How to Find the Mode

Count how many times each value appears. The value with the highest count is the mode.

  • One mode: in 4, 6, 6 and 9, 6 appears twice, so the mode is 6.
  • Several modes: in 1, 1, 4, 4 and 7, both 1 and 4 appear twice, so the data has two modes.
  • No mode: in 3, 5 and 8, every value appears once. Nothing is more common than anything else, so there is no mode.

Values match by size, not by how they are typed: 2.5 and 2.50 are the same value.

How to Calculate Range

The range is the distance between the largest and smallest values: Range = Maximum − Minimum. For daily highs of 58, 64, 71, 49 and 66 °F, the range is 71 − 49 = 22 °F.

A range of 0 means every value is the same. Because it depends only on the two extremes, a single unusual value can make the range much larger than the typical spread.

Average Calculation Examples

Basics

Average of five numbers

Find the average of 10, 20, 30, 40 and 50.

  1. Sum: 10 + 20 + 30 + 40 + 50 = 150
  2. Count: 5 values
  3. 150 ÷ 5 = 30

Average = 30

Students & teachers

Average test score

A student scored 72, 85, 91, 78 and 94 on five tests.

  1. Sum: 72 + 85 + 91 + 78 + 94 = 420
  2. Count: 5 tests
  3. 420 ÷ 5 = 84

Average score = 84

Measurements

Average with decimals

Four readings: 1.5, 2.5, 3.5 and 4.5.

  1. Sum: 1.5 + 2.5 + 3.5 + 4.5 = 12
  2. Count: 4 readings
  3. 12 ÷ 4 = 3

Average = 3

Temperatures & balances

Average with negative numbers

Daily changes of −10, −5, 0, 5 and 10.

  1. Sum: −10 + (−5) + 0 + 5 + 10 = 0
  2. Count: 5 values
  3. 0 ÷ 5 = 0

Average = 0

Survey answers

Average with repeated numbers

Seven ratings: 2, 3, 3, 5, 5, 5 and 8. Each repeat counts separately.

  1. Sum: 2 + 3 + 3 + 5 + 5 + 5 + 8 = 31
  2. Count: 7 ratings
  3. 31 ÷ 7 ≈ 4.428571
  4. Mode: 5 (appears 3 times); median: 5

Average ≈ 4.428571 (exactly 31/7)

When Can an Average Be Misleading?

The mean uses the size of every value, so one extreme value can drag it away from what is typical. Take 10, 12, 13, 15 and 100. The mean is 150 ÷ 5 = 30, yet four of the five values are 15 or less. The median, 13, describes the typical value far better.

This is why reports on home prices or household incomes often quote the median: a few very large values would inflate the mean. When the mean and median are far apart, look at both, and at the minimum and maximum, before drawing conclusions.

Can You Average Averages?

Usually not directly. Averaging two group averages treats the groups as if they were the same size. Suppose Group A has 10 people averaging 80 and Group B has 30 people averaging 90. The simple average of 80 and 90 is 85, but that is wrong: Group B has three times as many people.

Rebuild the totals instead. Group A contributes 80 × 10 = 800 and Group B 90 × 30 = 2,700, so the combined average is (800 + 2,700) ÷ 40 = 87.5. This is a weighted average, with each group weighted by its size. Averaging averages directly only works when every group has the same count. For credit-weighted grades, use the GPA & CGPA Calculator; to find the score you need on a final exam, try the Final Grade Calculator.

Frequently Asked Questions

What is an average calculator?

A tool that adds a list of numbers and divides by how many there are. This one also reports the sum, count, median, mode, minimum, maximum and range, and shows the working.

How do you calculate average?

Add all the values, then divide the total by the number of values. For 6, 8 and 13: 27 ÷ 3 = 9.

How do you find the average of numbers?

List the numbers, add them, count them and divide the sum by the count. Paste them into the calculator above to get the answer and every step instantly.

What is the formula for average?

Average = Σx ÷ n, where Σx is the sum of the values and n is how many values there are.

Is average the same as mean?

In everyday use, yes: “average” usually means the arithmetic mean. In statistics, the median and mode are also called averages, or measures of center, which is why this calculator shows all three.

How do I calculate average with decimals?

Exactly as with whole numbers. For 2.5, 3.75 and 4: 10.25 ÷ 3 ≈ 3.416667. Keep full precision until the end and round only the final answer.

Can an average be negative?

Yes, whenever the negative values outweigh the positive ones. For −4, −2 and 3: −3 ÷ 3 = −1.

How do I calculate the average of percentages?

If every percentage is out of the same total, average them like any numbers. If the totals differ, weight them: 50% of 20 questions and 100% of 5 questions is (10 + 5) ÷ 25 = 60%, not 75%. The Percentage Calculator helps with the individual percentages.

What is the difference between mean and median?

The mean uses every value’s size; the median is just the middle of the sorted list. One very large or small value moves the mean but barely moves the median.

What is mode?

The value that appears most often. In 4, 6, 6 and 9, the mode is 6.

What if a dataset has no mode?

When every value appears exactly once, nothing is most frequent, so the calculator reports “No mode” rather than listing every value.

Can there be more than one mode?

Yes. If several values tie for the highest count, they are all modes. In 1, 1, 4, 4 and 7, the modes are 1 and 4.

How do I calculate the range?

Subtract the smallest value from the largest. For 49, 58 and 71, the range is 71 − 49 = 22.

How do I find the average of 5 numbers?

Add the five numbers and divide by 5. For 4, 7, 9, 10 and 15: 45 ÷ 5 = 9.

Can I paste numbers from Excel?

Yes. Copy a column, row or block of cells from Excel or Google Sheets and paste it into the box. Tabs and line breaks are treated as separators. Remove thousands separators first, because commas always split values.

Can I average averages?

Only when every group has the same number of values. Otherwise weight each average by its group size, as shown in Can You Average Averages?

Can I calculate a weighted average?

Not with this calculator, which gives every value equal weight. Multiply each value by its weight, add the results and divide by the total weight. For a test score of 90 weighted 60% and homework of 80 weighted 40%: 90 × 0.6 + 80 × 0.4 = 86. For grades, the GPA & CGPA Calculator handles credit-weighted averages.

Is the Average Calculator free?

Yes. It is free, needs no account and runs in your browser, so the numbers you enter are not sent anywhere.

Calculation Method & Sources

The calculator splits your text on commas, semicolons, spaces, tabs and line breaks. Each entry must be a plain decimal number such as 12, −3.5 or .25, with up to 15 digits before and 15 after the decimal point; up to 10,000 values are accepted. Numbers are stored as exact decimals rather than binary floating-point values, so sums such as 0.1 + 0.2 + 0.3 come out as exactly 0.6.

The mean is the exact sum divided by the count. Values are sorted numerically for the median, minimum, maximum and range, and counted in runs for the mode. A result that does not end within 15 decimal places is rounded half away from zero to 6 places (more for very small values), marked ≈, and its exact fraction is shown. Everything runs in your browser.

Back to the calculator ↑

Exact decimal arithmetic

Values are added as exact decimals, so 0.1 + 0.2 is exactly 0.3. Only a final result that does not end within 15 decimal places is rounded, and it is marked ≈.

Related tools

Quick reference

Mean = sum ÷ count. Median = middle of the sorted values. Mode = most frequent value. Range = maximum − minimum.