How to Calculate the Mode of a Dataset

The mode is the value that appears most frequently in a dataset. Unlike the mean and median, the mode can be used with categorical data (not just numbers), and a dataset can have more than one mode—or no mode at all.

Finding the Mode

Step 1: List all values. Step 2: Count how many times each value appears. Step 3: The value(s) with the highest count are the mode(s).

Examples

Example 1 (Unimodal): Dataset: 9 Count: 4 appears 3 times, all others once. Mode = 4

Example 2 (Bimodal): Dataset: 7 Count: Both 2 and 5 appear twice. Mode = 2 and 5

Example 3 (No mode): Dataset: 5 Every value appears exactly once. Mode = None (or all values)

When to Use the Mode

SituationBest Measure
Average salaryMedian (outlier-resistant)
Most popular shoe sizeMode
Test score centerMean or Median
Most common defect typeMode (categorical)

Mode in Frequency Distributions

For grouped data, the modal class is the class with the highest frequency. The exact mode is estimated using:

Mode = L + [(f₁ − f₀) / (2f₁ − f₀ − f₂)] × h

Where L is the lower boundary, f₁ is the modal class frequency, f₀ and f₂ are adjacent class frequencies, and h is the class width.

Use our mode calculator to find the mode of any dataset instantly.