Everyday · numbers and data

Average calculator

People use the word average for several different figures. This tool shows the mean, median and mode side by side, adds range and standard deviation for context, and lets you weight values when some matter more than others. Paste numbers separated by spaces, commas or lines and the results update immediately.

Mean: Sum divided by countMedian: Middle sorted valueMode: Most frequent value

Paste a list, choose a method

Commas, spaces, tabs and newlines all work. Weighted mode needs a weight for each value.

Live calculation

Negative numbers and decimals are accepted.

One weight per value, in the same order.

The headline figure follows this choice.

0

Your results

16.2Mean (average) · median 15from 5 values
Mean
16.2
Mode
15
Weighted mean
—
Sum
81
Range
9
Standard deviation
3.031
Lower quartile
15
Upper quartile
18

Adding 0 as an extra value gives a mean of 16.2 across 5 values.

Average calculation result.

Calculation steps and spread
ItemValue
Frequency of each value
ValueTimes seen

Your sorted values

The chart shows up to twelve sorted values so an outlier is easy to spot.

How each type of average works

The mean is what most people mean by average: add the numbers and divide by the count. Five readings of 12, 15, 18, 15 and 21 sum to 81, so the mean is 16.2. It uses every value, which makes it useful for totals but sensitive to an extreme figure.

The median ignores the size of extremes and looks only at position. Sort the values to 12, 15, 15, 18 and 21; the middle entry is 15. With an even count, the median is halfway between the two middle entries. The mode is the most common value, 15 here, appearing twice. A list with no repeats has no mode, while a tie gives several modes.

A weighted mean is appropriate when items carry different importance. Multiply each value by its weight, add the products and divide by the sum of the weights. A weight of two counts twice as much as a weight of one. Weights do not have to total one, and they do not have to be percentages; only their relative sizes matter.

The what-if slider appends one extra value to your list and recalculates the simple mean. It is a quick way to see how a single reading pulls a result up or down. It never changes your original list, so you can experiment freely and then reset the slider to zero.

Worked example: five readings with a weight

Enter 12, 15, 18, 15 and 21. The sum is 81 and the mean is 16.2. Sorted, the list is 12, 15, 15, 18, 21, so the median and mode are both 15. The range is 21 minus 12, or 9, and the population standard deviation is about 3.031.

Now add weights of 1, 2, 1, 3 and 2 in the same order. The weighted sum is 12 + 30 + 18 + 45 + 42 = 147, and the weights total 9, giving a weighted mean of about 16.333. Notice that the repeated 15 at weight 3 pulls the answer towards 15 more strongly than the simple mean does.

Example list summarised four ways
MeasureFigure
Mean16.2
Median15
Mode15
Weighted mean16.333
Range9

The weighted result uses one weight per value. If any weight is missing, the calculator asks for a consistent list instead of guessing.

Spread, quartiles and standard deviation

An average alone can hide a lot. Two sets of numbers can share a mean while one is tightly grouped and the other is scattered. Range is the simplest spread figure: largest minus smallest. Quartiles divide the sorted list into quarters; the lower quartile sits at 25% of the way through and the upper at 75%.

Spread figures shown on this page
ItemHow it is found
RangeMaximum minus minimum
Standard deviationPopulation form, square root of mean squared deviation
Lower quartileInterpolated at 25% of the sorted list
Upper quartileInterpolated at 75% of the sorted list
Chart limitFirst twelve sorted values

Using averages sensibly — and common traps

State which average you used. In a report, mean, median and mode answer different questions, and switching silently between them changes the story. Check the count as well as the headline figure: a mean based on three values is less steady than one based on thirty. Keep your source list so someone else can reproduce the calculation.

Common mistakes include pasting a thousands separator such as 1,200 and accidentally creating two values, using weights in a different order from the values, and assuming that a standard deviation from a sample is the same as the population figure shown here. Extreme readings are not automatically wrong: investigate them before removing them, and say so if you do.

How one value changes the mean

Start with the five example readings whose sum is 81 and mean is 16.2. Adding one more value changes both the sum and the count.

Effect of adding a sixth value
Added valueNew sumNew mean
08113.5
159616.0
2110217.0
10018130.17

The last row shows why a single outlier can double a mean. For a wider view of numerical tools, the everyday calculators hub gathers similar pages.

Frequently asked questions

What is the difference between mean, median and mode?
The mean adds all values and divides by how many there are. The median is the middle value after sorting. The mode is the value that appears most often. They can differ sharply in a skewed list.
How do I calculate a weighted average?
Multiply each value by its weight, add those products and divide by the total weight. Weights describe relative importance and do not need to add to one.
When is the median better than the mean?
If a list has a very large or very small outlier, the median is less affected. House prices and similar skewed data are often summarised with a median for that reason.
Can a list have more than one mode?
Yes. If two or more values share the highest frequency, all of them are modes. If every value appears once, this calculator reports no mode rather than inventing one.
What does standard deviation tell me?
It measures how spread out the values are around the mean. A low figure means values cluster tightly; a high figure means they vary widely. This tool uses the population form.
How should I paste numbers into the box?
Use spaces, commas, tabs or newlines; all are accepted. Negative numbers and decimals work too. Text that is not a number is ignored.
Why does my weighted average show an error?
You need one weight for every value and the weights must not total zero. Negative weights are allowed by the arithmetic, but check that they make sense for your data.
Does this calculator remove outliers automatically?
No. It shows them through the range and standard deviation, but it never deletes a value. Decide for yourself whether an extreme reading belongs in your analysis.

Sources, review date and disclaimer

Last reviewed: 27/11/2026. Rates verified: not applicable — this page performs arithmetic on user-entered numbers and uses no official financial rate.

DisclaimerThis content is for information only and is not financial, tax, legal or medical advice. Statistical summaries depend on the quality of the input data; check your source before relying on a result.