Why the calculation is structured this way
The arithmetic mean balances the sum around the average: deviations from it sum to zero apart from numerical rounding. The median splits sorted observations, using the mean of two central values for an even count. A repeated value is still an observation and should not be removed unless the data-cleaning rule justifies it.
A second scenario you can verify
For 0, 2, 3, 4 and 91, mean is 100/5 = 20, while median is three. Removing the outlier leaves four values with mean 9/4 = 2.25 and median (2 + 3)/2 = 2.5. This change does not prove the outlier was invalid; it demonstrates how the summary depends on the record.
What changes the interpretation
This is an unweighted descriptive summary. Combining subgroup averages requires subgroup counts or weights. Missing values are not valid zeroes, and an empty record does not define a mean. Do not infer statistical significance or a population estimate from these summaries alone.
Check what an observation and a group average represent
A list entry is one observation in the unweighted model. If a value summarizes a group, entering it once does not reproduce the group’s original influence unless all groups have equal counts. Keep the underlying counts when the purpose is a combined average. The calculator’s count is the number of numeric entries you submitted, not a population size inferred from their labels.
For a group of two observations averaging ten and a group of eight averaging twenty, the combined sum is 2 × 10 + 8 × 20 = 180 across ten observations, giving eighteen. Directly averaging ten and twenty gives fifteen and treats the two groups as equal. Without individual data, the combined median cannot generally be recovered from the two medians or two means.
A numerical translation check adds the same value to every observation. For −2, 0, 4 and 10, mean is three and median is two. Adding five to each produces 3, 5, 9 and 15, mean eight and median seven. Both summaries increase by five. Multiplying every value by a positive factor scales the summaries; multiplying by a negative factor also reverses sorted order while preserving the properly recalculated median relationship.
Repeated values carry real multiplicity. The list 1, 1, 1 and 9 has mean three and median one. Deduplicating it to 1 and 9 changes mean and median to five, describing unique values rather than the original observations. A data-cleaning step needs its own rationale; it should not be applied automatically because repeated numerals look redundant.
Mean and median summarize location, not dispersion or causal explanation. An extreme point may be valid or may be a recording error. Inspect its provenance and compare labeled scenarios rather than deleting it to obtain a desired average. Retain valid zeroes, distinguish missing entries and report precision supported by the observations.
Input reference and units
These values reproduce the model’s demonstration. Replace them with your own records or measurements; they are not recommended targets.
On a small screen, swipe horizontally to see all columns. With a keyboard, focus the table and use the arrow keys.
| Parameter | Demonstration value | How to enter it |
|---|---|---|
| Numbers separated by commas or spaces | 2, 4, 6, 8 | Enter numbers separated by commas or spaces without adding a unit suffix. Scope: All observations have equal weight; this is not a weighted-mean tool. |
Average Calculator: calculation relationships
Calculate arithmetic mean, median, minimum, maximum and count for a finite set of numbers. Retain zero and negative observations rather than dropping them. All observations have equal weight; this is not a weighted-mean tool. Up to 10,000 finite observations are accepted.
The arithmetic mean shares the total equally across all observations. For 0, 0, 0 and 100 the mean is 25, but the median is 0 because the two middle sorted values are both zero. This contrast reveals sensitivity to an outlier. Do not remove legitimate zeros or average group averages without their group sizes.
mean = Σx / n; median = middle value of sorted data
- values: Numbers separated by commas or spaces. Enter numbers separated by commas or spaces without adding a unit suffix. Scope: All observations have equal weight; this is not a weighted-mean tool.
- Result units: stated beside each output
- Calculation relationship: mean = Σx / n; median = middle value of sorted data
- Supported domain: see the limits below
Worked example
Average Calculator baseline input: Numbers separated by commas or spaces: 2, 4, 6, 8. Output: Mean = 5; Median = 5; Count = 4; Minimum = 2; Maximum = 8. Substitute these values into the displayed equation to reproduce the result.
Reproduce the default scenario
This reproduces the default inputs in the reference table above; it is not an additional independent example. Displayed rounding may differ from intermediate precision.
- Mean
- 5
- Median
- 5
- Count
- 4
- Minimum
- 2
- Maximum
- 8
Common questions and boundary checks
Does zero count as an observation?
Yes. A valid zero affects both the sum and count.
Why can mean and median differ greatly?
Extreme magnitudes can move the mean while leaving the middle rank nearly unchanged.
How is an even-count median calculated?
Sort the values and average the two central observations.
Can I combine two averages directly?
Only for equally weighted groups; otherwise use their counts or weights.
Should an outlier always be deleted?
No. Inspect its provenance and the intended data rule before exclusion.
Sources and content notes
Toolify describes the implemented algorithm and its assumptions. Sources below support the topic or applicable rules; they do not endorse this calculator. Examples are illustrative, and published rules take precedence over simplified estimates.
Report a formula, example or translation issue through our contact page. Include the tool name, inputs and expected result so it can be reproduced. Contact Toolify