Math Tools
Average Calculator: Mean, Median and Mode
Paste a list of numbers to get the mean, median, mode, range and standard deviation, plus geometric and harmonic means, or switch to a weighted average.
How to use Average Calculator: Mean, Median and Mode
Paste numbers separated by spaces, commas or new lines and choose a simple or weighted average. Tick the thousands option if numbers contain commas, such as 1,234, and set the decimal places.
- Paste your numbersSeparate values with spaces, commas or new lines; text between the numbers is ignored.
- Choose the typeSimple average for a list, or weighted with value, weight on each line, such as 85, 30.
- Set the formatTick thousands commas if needed and choose 0 to 8 decimal places for the results.
Mean vs median: worked example
The mean adds the numbers and divides by how many there are: 12, 15, 15, 18, 22 and 30 sum to 112, so the mean is 112 ÷ 6 = 18.6667. The median is the middle value once sorted; with an even count it is the average of the two middle values, 15 and 18, giving 16.5. The mode is 15, which appears twice. Outliers pull the mean but not the median: for 10, 11, 12, 13 and 95 the mean is 28.2 while the median is 12. The range and the sample and population standard deviations show how spread out the numbers are.
Weighted averages and number parsing
A weighted average multiplies each value by its weight and divides by the total weight. Module marks of 72, 65 and 80 worth 40%, 35% and 25% give (72 × 40 + 65 × 35 + 80 × 25) ÷ 100 = 71.55, while the unweighted mean is 72.3333. Weights can be credits, percentages or quantities. Numbers are picked out anywhere in the text, so a comma inside a number splits it: 1,200 is read as 1 and 200 unless you tick Numbers use thousands commas. Geometric and harmonic means appear only when every number is above 0.
Accuracy and data handling
Confirm input units and the data range; displayed results may be rounded to the precision shown. The calculation runs in your current browser; the tool code does not send the input to a processing API.
FAQ
Should I use sample or population standard deviation?
Use population standard deviation when your numbers are the whole group, such as every pupil in a class. Use sample standard deviation, which divides by n − 1, when they are a sample from a larger group.
What does Mode: None mean?
No number appears more than once, so there is no mode. If several values tie for the most repeats, all of them are listed with the count, such as 2, 3 (×2).
When should I use the geometric mean?
For growth rates and ratios that multiply, such as average yearly returns or price indices. It is never above the ordinary mean: 17.825 against 18.6667 for the default list.
More Math Tools
Related toolsMedian, quartiles, IQR and outliers for any list of numbers, with workings
Five everyday percentage calculations, each with the working shown.
Exact odds for dice totals, with modifiers and a full probability table.
Percentage increase or decrease, applying a change, or the original value.
Simplify a ratio, find missing values or split a total by ratio.