Average Calculator
Summarize a list with mean, median and spread, or switch to Weighted Average when observations have different quantities or importance. Keep one value per observation and check the count before interpreting the summary.
Calculate averages and statistics
Mean, median and mode
- Mean = sum of values ÷ number of values.
- Median = middle value when sorted (average the two middle values for an even count).
- Mode = the value that appears most often.
- One very large or small value pulls the mean but barely moves the median.
How to use the Average Calculator
- Enter numbers separated by commas, spaces, semicolons or line breaks. You can also paste a column or row of values from a spreadsheet.
- The calculator checks the entries and sorts the data from smallest to largest.
- For the arithmetic mean, it adds all values and divides the sum by the number of values: Average = Sum ÷ Count.
- The calculation steps show the actual values used, their sum, count and final division.
- The median is the middle sorted value when the count is odd. When the count is even, the two middle values are averaged.
- The mode is the value that occurs most often. A data set can have no mode, one mode or several modes.
- Minimum, maximum and range provide a quick view of the spread of the data.
- Population and sample variance and standard deviation are shown as additional statistics for users who need them.
- Switch to Weighted Average when different values have different weights, credits, quantities or importance.
Match values to their weights
A comma separates observations, so enter 1000 without a thousands comma. Weights must be nonnegative with a positive total; weights need not total 100. Sample variance and SD require at least two observations. Numerical summaries do not establish whether a sample is representative.
Examples
Average of 2, 7, 19, 24 and 25
Add the values to get 77. There are 5 values, so the arithmetic mean is 77 ÷ 5 = 15.4.
Average of 10, 20 and 30
10 + 20 + 30 = 60. Divide 60 by the count of 3 to get an average of 20.
Median with an odd number of values
For 2, 4, 8, 10 and 12, the sorted list has five values. The middle value is 8, so the median is 8.
Median with an even number of values
For 2, 4, 8 and 10, the two middle values are 4 and 8. Their average is 6, so the median is 6.
One mode
For 2, 4, 4, 7 and 9, the value 4 occurs more often than any other value, so the mode is 4.
Multiple modes
For 2, 2, 5, 5 and 8, both 2 and 5 occur twice. The data set is bimodal and has two modes: 2 and 5.
No mode
For 1, 3, 5 and 7, every value occurs once. No value occurs more frequently than the others, so the data set has no mode.
Weighted average
For values 80, 90 and 70 with weights 20, 30 and 50, the weighted sum is 7,800 and the total weight is 100. The weighted average is 78 (80 × 0.20 + 90 × 0.30 + 70 × 0.50).
Check the result in context
Zero weight: values −10, 0 and 20 with weights 1, 0 and 3 give (−10 + 0 + 60)/4 = 12.5. The zero-weight value contributes nothing, but the positive total weight keeps the mean defined.
How an outlier changes the average: salaries 40, 45, 50, 55 and 500 ($k)
| Measure | Result |
|---|---|
| Mean (average) | $138k |
| Median (middle value) | $50k |
| Mean without the outlier | $47.5k |
Frequently asked questions
What is the median?
The median is the middle value after the numbers are sorted. With an even number of values, average the two middle values.
When is the median more useful than the mean?
The median can be more representative when a data set contains unusually high or low values because those extremes can pull the arithmetic mean away from the typical values.
Can I use negative numbers and decimals?
Yes. The calculator accepts whole numbers, decimal values and negative numbers.
Can I paste numbers from a spreadsheet?
Yes. Numbers separated by commas, spaces, semicolons or line breaks can be pasted into the calculator.
What is a weighted average?
A weighted average gives some values more influence than others. Multiply each value by its weight, add the weighted values and divide by the total weight.
What is the difference between population and sample standard deviation?
Population standard deviation describes the complete population being studied. Sample standard deviation uses a sample to estimate variability in a larger population and uses n − 1 in the variance calculation.
Can an average be misleading?
Yes. A very high or low outlier can change the arithmetic mean substantially. Checking the median, minimum, maximum and range can provide useful context.
Can I average two class averages directly?
Only if the classes have equal sizes. A mean of 80 for 10 students and 90 for 30 students gives (80×10 + 90×30)/40 = 87.5, not 85.
More math tools
Percentage Calculator
Calculate percentages, increases and decreases.
Open tool →Ratio Calculator
Simplify ratios and find equivalent ratios.
Open tool →Random Number Generator
Generate a random number within a custom range.
Open tool →Volume Calculator
Calculate volume for cubes, rectangular prisms, cylinders, cones, spheres, pyramids and triangular prisms.
Open tool →Area Calculator
Calculate area for rectangles, squares, triangles, circles, trapezoids, parallelograms, ellipses and sectors.
Open tool →LCM Calculator
Find the least common multiple of two or more positive integers.
Open tool →