Mode Calculator

Find the most frequent value or values in a list of numbers, with the highest frequency and the count.

Calculations happen locally. We do not send your values to our server.

Example

In 2, 2, 3 and 4 the mode is 2, which appears twice. A list can have two modes, as 1, 1, 2, 2 and 3 do, and 5, 6 and 7 has no mode because every value appears once.

Calculation method

Each value is counted, and every value tied for the highest count is returned together with that frequency. Values are compared as numbers rather than text, so 4 and 4.0 are the same value. When the highest frequency is 1, the tool reports no mode instead of listing every value.

Important notes

The mode is always one of the numbers you entered, which suits shoe sizes, survey ratings or order quantities. Continuous measurements rarely repeat exactly, because 4.01 and 4.02 are different values, so round or group such data into ranges before looking for the most common value.

The most frequent value

The mode is the value that appears most often. In 2, 2, 3 and 4, the number 2 appears twice and the others once, so the mode is 2 with a highest frequency of 2. Unlike the mean and median, the mode is always one of the values you entered, which makes it useful for the most common shoe size sold, the most frequent rating in a survey or the usual number of items in an order.

Ties and lists without a mode

When several values share the highest count, all of them are returned. 1, 1, 2, 2 and 3 have two modes, 1 and 2, and a set of shoe sizes 38, 39, 39, 40, 41 and 41 is bimodal with 39 and 41. Two peaks can reveal two groups mixed together, such as two different types of customer. If every value appears exactly once, as in 5, 6 and 7, the result is that there is no mode, rather than every value being a mode.

How numbers are matched

Values are compared as numbers, not as text, so 4 and 4.0 count as the same value and 4, 4.0 and 5 have a mode of 4. Very close decimals such as 4.01 and 4.02 are different values, so continuous measurements like weights or times rarely repeat exactly. For that kind of data, round the values to a sensible precision or group them into ranges before looking for the most common value. Negative numbers and zero are counted in exactly the same way as positive values.

Worked examples
InputResult
2, 2, 3, 42 · ×2
1, 1, 2, 2, 31, 2 · ×2
38, 39, 39, 40, 41, 4139, 41 · ×2
4, 4.0, 54 · ×2
5, 6, 7— · ×1

Frequently asked questions

Can a list have more than one mode?

Yes. Every value tied for the highest count is shown, so shoe sizes of 38, 39, 39, 40, 41 and 41 are bimodal with 39 and 41. Two peaks often mean two groups are mixed together, such as two types of customer, and it is usually worth splitting the data before summarising it.

What does “no mode” mean?

It means no value repeats: in 5, 6 and 7 the highest frequency is 1. The tool reports no mode rather than treating every value as a mode, because a number that occurs once is no more common than the others. Collecting more observations often makes a mode appear.

How does the mode compare with the mean and median?

The mode is the most common value, the median is the middle value and the mean is the average. For 2, 2, 3 and 4 the mode is 2, while the mean is larger because 4 pulls it up. Use the mode for categories and repeated readings, and the Median Calculator or Average Calculator when you need a central value.

Related tools