Mean Median Mode Calculator

Calculate mean, median, mode, range, geometric mean, and more from any data set instantly with our free and easy-to-use calculator.

Separate numbers with commas, spaces, semicolons, or new lines.

Advertisement
Test ad slot: Calculator action display ad (1000000003)

Was this calculator helpful?

Your feedback helps us improve our calculators.

What Is a Mean Median Mode Calculator?

A mean median mode calculator is an online statistics tool that analyzes a group of numbers and calculates several important measures of central tendency and spread.

Instead of sorting numbers and performing each calculation manually, you can enter the complete data set and calculate the results at once.

Our calculator determines:

  • Arithmetic mean - the average of all values

  • Median - the middle value of the sorted data

  • Mode - the value or values occurring most frequently

  • Range - the difference between the largest and smallest values

  • Smallest value - the minimum number in the data set

  • Largest value - the maximum number in the data set

  • Geometric mean - the multiplicative average of the values

  • Sorted data set - all entered values arranged from smallest to largest

It also provides a column chart so you can visually compare the values in your data set.

These statistics are commonly used to summarize numerical data. The mean uses every value, while the median depends on the middle position and is generally less affected by unusually high or low values.

How to Use the Mean Median Mode Calculator

You can calculate mean, median, mode, and range without performing separate calculations.

Step 1: Enter Your Data Set

Enter or paste your numbers into the Data set field.

You can separate the values using commas, spaces, semicolons, or new lines.

For example:

10, 2, 38, 23, 28, 23, 21

Step 2: Click Calculate

Click the Calculate button. The calculator analyzes all the numbers and displays the results.

Step 3: Review the Results

The results show the arithmetic mean along with the:

  • Median

  • Mode

  • Range

  • Smallest value

  • Largest value

  • Geometric mean

You can also see the sorted data set and a column chart representing the entered values.

Step 4: Start a New Calculation

Click Clear to remove the existing values and enter a new data set.

Mean, Median, Mode, and Range Formulas

Understanding the formulas can help you see how a mean median mode range calculator gets its answers.

Mean Formula

The arithmetic mean is what people usually mean when they refer to the average of a group of numbers.

To calculate mean, add all the values and divide the total by the number of values.

xˉ=i=1nxin\bar{x} = \frac{\sum_{i=1}^{n} x_i}{n}

Where:

  • xˉ = arithmetic mean

  • xi​ = each value in the data set

  • n = total number of values

  • ∑ = sum of all values

For example, consider:

10, 2, 38, 23, 28, 23, 21

First, add the values:

10+2+38+23+28+23+21=14510 + 2 + 38 + 23 + 28 + 23 + 21 = 145

There are 7 values, so:

Mean=1457=20.714286\text{Mean} = \frac{145}{7} = 20.714286

A mean calculator performs this calculation automatically, which is particularly convenient for larger data sets.

How to Find the Median

The median represents the middle value after the data has been arranged in numerical order.

Before you calculate median, sort the values from smallest to largest.

Using the previous example:

2, 10, 21, 23, 23, 28, 38

There are seven numbers, so the fourth number is in the middle.

Therefore:

Median=23\text{Median} = 23

Median Formula for an Odd Number of Values

When the number of observations is odd:

Median=x(n+12)\text{Median} = x_{\left(\frac{n+1}{2}\right)}

For n=7:

7+12=4\frac{7+1}{2} = 4

So, the fourth value is the median.

Median Formula for an Even Number of Values

If the data set contains an even number of values, there are two middle numbers. Add those two values and divide by 2.

Median=x(n2)+x(n2+1)2\text{Median} = \frac{x_{\left(\frac{n}{2}\right)} + x_{\left(\frac{n}{2}+1\right)}}{2}

For example:

4, 8, 12, 16

The middle values are 8 and 12.

Median=8+122=10\text{Median} = \frac{8+12}{2} = 10

This is the basic method for how to find the median of an even-sized data set.

How to Calculate Mode

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

For example:

2, 10, 21, 23, 23, 28, 38

The number 23 occurs twice, while each other value occurs once.

Therefore:

Mode=23\text{Mode} = 23

A data set can also have more than one mode. If multiple numbers have the same highest frequency, the data can be described as multimodal.

For example:

2, 2, 5, 7, 7, 9

Both 2 and 7 occur twice, so:

Mode=2,7\text{Mode} = 2,\,7

How to Calculate Range

The range tells you how far the data extends from its minimum value to its maximum value.

If you're learning how to calculate range, simply subtract the smallest number from the largest number.

Range=Maximum ValueMinimum Value\text{Range} = \text{Maximum Value} - \text{Minimum Value}

Using:

2, 10, 21, 23, 23, 28, 38

The largest value is 38 and the smallest is 2.

Therefore:

Range=382=36\text{Range} = 38 - 2 = 36

The range provides a quick measure of the spread of a data set, although it only considers the two extreme values.

How to Calculate the Geometric Mean

The geometric mean is another type of average. Instead of adding values, it is based on their product.

For n positive values:

G=x1x2x3xnnG = \sqrt[n]{x_1 x_2 x_3 \cdots x_n}

It can also be written as:

G=(i=1nxi)1nG = \left(\prod_{i=1}^{n} x_i\right)^{\frac{1}{n}}

Where:

  • G = geometric mean

  • xi​ = individual values

  • n = number of values

The geometric mean is particularly useful when working with multiplicative changes, ratios, growth factors, and some types of financial or scientific data.

Mean Median Mode Calculator Example

Suppose you enter this data set:

10, 2, 38, 23, 28, 23, 21

First, arrange the numbers:

2, 10, 21, 23, 23, 28, 38

Now calculate each statistic.

Statistic

Result

Mean

20.714286

Median

23

Mode

23

Range

36

Smallest

2

Largest

38

For the mean:

710+2+38+23+28+23+217=145720.714286\frac{710 + 2 + 38 + 23 + 28 + 23 + 21}{7} = \frac{145}{7} \approx 20.714286

The middle value is 23, so the median is 23. Because 23 occurs more often than any other number, the mode is also 23.

Finally:

382=3638 - 2 = 36

So the range is 36.

A mean and median calculator makes the same process much faster when your data set contains many values.

Mean vs. Median vs. Mode: What's the Difference?

Although mean, median, and mode all help describe the center or typical value of a data set, they measure it differently.

Measure

What It Represents

How It Is Found

Mean

Arithmetic average

Sum ÷ number of values

Median

Middle value

Sort values and locate the middle

Mode

Most frequent value

Find the value occurring most often

Range

Spread between extremes

Maximum − minimum

The mean takes every value into account, making it useful for many numerical data sets. However, unusually large or small values can pull the mean away from the center.

The median is often more useful when extreme values are present because it depends on the position of values rather than their magnitude.

The mode is useful when you want to know which value occurs most often.

When and Where to Use a Mean Median Mode Calculator

A mean median and mode calculator can be useful whenever you need to summarize or compare numerical information.

Common applications include:

  • School and college: Solve statistics assignments and verify calculations.

  • Test scores: Find the average, middle, and most frequent scores.

  • Business: Analyze sales, prices, orders, or other numerical records.

  • Research: Quickly summarize basic numerical observations.

  • Surveys: Analyze numerical responses and identify typical values.

  • Finance: Review sets of financial figures where basic descriptive statistics are appropriate.

  • Sports: Compare scores, times, distances, or other performance data.

Because the mean calculator returns several statistics at once, you can examine the same data from different perspectives instead of relying only on the average.

Who Should Use This Mean Median Mode Calculator?

This mean median mode calculator is designed for anyone who needs quick descriptive statistics without manually sorting and calculating a data set.

Students can use it for math and statistics problems, while teachers can use it to verify examples and classroom exercises. It can also help researchers, analysts, business professionals, and everyday users summarize sets of numerical values.

It is especially useful when the data set is large enough that calculating the mean, median, mode, and range manually becomes time-consuming.

Benefits of Using a Mean Median Mode Calculator

Using an online calculator can make basic statistical analysis faster and easier.

Multiple results from one data set: You don't need a separate mean calculator or median tool because the same calculation provides the mean, median, mode, range, minimum, maximum, and geometric mean.

Automatic data sorting: The mean calculator arranges values from smallest to largest, making it easier to verify the median and review the distribution.

Useful visual representation: The column chart gives you a quick visual comparison of the values.

Helpful for checking manual work: If you're learning how to find the median, mean, mode, or range, you can solve the problem manually and then compare your answer with the mean calculator.

Handles longer data sets efficiently: Copy or enter your values rather than performing multiple repetitive calculations.

Common Mistakes When Calculating Mean, Median, Mode, and Range

Even simple statistics can produce incorrect results when the wrong method is used.

Forgetting to Sort Before Finding the Median

The median must be determined after arranging the data in numerical order.

For example:

15, 2, 8

The median isn't 2 simply because it appears in the middle of the original list.

Sort it first:

2, 8, 15

Therefore, the median is 8.

Dividing the Mean by the Wrong Number

When calculating the mean, divide the sum by the total number of observations, including repeated values.

Ignoring Repeated Values When Finding the Mode

Frequency matters. If a number appears multiple times, every occurrence must be counted.

Confusing Range With the Largest Value

The range isn't simply the maximum value.

Use:

Range=MaximumMinimum\text{Range} = \text{Maximum} - \text{Minimum}

Assuming Every Data Set Has One Mode

A data set may have one mode, multiple modes, or no uniquely occurring mode, depending on the frequency of its values.

Frequently Asked Questions (FAQs)

What is the mean in math?

The mean is the arithmetic average of a data set. Add all values and divide the sum by the total number of values.

How do I calculate mean?

Use:

Mean=Sum of all valuesNumber of values\text{Mean} = \frac{\text{Sum of all values}}{\text{Number of values}}

For 5, 10, and 15:

Mean=5+10+153=10\text{Mean} = \frac{5+10+15}{3} = 10

How do you find the median?

Sort the data from smallest to largest and find the middle value. If there are two middle values, add them together and divide by two.

How do you calculate mode?

Count how many times each value occurs. The value with the highest frequency is the mode. If two or more values tie for the highest frequency, the data set can have multiple modes.

How do you calculate range?

Subtract the smallest value from the largest:

Range=Largest ValueSmallest Value\text{Range} = \text{Largest Value} - \text{Smallest Value}

Can the mean and median be the same?

Yes. A data set can have the same mean and median, particularly when its values are distributed symmetrically around the center.

Can there be two modes?

Yes. When two values occur with the same highest frequency, the data set is bimodal. More generally, a data set with multiple most-frequent values is multimodal.

What is the difference between average and mean?

In basic statistics, “average” commonly refers to the arithmetic mean. However, average can be used more broadly, while mean refers to a specific statistical measure.

Is median affected by extreme values?

The median is generally much less affected by extreme values than the mean because it depends on the position of the middle observation after sorting rather than the size of every value.

Conclusion

A mean median mode calculator provides a quick way to summarize a numerical data set. Enter your values to calculate mean, median, mode, range, geometric mean, smallest value, and largest value without performing each calculation separately.

Whether you're solving a statistics problem, analyzing test scores, reviewing research data, or simply trying to understand a list of numbers, the calculator helps you find the key statistics and view the sorted data in one place.

Helpful Resources

Pro Tips

  • The mean is calculated by summing all the values and dividing by the number of values.

  • The median is the middle value when the data is sorted in order. If there is an even number of values, the median is the average of the two middle values.

  • The mode is the value that appears most frequently in the dataset. A dataset can have more than one mode if multiple values have the same highest frequency.

  • Use the mean, median, mode calculator to analyze your data and understand its central tendencies.

  • Remember that the mean can be affected by outliers, while the median and mode are more robust measures of central tendency.