# Average Calculator

The average (mean) is the sum of the numbers divided by how many there are: for 2.5, 3, 3, 4.1, 5, 7.4, 9 the sum is 34 and the mean is ≈ 4.857143. The median is the middle number once sorted (4.1), the mode is the most frequent value (3) and the range is the largest minus the smallest (6.5). Paste numbers separated by commas, spaces or new lines; it also gives the standard deviation and a weighted average (90 40; 80 30; 70 30 gives 81).

Canonical page: https://ponderloop.com/tools/average-calculator/
Updated: 2026-10-31

## How to use

How to find the mean, median, mode and range

1. **List the numbers**: Type or paste them, separated by commas, spaces, tabs or new lines. A pasted spreadsheet column works as it is. 2.5, 3, 3, 4.1, 5, 7.4, 9 has 7 numbers.
2. **Find the mean**: Add the numbers and divide by how many there are: 34 ÷ 7 = ≈ 4.857143.
3. **Find the median**: Sort the numbers. With an odd count the median is the middle one; with an even count it is the mean of the two middle ones. For 4, 8, 15, 16, 23, 42 that is (15 + 16) ÷ 2 = 15.5.
4. **Find the mode**: Count how often each value appears. The most frequent value is the mode, and there can be more than one: 1, 2, 2, 3, 3, 4 has the modes 2, 3. If every value is different there is no mode.
5. **Find the range**: Subtract the smallest number from the largest: 9 − 2.5 = 6.5.
6. **Weight the numbers when they count unequally**: Switch the input to “Weighted” and give one value and its weight per line. Multiply each value by its weight, add them and divide by the total weight: 90 40; 80 30; 70 30 gives 81.

## Reference tables and worked examples

### Worked examples: mean, median, mode and range

Each row is the calculator’s own answer for the numbers in the first column.

| Numbers | Count | Mean | Median | Mode | Range |
| --- | --- | --- | --- | --- | --- |
| 2.5, 3, 3, 4.1, 5, 7.4, 9 | 7 | ≈ 4.857143 | 4.1 | 3 | 6.5 |
| 4, 8, 15, 16, 23, 42 | 6 | 18 | 15.5 | No mode | 38 |
| 1, 2, 2, 3, 3, 4 | 6 | 2.5 | 2.5 | 2, 3 | 3 |
| 10, 20, 30, 40, 1000 | 5 | 220 | 30 | No mode | 990 |
| -5, -2, 0, 3, 4 | 5 | 0 | 0 | No mode | 9 |
| 0.1, 0.2 | 2 | 0.15 | 0.15 | No mode | 0.1 |
| 1,234 5,678 9,012 | 3 | 5,308 | 5,678 | No mode | 7,778 |

### Worked examples: weighted average (value and weight)

Weighted average = Σ(value × weight) ÷ Σ(weight). The plain mean ignores the weights, so it differs whenever the weights are unequal.

| Value and weight, one per line | Weighted average | Plain mean (weights ignored) |
| --- | --- | --- |
| 90 40; 80 30; 70 30 | 81 | 80 |
| 85 25; 92 25; 78 50 | 83.25 | 85 |
| 3 1; 4 2; 5 3 | ≈ 4.333333 | 4 |
| 60 10; 100 90 | 96 | 80 |

### Average word problems solved

Each answer is the calculator’s own result for the numbers shown.

| Problem | Numbers entered | Answer |
| --- | --- | --- |
| Average steps per day over a week | 8200, 9100, 7600, 10400, 8900, 6500, 11200 | 61,900 ÷ 7 = ≈ 8,842.857143 |
| Average height of five people (cm) | 162.5, 170.2, 158.9, 175, 168.4 | 167; median 168.4 |
| Average of numbers that include negatives | -5, -2, 0, 3, 4 | 0; median 0 |
| Average of two scores out of different totals (90% of 20, 80% of 50) | 90 20, 80 50 (weighted) | ≈ 82.857143 |
| Final exam needed for an 85 average | 82 60, 89.5 40 (weighted) | 89.5 on the final gives 85 |

### Which average should you use?

Shown for 2.5, 3, 3, 4.1, 5, 7.4, 9.

| Measure | How it is found | Best when | Result |
| --- | --- | --- | --- |
| Mean | Sum ÷ count | The values are fairly even, with no extreme outliers | ≈ 4.857143 |
| Median | Middle of the sorted list | A few extreme values would drag the mean (incomes, house prices) | 4.1 |
| Mode | Most frequent value | The data are categories or repeated whole values (shoe sizes) | 3 |
| Range | Maximum − minimum | You want a quick sense of the spread | 6.5 |
| Standard deviation | Typical distance from the mean | You want a spread that uses every value | ≈ 2.472419 (sample) |

## How it works

Every number you type is read as an exact decimal: its digits as a whole number and the count of digits after the point, so 0.1 is 1 over 10 and never the nearest binary fraction. All the numbers are brought to the same number of decimal places and added as whole numbers, which makes the sum, the mean (sum ÷ count), the median, the range, the minimum and the maximum exact fractions. The median is the middle of the sorted list, or the mean of the two middle values for an even count. The mode is every value that appears the most times, and “no mode” when no value repeats. The population variance is (n × Σx² − (Σx)²) ÷ n², and the sample variance divides the same numerator by n × (n − 1) instead; both are exact, and their square roots, the standard deviations, are the only approximate results, found to 12 decimals with integer arithmetic and then rounded for display. A weighted average is Σ(value × weight) ÷ Σ(weight). Display rule: a result that ends within 12 decimals is shown in full, anything longer is rounded half away from zero to 6 decimals and marked ≈, so you never see float noise and never lose a digit that was there. Reading rule: numbers are separated by spaces, tabs, new lines, semicolons or commas; a comma with no spaces around it between groups of exactly three digits (1,234 or 12,345,678.9) is a thousands separator, and any other comma separates numbers; a decimal comma is not supported. A plus or minus sign, one currency symbol, a trailing percent sign and E-notation (1.5e3) are accepted; anything else is ignored and listed. In a weighted list every line must be a value and a non-negative weight, and other lines are ignored and listed. Everything runs in your browser and nothing you type is sent anywhere.

## FAQ

### What is the average of 85, 90 and 78?

Add them and divide by 3: 85 + 90 + 78 = 253, and 253 ÷ 3 is the mean. Answer: ≈ 84.333333.

### What is the mean of 12, 15, 20, 25 and 28?

The sum is 12 + 15 + 20 + 25 + 28 = 100 and there are 5 numbers. Answer: 100 ÷ 5 = 20; the median is 20.

### What is the weighted average of 85 (25%), 92 (25%) and 78 (50%)?

Multiply each value by its weight and add: 85 × 25 + 92 × 25 + 78 × 50 = 8,325; the weights add up to 100. Answer: 83.25.

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

They are three ways to describe the middle of a set of numbers. The mean adds the numbers and divides by the count. The median is the middle value of the sorted list. The mode is the value that appears most often. For 2.5, 3, 3, 4.1, 5, 7.4, 9 the mean is ≈ 4.857143, the median is 4.1 and the mode is 3.

### How do I calculate the average of a list of numbers?

Add all the numbers and divide the sum by how many numbers there are. For 2.5, 3, 3, 4.1, 5, 7.4, 9 the sum is 34, there are 7 numbers, and 34 ÷ 7 = ≈ 4.857143. The calculator writes this working out under the result.

### How do you find the median of an even number of values?

Sort the numbers and take the mean of the two in the middle. For 4, 8, 15, 16, 23, 42 the middle two are 15 and 16, so the median is (15 + 16) ÷ 2 = 15.5. With an odd count the median is simply the middle number. The sorted list under the result highlights the middle value or values.

### Can a list have more than one mode, or none?

Yes. 1, 2, 2, 3, 3, 4 has two modes, 2, 3, because both appear twice. When every value appears exactly once, as in 4, 8, 15, 16, 23, 42, there is no mode, and the calculator says “No mode” rather than naming a value.

### When is the median better than the mean?

When a few extreme values would pull the mean away from what is typical. For 10, 20, 30, 40, 1000 the mean is 220, which is bigger than four of the five numbers, while the median is 30. That is why incomes and house prices are usually quoted as medians.

### How do I calculate an average per day?

Add the daily amounts and divide by the number of days. Steps of 8200, 9100, 7600, 10400, 8900, 6500 and 11200 over a week add up to 61,900, and 61,900 ÷ 7 days = ≈ 8,842.857143 per day. Count every day in the period, including days with 0, or the average comes out too high.

### How do I work backwards from a target average to the last score needed?

Use the weighted average backwards. With 82 counting for 60% and the final for 40%, a target of 85 needs (85 × 100 − 82 × 60) ÷ 40 = 89.5 on the final. Check it in the weighted mode: 82 60 and 89.5 40 give 85.

### How do I average percentages or scores out of different totals?

Do not average the percentages when the totals differ. 90% of 20 and 80% of 50 is not 85%; weight each percentage by its total instead. In the weighted mode, 90 20 and 80 50 give ≈ 82.857143, the same as adding the points (18 + 40) and dividing by the total (70). The plain mean of 90 and 80 is 85.

### How do I find the average of numbers with decimals, such as heights?

Enter them as they are and add as usual: 162.5, 170.2, 158.9, 175 and 168.4 add up to 835, so the mean is 835 ÷ 5 = 167. Decimals are read exactly, so the sum is not off by float noise.

### Can the average include negative numbers?

Yes; add them with their signs and divide by the count. For -5, -2, 0, 3 and 4 the sum is 0, so the mean is 0. The mean can be negative, zero or positive, and it always lies between the smallest and the largest value.

### Is “average” the same as “mean”?

In everyday use, yes: the average is the arithmetic mean, the sum divided by the count. In statistics “average” can also mean the median or the mode, so say which one you mean. This calculator shows all three: for 2.5, 3, 3, 4.1, 5, 7.4, 9 the mean is ≈ 4.857143, the median 4.1, the mode 3.

### What is the difference between sample and population standard deviation?

Both measure how far the numbers typically sit from the mean. The population version divides the sum of squared distances by the count n, and is right when your list is every value you care about. The sample version divides by n − 1 and is right when the list is a sample from a larger group. For 2.5, 3, 3, 4.1, 5, 7.4, 9 they are ≈ 2.472419 (sample) and ≈ 2.289015 (population). A single number has no sample standard deviation.

### How does the weighted average work?

Each value counts in proportion to its weight. Multiply every value by its weight, add the products, and divide by the total of the weights. A course graded 90 (weight 40), 80 (weight 30) and 70 (weight 30) averages 81, while the plain mean of 90, 80 and 70 is 80. The weights only need to be in proportion, so 40, 30, 30 and 4, 3, 3 give the same answer.

### How are commas treated: 1,234 or 1,2,3?

A comma is a separator, except when it can only be a thousands separator: a run with no spaces made of 1-3 digits followed by groups of exactly three digits after a comma is one number. So 1,234 is the one number one thousand two hundred thirty-four (the minimum of 1,234 5,678 9,012 is 1,234), 1,2,3 is three numbers, and 1, 234 (with a space) is two. A decimal comma such as 3,5 is not supported and is read as 3 and 5; use a point for decimals.

### What happens to text and other things that are not numbers?

They are left out and listed under the input, never silently dropped. For “12, 15, n/a, 18, abc” the calculator averages 12, 15 and 18 (15) and reports that “n/a” and “abc” were ignored. A currency symbol, a plus or minus sign and a trailing percent sign are accepted and dropped, so $5 reads as 5 and 20% as 20.

### Why does the calculator show 0.3 for 0.1 + 0.2?

Most programs add decimals as binary floating-point numbers, where 0.1 + 0.2 is 0.30000000000000004. This calculator reads every number as an exact decimal and adds whole numbers, so the sum of 0.1 and 0.2 is 0.3 and their mean is 0.15. Results are shown in full when they end within 12 decimals and otherwise rounded to 6 decimals with a ≈ in front.

### Is there a limit on how many numbers I can enter?

The calculator reads up to 200,000 numbers, each with up to 30 digits, and says so if more were pasted. Ten thousand numbers are worked out instantly in your browser, and nothing you enter is sent anywhere.

## Sources

- [Arithmetic mean, Wikipedia](https://en.wikipedia.org/wiki/Arithmetic_mean)
- [Median, Wikipedia](https://en.wikipedia.org/wiki/Median)
- [Mode (statistics), Wikipedia](https://en.wikipedia.org/wiki/Mode_(statistics))
- [Standard deviation, Wikipedia](https://en.wikipedia.org/wiki/Standard_deviation)
- [Average, Wikipedia](https://en.wikipedia.org/wiki/Average)
- [Weighted arithmetic mean, Wikipedia](https://en.wikipedia.org/wiki/Weighted_arithmetic_mean)

---

Cite as: Average Calculator, ponderloop, https://ponderloop.com/tools/average-calculator/, updated 2026-10-31
