# Mean Median Mode Calculator: Definition, Formulas, and Examples

Mean, median and mode are three measures of central tendency that summarize a numerical data set with a single number. They represent a “typical” or “average” value of the data set. In this article, we will explain what each measure means, how to calculate them, and when to use them.

## What is Mean?

The mean is the arithmetic average of a data set. It is found by adding all the data points and dividing by the number of data points. For example, if we have a data set of {2, 4, 6, 8}, the mean is (2 + 4 + 6 + 8) / 4 = 5. The mean is also called the average or the expected value.

### How to Calculate Mean?

The formula for calculating the mean of a data set is:

Mean = (Sum of Observations) / (Total Number of Observations)

For example, if we have a data set of {10, 15, 20, 25}, the mean is (10 + 15 + 20 + 25) / 4 = 17.5.

## What is Median?

The median is the middlemost value in an ordered list of observations. It divides the data set into two equal halves. For example, if we have a data set of {2, 4, 6, 8}, the median is (4 + 6) / 2 = 5. The median is also called the middle or the central value.

### How to Calculate Median?

The steps for calculating the median of a data set are:

1. Arrange the data points in ascending or descending order.
2. If the number of observations is odd, the median is the middle value.
3. If the number of observations is even, the median is the average of the middle two values.

For example, if we have a data set of {12, 16, 18, 20, 22}, the median is 18 because it is the middle value. If we have a data set of {11, 13, 15, 17, 19, 21}, the median is (15 + 17) / 2 = 16 because it is the average of the middle two values.

## What is Mode?

The mode is the most frequently occurring value in a data set. It shows the most popular or common choice among the observations. For example, if we have a data set of {2, 4, 6, 6, 8}, the mode is 6 because it appears twice while other values appear only once. The mode is also called the frequent or modal value.

### How to Calculate Mode?

The steps for calculating the mode of a data set are:

1. Count how many times each value appears in the data set.
2. The value with the highest frequency is the mode.
3. If there are two or more values with the same highest frequency, there are multiple modes.

For example, if we have a data set of {14, 16, 18, 18, 20}, the mode is 18 because it has a frequency of two while other values have a frequency of one. If we have a data set of {12, 14, 16, 16, 18, 18}, there are two modes: 16 and 18 because they both have a frequency of two.

## When to Use Mean Median and Mode?

The choice of which measure of central tendency to use depends on the type and distribution of the data. Here are some general guidelines:

• The mean is useful for symmetric and continuous data sets that do not have outliers or extreme values. It gives an accurate measure of the center and can be used for further calculations such as standard deviation and variance.
• The median is useful for skewed and discrete data sets that have outliers or extreme values. It gives a robust measure of the center that is not affected by extreme values and can be used to compare different groups or populations.