Average calculator
Paste or type a list of numbers to get the average straight away, together with the median, mode, range and standard deviation.
What you type stays in your browser
(3 + 7 + 7 + 2 + 9 + 4 + 10 + 6) ÷ 8 = 6
- Median
- 6.5
- Mode
- 7 (2 times)
- Range
- 8
- Sum
- 48
- Count
- 8
- Minimum
- 2
- Maximum
- 10
- Standard deviation (sample)
- 2.828427
- Standard deviation (population)
- 2.645751
Sorted: 2, 3, 4, 6, 7, 7, 9, 10
Median = average of numbers 4 and 5 in sorted order = 6.5
In short
The average (arithmetic mean) is the sum of the numbers divided by their count. For 3, 7, 7, 2, 9, 4, 10 and 6 the sum is 48 and the count is 8, so the average is 48 ÷ 8 = 6. The median is 6.5 and the mode is 7.
How to calculate an average
- Type or paste your numbers into the Numbers box, separated by commas, spaces or new lines. A column copied from a spreadsheet works as it is.
- Read the Mean (average) in the result panel; the working line shows the sum divided by the count.
- Check Median, Mode, Range, Sum, Count, Minimum, Maximum and both standard deviations in the grid below, and the sorted list used for the median.
- For grades or prices that count differently, switch Average type to Weighted average and enter one weight per number in the Weights box.
Why the mean, median and mode can disagree
The mean uses every value, so one very large or very small number pulls it towards itself. The median is the middle of the sorted list and ignores how far the extremes are, and the mode is simply the most common value. For 2, 3, 3, 4 and 50 the mean is 12.4, but the median and the mode are both 3, which describes the typical value far better.
That is why house prices and incomes are usually reported as medians, while test scores and temperatures are averaged. When the mean and the median are far apart, the data is skewed or has outliers, and it is worth looking at the sorted list before choosing which figure to quote.
Frequently asked questions
How do I calculate the average of a list of numbers?
Add all the numbers and divide by how many there are. For 12, 15, 18 and 23 the sum is 68 and the count is 4, so the average is 68 ÷ 4 = 17. Paste the list into the calculator and it shows the same working.
How is the median calculated?
Sort the numbers and take the middle one. With an odd count such as 2, 5, 9 the median is 5; with an even count, it is the average of the two middle values, so for 2, 3, 4, 6, 7, 7, 9, 10 it is (6 + 7) ÷ 2 = 6.5.
What if there is more than one mode or no mode at all?
A list can have several modes: 1, 1, 2, 2, 3 has two, 1 and 2, because both appear twice. If no number appears more than once, as in 4, 8, 15, there is no mode, and the calculator says so instead of picking a value.
How do I calculate a weighted average?
Multiply each number by its weight, add the products and divide by the sum of the weights. Grades of 90 worth 3 credits and 80 worth 1 credit give (90 × 3 + 80 × 1) ÷ 4 = 87.5, while the plain average would be 85. Choose Weighted average and type the weights in the same order.
What is the difference between sample and population standard deviation?
Population standard deviation divides the squared differences from the mean by n, and is right when your list is the whole group. Sample standard deviation divides by n − 1 and is used when the list is a sample from something larger. For 3, 7, 7, 2, 9, 4, 10, 6 they are 2.646 and 2.828.
Can I paste numbers with decimal commas?
Yes, on pages in languages that write decimals with a comma, such as German or French; separate the numbers with spaces, semicolons or new lines there. On this English page the comma separates numbers, so 2.5 needs a point. Anything that is not a number is listed as ignored rather than silently changed.
Is the average the same as the mean?
In everyday use, yes: average means the arithmetic mean. Strictly, the median and the mode are averages too, and so are the geometric and harmonic means used for growth rates and speeds, which is why this tool shows the median and the mode next to the mean.
Are my numbers stored or sent anywhere?
No. Everything is calculated in your browser as you type; nothing is sent to a server or kept after you close the page.
Formulas used by the calculator
Each figure has a short definition, so you can check any of them by hand or in a spreadsheet.
- Mean: sum of the values ÷ count, in a spreadsheet =AVERAGE(range).
- Median: the middle value of the sorted list, or the mean of the two middle values, =MEDIAN(range).
- Mode: the value that occurs most often; there can be several or none.
- Range: maximum − minimum.
- Population standard deviation: √(Σ(x − mean)² ÷ n), =STDEV.P(range).
- Sample standard deviation: √(Σ(x − mean)² ÷ (n − 1)), =STDEV.S(range).
- Weighted average: Σ(value × weight) ÷ Σweight.
Worked example
Take 3, 7, 7, 2, 9, 4, 10 and 6. The sum is 48 and the count is 8, so the mean is 6. Sorted, the list is 2, 3, 4, 6, 7, 7, 9, 10: the two middle values are 6 and 7, so the median is 6.5. The value 7 appears twice, so it is the mode, and the range is 10 − 2 = 8.
The differences from the mean are −3, 1, 1, −4, 3, −2, 4 and 0, and their squares add up to 56. Dividing by 8 gives a population variance of 7 and a standard deviation of about 2.646; dividing by 7 gives a sample variance of 8 and a standard deviation of about 2.828.
Related calculators
For school grades with credit hours, the GPA calculator applies the grade-point scale for you. To turn an average into a percentage of a maximum score, use the percentage calculator, and for exact sums of fractions, the fraction calculator.
How your files stay private
This tool runs with JavaScript inside your browser tab. What you type, the settings you choose and the results stay in the page's memory and disappear when you close it. Nothing is sent to a server; a few display settings may be remembered in your own browser.
Presets
Related tools
- GPA calculator Semester GPA from letter grades and credits on the 4.0 scale, with cumulative and weighted GPA.
- Percentage calculator Percent of a number, percent of a total, the whole from a part, and percentage change in one place.
- Scientific calculator Online scientific calculator with trig, logs, powers, roots, factorials, DEG/RAD, Ans and history.
- Fraction calculator Add, subtract, multiply and divide fractions and mixed numbers, simplified, with every step shown.
- Age calculator Exact age in years, months and days, total days and weeks, next birthday and the weekday you were born.
- Days between dates Days, weeks, years and months, business days and hours between any two dates.
Last updated Nov 20, 2026