Add, then divide by the count
Mean = sum ÷ count
For 10, 20, 20, 40, the sum is 90 and the count is 4. The mean is 90 ÷ 4 = 22.5.
Each entry has equal weight. A repeated number is a separate entry and is included each time it appears.
Everyday math
Find the mean, median, and range of a list, with a summary of all your numbers.
Average (arithmetic mean)
Enter your numbers, then select Calculate.
Sorted from lowest to highest before rounding. This preview uses the selected display precision and shows at most 20 values; every value is included in the calculations.
Your numbers are processed in your browser. Press Enter in the input box to add a new line.
How it works
Mean = sum ÷ count
For 10, 20, 20, 40, the sum is 90 and the count is 4. The mean is 90 ÷ 4 = 22.5.
Each entry has equal weight. A repeated number is a separate entry and is included each time it appears.
Even count: mean of the two middle values
The middle values in 10, 20, 20, 40 are 20 and 20. Their mean, and therefore the median, is 20.
With an odd number of entries, use the single middle value. For 10, 20, 40, the median is also 20.
Range = maximum − minimum
For 10, 20, 20, 40, the minimum is 10 and the maximum is 40. The range is 40 − 10 = 30.
Range describes the distance between the extremes. It is zero for a single value or a list in which all values are equal.
Suppose you sold 10 items on Monday, none on Tuesday, and 20 on Wednesday. Select One number per line and enter 10, 0, and 20 on separate lines. Zero is a recorded value and counts as one day.
30 items ÷ 3 days = 10 items per day
The result shows Count 3, Sum 30.00, and a mean of 10.00 at the default two decimal places.
Enter 10 on the first line, leave the second line blank, and enter 20 on the third. In line mode, the blank line is ignored: it contributes neither a value nor an entry to the count.
30 items ÷ 2 recorded days = 15 items per day
The result shows Count 2, Sum 30.00, and a mean of 15.00. This describes only the two recorded days. The average for all three days cannot be determined until Tuesday's sales are known.
Before using the result, compare Count with the number of records you intended to include. Use 0 when the measured value was actually zero; leave an unknown value out and state which records are missing.
This blank-line example uses One number per line. In Comma-separated values mode, 10,,20 is rejected because an entry is missing. Do not type words such as “blank” or “unknown” in either mode.
Consider 10, 20, 20, 150. The mean is 50, while the median is 20. The large value affects the mean more strongly. The median can help describe the center when extreme values pull the mean away from most entries. Neither measure explains the whole distribution, so check the original values too.
For definitions and further discussion, see the NIST guide to measures of location.
Yes. Select “One number per line” and paste a single column of numeric values. Blank lines are ignored, and valid thousands grouping is accepted, such as 1,234.56. Remove column headings, currency symbols, and units first. A line containing multiple columns or an invalid value produces an error rather than being skipped.
In line mode, a comma can group thousands: 1,000 on one line is one value equal to one thousand. In comma-separated mode, every comma separates entries, so 1,000 is two values: 1 and 0. To enter one thousand in comma-separated mode, type 1000. Empty entries such as 10,,20 or a trailing comma are rejected.
No. Every entry has the same weight. A weighted average requires separate weights and a different formula. Do not average rates, percentages, or group averages without checking whether their underlying weights are equal.
Enter up to 1,000 numbers and 64,000 characters in total. Each number may have up to 15 digits before the decimal point and 10 digits after it, with an optional keyboard plus or minus sign. Use a period for decimals, including a leading zero for values such as 0.5. Fractions, scientific notation, NaN, and Infinity are not accepted.
Repeated values are included each time they appear. Calculations use the original decimal values, with 60 significant digits internally. Only the displayed statistics are rounded to the selected decimal places; halfway values round away from zero. The ≈ sign identifies a display value changed by rounding. Changing display precision does not recalculate from previously rounded results.