Checking an omitted value against a recorded zero
A zero in a data list is a measurement and counts toward the average. A blank or deleted entry is no measurement at all. This guide shows how much the mean moves when the two are confused.
Two lists that differ by one entry
Take the list 0, 10, 20. It holds three observations that add up to 30, so the mean is 30 divided by 3, or 10. Now delete the zero and keep 10 and 20. The sum is still 30, but only two observations remain, so the mean becomes 30 divided by 2, or 15. The values that were kept did not change at all, yet the average rose by 5. Removing a zero never changes the sum. It only shrinks the denominator, which is why dropping zeros always pushes a mean of nonnegative numbers upward unless every value was zero. The count output on the page makes the effect visible: 3 observations in the first case and 2 in the second.
What a recorded zero means
A zero can be an answer. A household that owns no cars, a store that sold no umbrellas on a dry Tuesday, a patient with no hospital admissions this year and a sensor that read 0 volts have all produced information. In each case someone looked, counted and found nothing. If you want the average number of cars per household, the household with none belongs in the calculation, because the question is about all households. Leaving it out changes the question to the average among households that own at least one car, which is a different and larger number. Both can be reported, but they have to be labeled so that readers know which population they describe.
What a missing observation means
A missing value is the opposite situation: nobody looked, the instrument failed, the respondent skipped the question or the record was lost. The true value is unknown and might be zero or might be large. Typing 0 into the list claims a measurement that never happened and drags the mean down. Deleting the entry quietly assumes the missing case resembles the others. Neither choice is neutral. Statistical practice has formal approaches, such as analyzing complete cases only, weighting, or imputation, and each rests on assumptions about why the data are missing. The calculator on the page does none of that. It summarizes exactly the list you give it, and the care has to happen before the numbers are typed.
A pets-per-household example
Suppose a short survey of five households reports the numbers of pets as 0, 0, 1, 2 and 2. The sum is 5 over 5 households, so the mean is 1. If the two zero answers were removed because they looked like blanks, the list would be 1, 2, 2, with a sum of 5 over 3 households, a mean of about 1.6667. Reporting 1.67 pets per household would overstate the figure by two thirds. The difference comes entirely from a decision about what the zeros were. If those two households had actually declined to answer, removing them would be defensible, and the correct description would be about 1.67 pets among households that answered with at least one pet, with the count of non-responses reported separately.
Zeros in other summaries
The mean is the most sensitive summary, but the median, minimum, range and mode also react to a zero. In the first list the median is 10 and the minimum is 0. After the zero is dropped the median is 15 and the minimum is 10. For skewed counts, such as visits per customer, many zeros are common, and the mean can be smaller than the typical nonzero value. Ratios and percentages inherit the same issue: a rate of defects per unit changes if units with no defects are excluded from the denominator. Whenever a summary will be compared with another, confirm that both use the same population of rows, including the zeros.
Where zeros and blanks get mixed up
Spreadsheet imports are a common source. A blank cell may be read as zero by a formula, and a text entry such as NA, a dash or n/a may be skipped or may cause an error, depending on the function. Some systems export a missing value as 0 to keep a column numeric, and the information that it was missing is lost on the way. Survey tools may code refusals as 99 or -1, which is worse, because the code looks like data. Check the code book or the export settings, and look at the smallest and largest values of each column before computing anything. A column with many exact zeros and no blanks deserves a question about how the zeros were produced.
Weighted averages and rates
The same issue appears in rates built from groups. If three stores sold 0, 10 and 20 units of an item, the average per store is 10 only when the store that sold nothing is counted. A chain that reports sales per store among stores with any sales would publish 15. Both are legitimate numbers with different meanings, and a reader comparing one chain with another needs to know which was used. Per-capita figures work the same way: dividing a total by the people who used a service gives a different figure than dividing by everyone who could have used it. Writing the denominator in words next to the average is a small habit that prevents most disputes about what a mean represents.
Keeping the source state visible
Before building the input list, decide for each entry whether it is a measurement, a known zero or an unknown. Then keep that decision with the data. A simple approach is to hold two columns, one with the value and one with a status such as observed, zero by definition or not collected. Compute the summary from the rows that match your question, and report the count along with the mean. The page shows the count for this reason: a mean of 15 based on 2 values and a mean of 10 based on 3 values carry different amounts of information, and the count reveals the difference immediately.
What the example does and does not show
The two lists demonstrate arithmetic only. The page applies mean = Σx ÷ n to whatever values you enter, with n the number of entries, and does not choose a missing-data method for you. The worked cases do not show that zeros should always stay, because a zero typed in as a placeholder for an unavailable reading should not stay. They show that the choice changes the result and that the calculator will follow the list you provide. When you publish an average, state the denominator and what was done with unavailable observations, so that a reader can reproduce the figure.
Reproduce the checks
Recorded zero included
Open the Average calculator and enter:
- Values
0,10,20
Expected output:
Arithmetic mean
10Number of values
3Zero occupies one observation position.
Observation omitted
Open the Average calculator and enter:
- Values
10,20
Expected output:
Arithmetic mean
15Number of values
2The denominator is now two.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- NIST: Measures of location ↗ · 2026-10-08