Statistics Calculators
Mean, Median, Mode, Range Calculator


Mean, Median, Mode, Range Calculator

Instantly calculate the mean, median, mode, and range of any data set. Our free statistics calculator makes finding central tendency fast, easy, and accurate!

Result
Mean (Average) 28.7 Largest 48
Median 13.5 Smallest 12
Range 36 Sum 287
Mode 15, 38 each appeared 2 times Count 10
Geometric Mean 25.88779096735222

0

1

2

3

4

5

There was an error with your calculation.

Last updated: June 3, 2026

Table of Contents

  1. Mean, Median, Mode, and Range Calculator Use
  2. The Mean Definition
  3. Example:
  4. The Median Definition
  5. The Mode Definition
  6. The Range Definition

Mean, Median, Mode, Range Calculator

Mean, Median, Mode, and Range Calculator Use

Our versatile Mean, Median, Mode, and Range Calculator makes it incredibly simple to find these essential statistical values simultaneously. Simply type or paste your raw data into the input box, ensuring each number or value is separated by a comma. Then, hit the calculate button.

In an instant, your results are ready. Beyond calculating the mean, median, mode, and range, this comprehensive tool also determines the geometric mean, identifies the largest and smallest numbers, computes the total sum and count, and provides a fully sorted data set.

Finding a typical value to accurately represent your dataset is effortless with our mean, median, and mode calculator. Additionally, the integrated range calculator helps you instantly evaluate the spread and dispersion of your data. Let’s take a closer look at what each of these statistical metrics means and how they are calculated.

The Mean Definition

The mean is the mathematical average of your dataset. In statistical terms, the mean is calculated by taking the sum of all data values and dividing it by the total number of data points. The mean of an entire population is represented by the Greek letter μ (Mu), while the mean of a sample is denoted by x̄ (X-bar).

To calculate the mean of a population, you can use the below formula:

$$\mu=\frac{Sum\ of\ the\ data\ set’s\ values}{Total\ number\ of\ data\ values\ in\ the\ population}=\frac{ΣX}{N}$$

To calculate the mean of a sample, you can use the below formula:

$$\bar{X}=\frac{Sum\ of\ the\ data\ set’s\ values}{Total\ number\ of\ data\ values\ in\ the\ sample}=\frac{ΣX}{n}$$

Let's illustrate how to find the mean with a practical example.

Example:

Suppose the heights (in meters) of your college basketball players are as follows. What is the mean height of the team?

1.75 m, 1.96 m, 1.95 m, 2.00 m, 2.05 m, 2.05 m, 2.10 m

Solution:

$$The\ mean\ height=\frac{\sum{}{}X}{N}=\frac{1.75\ m+1.96\ m+1.95\ m+2.00\ m+2.05\ m+2.05\ m+2.10\ m}{7}=\frac{13.86\ m}{7}=1.98\ m$$

Because the mean factors in every single value in the dataset, it serves as a highly representative measure of central tendency.

Our tool functions as more than just a standard arithmetic mean calculator. You can also use it to effortlessly compute your dataset's geometric mean. The geometric mean is defined as the n-th root of the product of n items in a dataset.

$$Geometric\ mean=\sqrt[n]{x₁ × x₂ × x₃ × \cdots × xₙ}$$

Let's find the geometric mean for our previous basketball team example.

$$Geometric\ mean=\sqrt[7]{1.75×1.96×1.95×2.00×2.05×2.05×2.10}=\sqrt[7]{118.0554}=1.977$$

A fundamental rule in statistics is that the geometric mean is always less than or equal to the arithmetic mean for any set of non-negative numbers.

Applying this to our example:

$$Geometric\ mean < Arithmetic\ mean$$

$$1.977<1.98$$

The Median Definition

The median is the exact middle point of a dataset when arranged in either ascending or descending order. Effectively, a median calculator divides your dataset into two equal halves.

$$Median=Value\ of\ \left(\frac{N+1}{2}\right)-th\ item$$

If your dataset contains an odd number of values, the median is simply the central number of the sorted list. (Our mean, median, mode, and range calculator automatically sorts your data for you!) If your dataset contains an even number of values, the median is calculated as the average of the two central data points.

Let's find the median for the previous basketball example.

First, we must arrange the dataset in ascending order:

1.75 m, 1.95 m, 1.96 m, 2.00 m, 2.05 m, 2.05 m, 2.10 m

Next, we determine the middle position:

$$Median=Value\ of\ \left(\frac{N+1}{2}\right)-th\ item=Value\ of\ \left(\frac{7+1}{2}\right)-th\ item=Value\ of\ 4-th\ item$$

The value of the 4th item in our sorted dataset is 2.00 m. Therefore,

Median = 2.00 m

Now, imagine the basketball team drafts a new player who is 1.90 m tall. What is the new median height of the players on the team?

The updated heights are:

1.75 m, 1.96 m, 1.95 m, 2.00 m, 2.05 m, 2.05 m, 2.10 m, 1.90 m

Again, we sort the dataset first:

1.75 m, 1.90 m, 1.95 m, 1.96 m, 2.00 m, 2.05 m, 2.05 m, 2.10 m

Finding the middle position:

$$Median=Value\ of\ \left(\frac{N+1}{2}\right)-th\ item=Value\ of\ \left(\frac{8+1}{2}\right)-th\ item=Value\ of\ {4.5}-th\ item$$

Because there is an even number of players (8), we must calculate the average of the two middle points. In this case, the median is the average of the 4th and 5th items.

Therefore,

$$Median=\frac{1.96\ m+2.00\ m}{2}=1.98\ m$$

The median is a highly robust measure of central tendency, particularly useful when a dataset contains extreme values or outliers. Unlike the mean, extreme outliers do not skew the median because it strictly focuses on the centermost figures. However, while the median provides an excellent central reference point, it is important to remember that it does not factor in the mathematical weight of every single value in the dataset.

The Mode Definition

The mode represents the most common value in a dataset. Put simply, the mode is the number or data point that appears most frequently.

Let's identify the mode in our ongoing example.

Every player's height appears exactly once, except for 2.05 m, which belongs to two players. Because 2.05 m occurs more often than any other value, it is our mode.

Mode = 2.05 m

Because our example dataset has only one mode, it is classified as unimodal. However, datasets can easily have multiple modes. A dataset with two modes is called bimodal, and one with more than two modes is considered multimodal. Conversely, if every value in a dataset occurs exactly once, that dataset has no mode at all.

While using a mode calculator makes the process effortless, you can often identify the mode without complex calculation. Keep in mind, however, that while the mode highlights the highest frequency, it doesn't provide a comprehensive mathematical representation of the entire dataset like the mean does.

The Range Definition

The range is defined as the difference between the largest and smallest values in your dataset. It is the quickest and easiest metric to calculate when you want to evaluate the spread or dispersion of your data.

Range = Largest value - Smallest value

Let's calculate the range using our basketball team example.

First, you need to pinpoint the maximum and minimum values. If your dataset isn't ordered, our dedicated Range Calculator instantly identifies these extremes for you.

Next, subtract the smallest value from the largest value:

Largest value = 2.10 m

Smallest value = 1.75 m

Therefore,

Range = 2.10 m - 1.75 m = 0.35 m

While highly useful for a quick overview of data spread, the range is susceptible to bias and distortion from outliers, as it only considers the two extreme ends of the dataset and ignores all the values in between.