Paste a list of numbers to get the mean, median, mode, range, sum and geometric mean at once, with the working shown.
Private by design. Everything runs in your browser and is never uploaded.
An average calculator finds the central value of a list of numbers. The mean adds every value and divides by the count, the median is the middle value once the list is sorted, and the mode is the value that appears most often. For 10, 2, 38, 23, 38, 23 and 21 the mean is about 22.14.
Most people who say average mean the arithmetic mean, but the median and the mode are averages too, and each one answers a slightly different question. This calculator shows all of them at once, plus the range, the sum, the count, the smallest and largest value and the geometric mean, so you can see which one fits your data. Results update as you type, and the working is written out underneath.
| Data set | Mean | Median | Mode | Range |
|---|---|---|---|---|
| 3, 5, 7 | 5 | 5 | none | 4 |
| 2, 4, 4, 9 | 4.75 | 4 | 4 | 7 |
| 1, 1, 2, 3, 3 | 2 | 2 | 1 and 3 | 2 |
| 10, 2, 38, 23, 38, 23, 21 | 22.14 | 23 | 38 and 23 | 36 |
| 30, 32, 35, 38, 250 (salaries in thousands) | 77 | 35 | none | 220 |
Four steps, and the first screen already shows an answer for the sample data.
Type or paste values separated by commas, spaces, tabs or new lines. A column copied from a spreadsheet works as it is. Use a dot for decimals.
The mean is shown large, with the median, every mode and its count, the range, sum, count, smallest, largest and geometric mean below it.
Open Show the working for each step: the sum and division, the sorted list and middle position, the frequency count and the range subtraction.
Copy all results as text, download them as a .txt file, or copy a link that reopens the calculator with your numbers already filled in.
Each formula applied to the data set 10, 2, 38, 23, 38, 23, 21 (n = 7). Sorted, it reads 2, 10, 21, 23, 23, 38, 38.
| Measure | Formula | Worked example | Result |
|---|---|---|---|
| Mean | Sum of values ÷ count | 155 ÷ 7 | 22.142857142857 |
| Median (odd count) | Middle value of the sorted list, position (n + 1) ÷ 2 | Position 4 of 7 | 23 |
| Median (even count) | Average of the two middle values | For 2, 4, 6, 10: (4 + 6) ÷ 2 | 5 |
| Mode | Value or values with the highest count | 23 and 38 each appear twice | 23 and 38 |
| Range | Largest value – smallest value | 38 – 2 | 36 |
| Geometric mean | nth root of the product of n values (all above 0) | 7th root of 10 × 2 × 38 × 23 × 38 × 23 × 21 | 16.412764443111 |
| Weighted average | Sum of (value × weight) ÷ sum of weights | Grades 90, 75, 82 with weights 20, 30, 50: 8150 ÷ 100 | 81.5 |
When the data is roughly symmetric the three are close together. When it is skewed or has outliers, they split apart, and the choice matters.
| Average | What it tells you | Works best for | Weak spot |
|---|---|---|---|
| Mean | The fair share if the total were split evenly | Test scores, measurements, data without extreme values | Pulled toward outliers and long tails |
| Median | The middle value: half are below, half above | Incomes, house prices, response times, skewed data | Ignores how far the other values are from the middle |
| Mode | The most common value | Shoe sizes, survey answers, repeated whole numbers | Can be missing or have several values |
| Geometric mean | The typical rate when values multiply together | Growth rates, returns, ratios | Needs every value above 0 |
| Weighted average | A mean where some values count more | Course grades, GPA, prices bought in different amounts | Only as good as the weights you choose |
| Range | How spread out the values are | A quick check of spread | Set by just two values, so one outlier changes it |
Find the class mean, the median score and the most common mark, and check a hand calculation against the steps shown.
Enter each grade with its share of the course, such as 20% homework and 50% final exam, to get the weighted average.
Average a month of grocery bills or compare typical prices. To total and group your costs first, the expense calculator keeps a running list.
These sets usually have a few very high values, so compare the mean with the median before you call either one typical.
Yearly growth factors of 1.10, 1.20 and 0.90 have a geometric mean of 1.0591, about 5.91% growth a year. The ordinary mean would overstate it.
Average repeated measurements or points per game, then round to a sensible precision with the significant figures calculator.
A few details explain most surprises. To keep a data set for later, paste it into the online notepad, and browse the other free online calculators for related sums.
In 30, 32, 35, 38 and 250 the mean is 77 but the median is 35. The calculator flags a large gap between the two.
With an even number of values the median is the average of the two middle values, so it may not appear in your list.
Every tied value is listed with its count. If all values appear equally often, there is no mode.
For positive numbers it is always less than or equal to the arithmetic mean, and equal only when all values are the same.
A weighted average with every weight the same returns the ordinary mean, so weights only matter when they differ.
Results are calculated at full precision and rounded only for display, to 2, 4 or 12 decimals, so the rounding choice does not change the math.
It does not compute standard deviation, variance, quartiles or confidence intervals. The range is the only measure of spread shown.
A number written as 1,5 is read as 1 and 5, and 1,000 as 1 and 0. Use a dot for decimals and leave out thousands separators. If your list has other text mixed in, the paragraph to single line converter can tidy it first.
The calculator reads the first 200,000 characters you enter. The working and the frequency table list the first 60 entries, while the results use every number read. Values are rounded to at most 12 decimals.
The formulas and definitions on this page follow these references, last checked on November 9, 2026. Times and durations need converting to one unit before averaging; the time calculator helps add them up.
Short answers to what people ask most.
An average calculator takes a list of numbers and returns its central value. This one shows the mean, median, mode, range, sum, count, smallest and largest value and the geometric mean together, and it can also work out a weighted average.
Add all the numbers, then divide the total by how many numbers there are. For 10, 2, 38, 23, 38, 23 and 21 the sum is 155 and the count is 7, so the average is 155 divided by 7, about 22.14.
The mean is the sum divided by the count. The median is the middle value once the list is sorted, and the mode is the value that appears most often. All three describe a typical value, but they react differently to extreme values.
Sort the values and take the two in the middle, then average them. For 2, 4, 6 and 10 the middle values are 4 and 6, so the median is 5.
Then the data set has more than one mode, and this calculator lists all of them with the count. In 10, 2, 38, 23, 38, 23, 21 both 38 and 23 appear twice, so both are modes.
Yes. If every value appears only once, or every value appears the same number of times, no value is more common than the others, and the calculator reports no mode.
Multiply each value by its weight, add the products, and divide by the sum of the weights. Choose Weighted average and type one value and one weight per line, for example a grade and its share of the course.
The geometric mean is the nth root of the product of n values. It suits growth rates and ratios, such as average yearly growth, and it is only defined here when every value is above 0.
A few values far above or below the rest pull the mean toward them, while the median stays in the middle. Incomes and house prices often look like this, so the median can describe a typical value better.
Separate the numbers with commas, spaces, tabs or new lines, or paste a column from a spreadsheet. Use a dot for decimals, because a comma is read as a separator, and anything that is not a number is skipped and listed.
No. The calculation runs in your browser and nothing is sent to a server. A share link carries the numbers inside the link itself, so only people you send it to can see them.