Mean vs mode: the difference, with examples

By Jude Wallis · Published

The mean is the sum of the values divided by how many there are. The mode is the value or category that occurs most often. The mean needs numbers and uses every one of them. The mode needs only counts, so it also works for categories. In 0, 1, 1, 1, 2, 2, 3, 4, 10 the mean is 2.67 and the mode is 1.

AP Statistics: Unit 1 (topics 1.7 Summary Statistics for One Quantitative Variable, 1.3 Tabular Representation and Summary Statistics for One Categorical Variable). The mean is one of the summary statistics in topic 1.7, Summary Statistics for One Quantitative Variable, in Unit 1 of the Fall 2026 AP Statistics course, where the measures of center for a quantitative variable are the mean and the median. The mode is general statistics vocabulary; its nearest home in the course is topic 1.3, where one categorical variable is summarized with counts and relative frequencies.

Mean vs mode: the short answer

The mean is an arithmetic average: add every value and divide by the number of values. The mode is a tally result: count how often each value occurs and report the one with the largest count. The two answer different questions. The mean says what each observation would be if the total were shared out equally. The mode says which single value you are most likely to meet if you pick an observation at random from the data.

The practical differences follow from those definitions. The mean exists only for quantitative data, always exists there, and moves whenever any value changes. The mode works for categorical data as well, is always one of the observed values, and can be missing or shared between several values.

What the mean measures

For a sample of nn values the mean is written xˉ\bar{x} ("x-bar"):

xˉ=∑xin\bar{x} = \frac{\sum x_i}{n}

Every value enters the sum, so every value has a say. That is the mean's strength and its weakness. It summarizes the whole data set in one number, and it is the balance point of the distribution: the deviations above it and the deviations below it add to zero. It is also nonresistant, which means one extreme value can pull it a long way, as the mean versus median guide shows in detail.

The mean does not have to be a value that anyone in the data has. A mean of 2.67 pets per household is a correct summary even though no household owns 2.67 pets. It also requires real numbers. Averaging category labels that have been coded as 1, 2, 3 produces a number with no meaning, which the second worked example demonstrates.

What the mode measures

The mode is the value or category with the highest frequency. Finding it takes counting and no arithmetic, which is why it is the only one of the three familiar measures of center that works for an unordered categorical variable such as favorite lunch or blood type. The steps for lists, frequency tables, and histograms are in how to find the mode.

The mode has three properties the mean lacks. It is always a value that occurs in the data. It may not be unique: 1, 1, 4, 7, 7, 9 has two modes, 1 and 7. And it may not exist: when every value occurs once, the convention is to say there is no mode, which is the usual case for measured data such as heights recorded to a tenth of a centimeter. The mode also ignores almost all of the data. It reports the single most frequent value and says nothing about how the other observations are spread.

The differences side by side

FeatureMeanMode
How you find itAdd the values, divide by nnTally the values, take the largest count
Data it works forQuantitative onlyQuantitative or categorical
Always existsYes, for quantitative dataNo, a data set can have no mode
Always uniqueYesNo, there can be two or more
Is one of the data valuesNot necessarilyAlways
Uses every observationYesNo, only the most frequent value
Effect of one extreme valuePulled toward itUsually unchanged

The mean is a calculation on all of the numbers. The mode is a count of the most common one.

When to use which

For a quantitative variable, report the mean when the distribution is roughly symmetric with no outliers, and switch to the median when it is skewed or has outliers. Those two are the measures of center that AP Statistics works with for quantitative data. The mode adds little there, because it can be created or destroyed by a single repeated value.

For an unordered categorical variable, the mean and the median are unavailable, and the most common category is the natural summary. Report it with its count or its relative frequency, since "pizza was the most common choice" says much less than "pizza was chosen by 14 of 32 students."

The mode is also the right tool when the answer must be a value that occurs. A store deciding which shoe size to stock most heavily wants the most frequently bought size, and a mean size of 8.3 is not something it can order.

The classic mix-up and how to avoid it

The first mistake is reporting the frequency in place of the mode. In 0, 1, 1, 1, 2, 2, 3, 4, 10 the value 1 occurs three times. The mode is 1. The number 3 is how often the mode occurs.

The second mistake is using the word average without saying which summary is meant. In everyday writing, "the average household" sometimes refers to the mean and sometimes to the most typical case, which is closer to the mode. In the pet data the mean is 2.67 and the mode is 1, so the two readings disagree by more than a factor of two. On a statistics exam, name the statistic.

The third mistake is assuming the two must be close. They agree approximately when a distribution is symmetric with a single peak. In a skewed distribution, or one with two peaks, the mean can sit far from the most common value, and neither number is wrong.

Mean and mode of the same nine values

Nine households report how many pets they own: 0, 1, 1, 1, 2, 2, 3, 4, 10. Find the mean and the mode. Then remove the household with 10 pets and find both again.

  1. Add the values: 0+1+1+1+2+2+3+4+10=240 + 1 + 1 + 1 + 2 + 2 + 3 + 4 + 10 = 24.

  2. Divide by the number of households: xˉ=249≈2.67\bar{x} = \frac{24}{9} \approx 2.67 pets.

  3. Tally the values: 0 occurs once, 1 occurs three times, 2 occurs twice, and 3, 4, and 10 occur once each. The largest count is 3, so the mode is 1 pet.

  4. Remove the 10. The new sum is 24−10=1424 - 10 = 14 and there are 8 households, so xˉ=148=1.75\bar{x} = \frac{14}{8} = 1.75 pets.

  5. Tally again: 1 still occurs three times and no other value occurs more than twice, so the mode is still 1.

  6. Compare. Removing one household moved the mean from 2.67 to 1.75 and left the mode at 1.

With all nine households the mean is about 2.67 pets and the mode is 1 pet. Without the household that has 10 pets, the mean falls to 1.75 and the mode stays at 1. The mean responds to every value, including the extreme one, and the mode in this data set does not.

A categorical variable has a mode and no mean

Thirty-two students choose a lunch: pizza 14, salad 6, sandwich 9, soup 3. Find the mode. Then show what goes wrong if the choices are coded as numbers and averaged.

  1. Check the total: 14+6+9+3=3214 + 6 + 9 + 3 = 32 students.

  2. The largest count is 14, so the mode is pizza. Its relative frequency is 1432=0.4375\frac{14}{32} = 0.4375, about 44% of the students.

  3. Try coding pizza as 1, salad as 2, sandwich as 3, and soup as 4. The coded mean is 14(1)+6(2)+9(3)+3(4)32=6532≈2.03\frac{14(1) + 6(2) + 9(3) + 3(4)}{32} = \frac{65}{32} \approx 2.03.

  4. Now code soup as 1, sandwich as 2, salad as 3, and pizza as 4. The coded mean is 3(1)+9(2)+6(3)+14(4)32=9532≈2.97\frac{3(1) + 9(2) + 6(3) + 14(4)}{32} = \frac{95}{32} \approx 2.97.

  5. The same 32 choices gave 2.03 under one coding and 2.97 under another. The result depends on labels that were assigned arbitrarily, so it describes the coding and says nothing about the lunches.

The mode is pizza, chosen by 14 of 32 students (about 44%). There is no mean: coding the categories as numbers gives 2.03 or 2.97 depending on an arbitrary choice of labels. For a categorical variable, report the most common category and its share.

Frequently asked questions

Can the mean and the mode be the same number?

Yes. In 3, 5, 5, 5, 7 the sum is 25, so the mean is 5, and 5 is also the most frequent value. The two tend to be close when a distribution is symmetric with a single peak. Nothing forces them to match in general.

Is the mode affected by outliers?

Usually not, because an outlier is typically a single value that occurs once, and one occurrence rarely changes which value is most frequent. The mode is fragile in a different way: in a small data set, adding or removing one repeated value can change it or remove it.

Which is the better measure of center, the mean or the mode?

For quantitative data the mean (or the median, when the data are skewed) is the better summary, because it reflects the whole data set. For categorical data the mode is the only one of the two that exists. The choice follows from the type of variable.