Use this Mean, Median & Mode Calculator to quickly find the mean, median, and mode of any set of numbers. Enter your values into the calculator to get the results along with the calculation steps.
Mean, Median & Mode Calculator
Enter a set of numbers to calculate the mean, median, and mode with step-by-step calculations.
Calculation Steps
Whether you need to find the mean, calculate the median, or find the mode in statistics, this calculator shows how each result is obtained.
It can be useful for students, teachers, statistics calculations, and anyone working with numerical data.
What Are Mean, Median and Mode?
Mean, median, and mode are three common measures used to describe a set of numerical data. They can help summarize a group of numbers using a representative value.
Mean
The mean is the average of all the values in a data set.
The formula is: Mean = Sum of all values ÷ Number of values
For example, consider: 10, 20, 30, 40
First, add the values: 10 + 20 + 30 + 40 = 100
There are 4 values.
Therefore: Mean = 100 ÷ 4 = 25
So, the mean is 25.
How to Calculate the Mean
To calculate the mean:
- Add all the numbers together.
- Count how many numbers are in the data set.
- Divide the total by the number of values.
Example
Data: 5, 10, 15, 20, 25
Sum: 5 + 10 + 15 + 20 + 25 = 75
Number of values: 5
Mean: 75 ÷ 5 = 15
Therefore, the mean is 15.
Median
The median is the middle value in a data set after the numbers have been arranged from smallest to largest.
For example: 8, 3, 10, 5, 7
First, arrange the numbers: 3, 5, 7, 8, 10
The middle number is 7.
Therefore: Median = 7
How to Find the Median
The method depends on whether the data set contains an odd or even number of values.
Odd Number of Values
Consider: 4, 8, 2, 10, 6
Arrange them: 2, 4, 6, 8, 10
There are 5 values, so the middle value is: 6
Therefore: Median = 6
Even Number of Values
Consider: 2, 4, 6, 8
The two middle values are 4 and 6.
Calculate their average:
Median = (4 + 6) ÷ 2
Median = 5
Therefore: Median = 5
Mode
The mode is the value that appears most frequently in a data set.
For example: 2, 4, 4, 5, 6, 4, 8
The number 4 appears three times, while the other numbers appear fewer times.
Therefore: Mode = 4
How to Calculate the Mode
To find the mode:
- Look at all the values in the data set.
- Count how many times each value occurs.
- Identify the value that occurs most frequently.
For example: 3, 5, 5, 7, 8, 5, 10
Frequency of 5 = 3
Therefore: Mode = 5
What If There Is No Mode?
A data set may have no mode when every value occurs the same number of times.
For example: 1, 2, 3, 4, 5
Each number occurs once.
Therefore: There is no mode.
What If There Are Multiple Modes?
A data set can also have more than one mode.
For example: 2, 2, 3, 3, 4, 5
The number 2 occurs twice, and 3 also occurs twice.
Therefore: Modes = 2 and 3
The calculator identifies these cases automatically.
How to Use the Mean, Median & Mode Calculator
Using the calculator is simple:
- Enter your numbers in the input box.
- Separate the numbers using commas, spaces, or new lines.
- Click Calculate.
- The calculator will display the mean, median, and mode.
- Review the calculation steps to see how each answer was calculated.
For example, you can enter: 12, 15, 18, 15, 20, 22, 15
The calculator will automatically arrange the numbers where necessary and calculate each statistical value.
Mean vs Median vs Mode
| Measure | What It Represents | How It Is Found |
|---|---|---|
| Mean | Average value | Sum ÷ Number of values |
| Median | Middle value | Arrange values and find the middle |
| Mode | Most frequent value | Find the value occurring most often |
Each measure describes the data differently. Therefore, the most useful measure can depend on the type of data being analyzed.
Example: Find the Mean, Median and Mode
Consider this data set: 12, 15, 18, 15, 20, 22, 15
Mean
Sum: 12 + 15 + 18 + 15 + 20 + 22 + 15 = 117
Number of values: 7
Mean: 117 ÷ 7 = 16.7143
Mean = 16.7143
Median
Arrange the numbers: 12, 15, 15, 15, 18, 20, 22
The middle value is: 15
Median = 15
Mode
15 appears 3 times.
Therefore: Mode = 15
So the final results are:
- Mean = 16.7143
- Median = 15
- Mode = 15
Frequently Asked Questions
The formula is: Mean = Sum of all values ÷ Number of values
Add all the numbers together and divide the result by the total number of values.
First, arrange the numbers from smallest to largest. If there is an odd number of values, the middle value is the median. If there is an even number of values, calculate the average of the two middle values.
Count how many times each value occurs. The value that occurs most frequently is the mode. If multiple values have the same highest frequency, the data set can have multiple modes.
Yes. If two or more values occur with the same highest frequency, the data set can have multiple modes.
Yes. If every value occurs the same number of times, there is no mode.
The mean is the average, the median is the middle value after sorting the data, and the mode is the most frequently occurring value.
Yes. The calculator can be used with decimal values as well as whole numbers.