Average calculator
Type or paste a list of numbers and instantly get the arithmetic mean along with the median, the mode and other basic statistics. You can also calculate a weighted average.
- Free
- No sign-up
- In your browser
One per line or separated by commas, spaces or semicolons. Use a dot for decimals.
Mean (average)
Enter at least one number to see the result.
How to use this tool
- Type or paste the numbers into the box, one per line or separated by commas, spaces or semicolons.
- Use a dot for decimals (7.5). Because commas separate values here, don't use them as thousands separators in the list (write 1250, not 1,250).
- Check the mean and the other figures: count, sum, median, mode, minimum, maximum and range.
- For a weighted average, choose “Weighted average” and enter each value with its weight. Add or remove rows as needed.
How the average (arithmetic mean) is calculated
The arithmetic mean is the sum of all the values divided by how many values there are. For 4, 8, 15, 16, 23 and 42, the sum is 108 and there are 6 numbers, so the mean is 108 / 6 = 18.
In everyday language, “average” and “mean” are used interchangeably. But there are other measures of the central value, such as the median and the mode, which can be more useful depending on the data.
Mean, median and mode: when to use each
The median is the value in the middle when you sort the data from smallest to largest. With an even number of values, it's the mean of the two middle ones. The mode is the value that appears most often; there can be several modes or none.
The mean is strongly affected by extreme values and the median isn't. Picture five monthly salaries: 1,500, 1,600, 1,700, 1,800 and 9,000. The mean is 3,120, a figure that looks nothing like what almost anyone in the group earns; the median, 1,700, describes the typical salary much better.
- Mean: useful when the values are similar and there are no outliers (grades, daily temperatures, times).
- Median: better when some values are far from the rest (salaries, home prices, waiting times).
- Mode: useful for knowing which value is most frequent (sizes, repeated scores, survey answers).
What a weighted average is
In a weighted average, each value counts according to its weight. Multiply each value by its weight, add up the results and divide by the sum of the weights: Σ(value × weight) / Σ(weights).
It's the usual way to work out a final grade when assignments and exams don't count equally, or an average price when you buy different quantities at different prices. Weights can be percentages, credits, units or any positive number; they don't need to add up to 100.
Examples
Mean of 4, 8, 15, 16, 23 and 42
Mean: 18. Sum: 108. Median: 15.5 (the mean of 15 and 16). There's no mode, because no value repeats. Range: 38.
Repeated values: 3, 5, 5, 7, 9, 5, 3
The mode is 5, which appears three times. The median is also 5 and the mean is 37 / 7 ≈ 5.2857.
Salaries with an outlier
With 1500, 1600, 1700, 1800 and 9000, the mean is 3,120 and the median 1,700. The 9,000 pulls the mean up but doesn't move the median.
Final grade: homework 85 (30%), exam 92 (50%), project 78 (20%)
In “Weighted average”, enter 85 with weight 30, 92 with weight 50 and 78 with weight 20. Result: (85 × 30 + 92 × 50 + 78 × 20) / 100 = 87.1.
Frequently asked questions
How should I separate the numbers?
Use line breaks, commas, spaces, tabs or semicolons. Decimals use a dot, so “7.5” is seven and a half. Since commas separate values, “1,250” is read as two numbers, 1 and 250: write large numbers without thousands separators.
Can I paste a column from a spreadsheet?
Yes. When you copy a column from Excel, Google Sheets or LibreOffice, each value ends up on its own line, which is one of the separators the calculator accepts.
What if no number repeats?
Then there's no mode, and the calculator says so. If several values tie as the most frequent, all of them are shown.
What if I type something that isn't a number?
The calculator leaves that item out of the calculation and shows you which one it couldn't read so you can fix it. The result is calculated with the remaining valid values.
Is my data sent to a server?
No. All calculations happen in your browser and the numbers you type or paste aren't sent to any server.
Related tools
This page is also available in: Español, Português, Français
