Average Calculator
Find the mean, median, count, sum and range of a list of numbers.
Use the sample values or enter your own.
Quick navigation
- How the calculation works
- Make each entry an observation in the same unit
- Find the figure that answers the question
- Check the output before using it in a report
- Decide how to handle negatives and changes
- Combine groups using the underlying data or totals
- Check changes in sample composition
- Frequently asked questions
The mean divides the sum by the number of values. To find the median, sort the list and take the middle value, or average the two middle values for an even-length list.
Worked example
For 4, 8, 8 and 20, the mean is 10 and the median is 8. The range is 20 − 4 = 16.
Make each entry an observation in the same unit
The text box accepts 1 to 1,000 numbers. Separate them with commas, spaces or new lines. Write a decimal with a period and omit currency signs, units and thousands separators. To paste prices such as 1,250.50 into a list where commas mark separate entries, first remove the grouping commas so the value reads 1250.50. A header such as “Minutes” also needs to be removed. If values came from different sources, convert them to the same time, price or length unit before entering them together.
Keep duplicate observations when they represent separate events. If two repairs each took eight minutes, enter eight twice. Removing one changes the count and the sum, and can change the median. A blank row can represent missing data. Enter zero only when zero really was observed. This difference is important for recorded sales days and for counts where some days have no events. Record which days are missing if they affect what the average is meant to represent.
Find the figure that answers the question
For workshop times of 12, 15, 15, 17 and 51 minutes, the total is 110 and the mean is 22. The ordered list has 15 in the middle, so the median is 15. The highest value is 51 and the lowest is 12, giving a range of 39. The mean times count gives the accumulated work. The median describes the middle recorded job. The range is spread between endpoints. Look at those values together when a long job or a strong sales day could make the mean hard to interpret by itself.
If the number of values is even, the median uses the two numbers in the middle after sorting. With 8, 2, 6 and 10, the order is 2, 6, 8, 10. Averaging 6 and 8 gives a median of 7. None of the original entries needs to equal the median. For a one-item list, both the mean and median are that item, the range is zero and the sum is the same amount. Decide whether a single observation is sufficient evidence for your question before generalizing.
Check the output before using it in a report
| Input values | Count | Sum | Mean | Median | Range |
|---|---|---|---|---|---|
| 8, 2, 6, 10 | 4 | 26 | 6.5 | 7 | 8 |
| 12, 15, 15, 17, 51 | 5 | 110 | 22 | 15 | 39 |
| −4, −1, 0, 3, 7 | 5 | 5 | 1 | 0 | 11 |
| 2.5, 2.5, 2.5 | 3 | 7.5 | 2.5 | 2.5 | 0 |
The count can reveal a paste mistake before you look at the arithmetic. If a column of 25 records produces 50 inputs because every number was separated into thousands and units, the summary will be meaningless. A quick independent check is to compare the smallest and largest entries. The mean and median always fall between them for ordinary numerical inputs. A zero range means all entries have the same value, which is expected in the last row above. A large range might reflect a genuine outlier, a unit mix-up or a typo. Check the original records before deciding which.
Decide how to handle negatives and changes
A list of daily gains and losses can contain both negative and positive values. Suppose it is −20, 30, 0 and −10. The net change is zero and the mean is zero, while the median is −5 and the range is 50. The zero mean says the changes offset over those days. It does not describe every day’s outcome. Enter the signed changes when you want net movement. Enter the sizes of the changes without signs only when the question is about the average magnitude of movement.
Some figures, such as calendar dates or numeric identifiers, can look like numbers in a spreadsheet but have no meaningful average with other measurements. For stock balances measured at different points over a day, an unweighted mean of the readings treats each reading equally even if one level held much longer than another. A time-weighted answer calls for the durations from the source, so establish the intended unit of observation before pasting values.
Combine groups using the underlying data or totals
Say two offices each report a mean ticket time. One has ten tickets with a mean of 20 minutes, and the other has forty with a mean of 35. Pasting only 20 and 35 computes an average of office-level means, which is 27.5. For the mean across all tickets, reconstruct totals of 200 and 1,400 minutes and divide the combined time by 50. The pooled mean is 32 minutes. For the pooled median, enter the original fifty times if they are available. The two office-level medians alone cannot tell you the middle of the combined list.
When you want to compare groups separately, run each group’s original observations in turn and record its count, mean and median. Include the original unit and coverage dates on each line of your report. A small sample can look more precise than it really is if it is displayed with several decimal places. Use rounding that reflects how the numbers were measured. The guide to mean and median offers examples of choosing a measure for different kinds of decisions.
Check changes in sample composition
If one week includes three unusually large orders from a single customer and another week contains only ordinary counter sales, comparing their means can be useful for revenue planning and misleading for describing a typical counter sale. Keep the same inclusion rule across weeks. When the mix itself is relevant, report the overall figure and the result for each group separately.