Mean, Median, Mode calculator :

This calculator is used to find the mean, Median, Mode, range, midrange, Quartiles and Interquartile range of the given data set.



What Are Mean, Median, and Mode

Mean :

The mean which is also known as average is the sum of all data points divided by the number of points. It gives you a central value of a data set.

Median :

The median is the middle value in a data set when the numbers are arranged in ascending or descending order. If there's an even number of observations, the median is the average of the two middle numbers.

Mode :

The mode is the value that appears most frequently in a data set. The data set may have one mode, more than one mode, or no mode at all if no number repeats.

References:

How to calculate mean median mode by hand

Lets Take the example and calculate mean median mode, range, mid range, Quartiles and Interquartile range.

Example:

Calculate the mean, median, mode, range, mid range, Quartiles and Interquartile range for the following distribution of numbers.

\(1, 2, 2, 3, 3, 3, 3, 2, 2, 2, 8, 9, 12\)

Mean :

\( \begin{align} \mathrm{\bar{x}} &= \mathrm{\frac{\sum x}{n}} \\ &=\frac{\text{1}+\text{2}+......+\text{12}}{\text{13}} \\ &=\frac{\text{52}}{\text{13}} \\ &=\text{4} \end{align} \)

The mean is \(\text{4}\)

Median :

The data in ascending order is \(1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 8, 9, 12\)

From the above data \(\text{3}\) is the middle value.

Thus, the median is \(\text{3}\)

Mode :

The mode is the number in a data set that occurs most frequently.

The mode is \(\text{2}\)

Range :

\( \begin{align} \mathrm{\mbox{Range}} &= \mathrm{ \mbox{Maximum number - Minimum number } } \\ &=\text{12}-\text{1} \\ &=\text{11} \end{align} \)

The range is \(\text{11}\)

Mid range :

\( \begin{align} \mathrm{\mbox{Mid range }} &= \mathrm{ \frac{ \mbox{Maximum number + Minimum number }}{2} } \\ &=\frac{\text{12}+\text{1}}{2} \\ &=\text{6.5} \end{align} \)

The mid-range is \(\text{6.5}\)

How to calculate mean, median and mode in excel, python and r code

Measure Excel Python R-code
Mean =AVERAGE(numbers) sum(numbers) / len(numbers) mean_value <- mean(numbers)
Median =MEDIAN(numbers) statistics.median(numbers) median_value <- median(numbers)
Mode =MODE(numbers) statistics.mode(numbers) mode_value <- as.numeric(names(sort(table(numbers), decreasing=TRUE)[1]))

Why Use Our Calculator?

Our Mean, Median, Mode Calculator is designed to be user-friendly and efficient, ensuring you get your statistical results without hassle. Here are some reasons why you should use our tool: