Mean Median Mode & Range Calculator

Calculate the mean, median, mode, range, sum, minimum, and maximum of any dataset instantly.

Use commas only to separate numbers. Thousands separators (e.g. 1,000) are not supported.

Results

Mean
Median
Mode
Count
Sum
Min
Max
Range

How to Use This Calculator

Enter your numbers into the box above, separated by commas. For example:

12, 15, 22, 15, 30

You can separate numbers using commas, spaces, semicolons (;), or line breaks, making it easy to paste data from spreadsheets or other documents.

Click Calculate to instantly display:

  • Mean
  • Median
  • Mode
  • Range
  • Sum
  • Count
  • Minimum Value
  • Maximum Value

Use Copy Results to copy a plain-text summary to your clipboard, or click Clear to remove all values and start a new calculation.

Input Guidelines

  • Supports decimal numbers (for example, 4.5)
  • Supports negative numbers (for example, -3)
  • Do not use commas as thousands separators. Enter 1000 instead of 1,000.
  • Press Ctrl + Enter (Windows) or Cmd + Enter (Mac) to calculate instantly.
  • All calculations are performed locally in your browser. Your data is never uploaded or stored.

What Are Mean, Median, Mode, and Range?

Mean, median, mode, and range are four of the most common measures used in descriptive statistics. Each provides different information about a dataset.

Mean

The mean, commonly called the average, is calculated by adding every value together and dividing the total by the number of values.

Since every number contributes to the calculation, the mean can be influenced by unusually large or unusually small values (outliers).

Median

The median is the middle value after arranging the numbers from smallest to largest.

  • If there is an odd number of values, the middle number is the median.
  • If there is an even number of values, the median is the average of the two middle numbers.

Unlike the mean, the median is much less affected by outliers.

Mode

The mode is the value that appears most frequently.

A dataset may have:

  • One mode
  • Two modes (bimodal)
  • Multiple modes (multimodal)
  • No mode at all if every value appears only once

Range

The range measures how spread out the data is.

It is calculated by subtracting the smallest value from the largest value.

Formula

Range = Maximum Value − Minimum Value


How to Calculate Mean, Median, Mode, and Range Manually

Understanding these calculations helps verify results and better understand your data.

Mean

Formula

Mean = (Sum of Values) ÷ (Number of Values)

Steps

  1. Add all numbers.
  2. Count how many numbers there are.
  3. Divide the total by the count.

Median

  1. Arrange numbers in ascending order.
  2. Find the middle value.
  3. If there are two middle values, average them.

Mode

  1. Count how many times each value appears.
  2. Identify the value(s) with the highest frequency.
  3. If every value appears only once, there is no mode.

Range

Formula

Range = Maximum Value − Minimum Value

Steps

  1. Find the largest value.
  2. Find the smallest value.
  3. Subtract the smallest from the largest.

Worked Examples

Example 1: Odd Number of Values

Dataset:

5, 7, 3, 7, 10, 7, 2

MeasureCalculationResult
Count7
Sum5 + 7 + 3 + 7 + 10 + 7 + 241
Mean41 ÷ 75.857143
Sorted Data2, 3, 5, 7, 7, 7, 10
MedianMiddle value7
Mode7 appears three times7
Range10 − 28

Example 2: Even Number of Values

Dataset:

4, 8, 15, 16, 23, 42

MeasureCalculationResult
Count6
Sum4 + 8 + 15 + 16 + 23 + 42108
Mean108 ÷ 618
Sorted Data4, 8, 15, 16, 23, 42
Median(15 + 16) ÷ 215.5
ModeEvery value appears onceNo Mode
Range42 − 438

Example 3: Bimodal Dataset

Dataset:

2, 4, 4, 6, 8, 8, 10

MeasureCalculationResult
Count7
Sum4242
Mean42 ÷ 76
Sorted Data2, 4, 4, 6, 8, 8, 10
MedianMiddle value6
Mode4 and 84, 8
Range10 − 28

You can copy any of these datasets into the calculator above to verify the results instantly.


Mean vs Median vs Mode: Which One Should You Use?

Choose the statistic that best matches your data.

Use the Mean

The mean works best when data is evenly distributed without significant outliers.

Example:

  • Average exam scores
  • Average monthly expenses

Use the Median

The median is ideal when data contains extreme values.

Example:

  • Household income
  • Home prices
  • Property values

Use the Mode

The mode identifies the most common value.

Example:

  • Most popular shoe size
  • Most common survey response
  • Best-selling product size

Use the Range

The range quickly shows how spread out the data is.

Example:

  • Weekly temperature changes
  • Daily stock price fluctuations

Real-World Applications

These statistical measures are widely used in many industries.

Education

Teachers calculate average grades and identify typical student performance.

Business and Finance

Companies analyze salaries, revenue, sales, and pricing data.

Sports

Coaches evaluate player performance and consistency.

Research

Researchers summarize survey results and experimental data.

Retail

Businesses determine their best-selling products and inventory trends.


Frequently Asked Questions

Is mean the same as average?

Yes. Mean and average are two names for the same calculation.


Can a dataset have more than one mode?

Yes. A dataset may have two modes (bimodal) or several modes (multimodal).


What if every number appears only once?

If every value appears only once, there is generally no mode. However, if the dataset contains only one value, the calculator returns that value as the mode.


How is the median calculated for an even number of values?

Sort the numbers and average the two middle values.


Should I use the mean or median for income?

The median is generally preferred because it is less affected by extremely high incomes.


Why can’t I enter numbers like 1,000?

Commas separate individual numbers inside the calculator.

Enter:

1000

instead of

1,000


About This Calculator

This Mean Median Mode Calculator quickly calculates the mean, median, mode, range, sum, count, minimum value, and maximum value using standard statistical formulas.

It correctly handles datasets with:

  • One mode
  • Multiple modes
  • No mode
  • Negative numbers
  • Decimal values

All calculations are performed instantly inside your browser, ensuring your data remains private and is never uploaded or stored.

Want to learn more about our website and the free online tools we provide? Visit our About Us page to learn more.