Two calculators in one
Mean, median, mode — paste or type a list of numbers and you instantly get the mean, median, mode, count, sum, minimum, maximum, range, sample and population standard deviation, plus the geometric and harmonic mean. You can paste a column straight from Excel or Google Sheets; each line becomes one value.
Weighted average — enter each value with its weight. This is what you need for school and university grades with coefficients or credits, a portfolio return weighted by amount invested, or an average price where you bought different quantities.
Everything runs in your browser. The numbers you type are never uploaded.
Which "average" should I use?
| Measure | How it is calculated | Best for |
|---|---|---|
| Mean | sum ÷ count | Values without extreme outliers |
| Median | middle value of the sorted list | Salaries, house prices, anything skewed |
| Mode | most frequent value | Sizes, ratings, categories |
| Weighted mean | Σ(value × weight) ÷ Σweight | Grades with credits, average purchase price |
| Geometric mean | n-th root of the product | Growth rates, returns over several years |
| Harmonic mean | n ÷ Σ(1/value) | Average speeds, price-per-unit ratios |
A quick example of why the choice matters: the incomes 30, 32, 35, 38 and 250 (thousand) have a mean of 77 but a median of 35. The median describes the typical person far better, because one large value pulls the mean up.
Weighted grade example
Suppose your report card has Maths 14 with coefficient 4, History 11 with coefficient 2 and Sport 17 with coefficient 1. The weighted average is (14×4 + 11×2 + 17×1) ÷ (4 + 2 + 1) = 95 ÷ 7 ≈ 13.57. A simple average of the three grades would give 14, which overstates the result because Sport counts far less.
The same formula works with percentages as weights: if homework counts 20%, the midterm 30% and the final exam 50%, enter 20, 30 and 50 as weights. The weights do not need to add up to 100 — the calculator divides by their total.
Standard deviation in plain words
Standard deviation tells you how spread out the numbers are around the mean. A class where everyone scored between 12 and 14 has a small standard deviation; one where scores range from 3 to 20 has a large one. The sample version divides by n − 1 and is the one statistics courses and spreadsheet functions such as STDEV.S use for data that is a sample of a bigger group. The population version (STDEV.P) divides by n.
Limitations
- Geometric and harmonic means are only defined when all values are positive; otherwise they show "—".
- If every value appears only once, there is no mode.
- Results are rounded to four decimal places for display.
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 once the list is sorted. The mode is the value that appears most often. With outliers, the median is usually the more honest 'typical' value.
How do I calculate a weighted average?
Multiply each value by its weight, add those products, and divide by the sum of the weights. Grades 12 (weight 2), 15 (weight 3) and 8 (weight 1) give (24 + 45 + 8) / 6 = 12.83.
Should I use sample or population standard deviation?
Use the sample version (divides by n − 1) when your numbers are a sample of a larger group, which is the usual case. Use the population version (divides by n) when you have every value of the group.
Which separators can I use between numbers?
New lines, spaces, tabs and semicolons always work. On the English page commas also separate numbers; in languages that use a decimal comma, a comma is read as the decimal point.
Last updated: