Skip to content
Return to Calculators Hub

Mean, Median, Mode, Range Calculator

Math

Quickly calculate the mean (average), median (middle value), mode (most frequent), and range (difference between maximum and minimum) for any set of numbers.

Presets:
Separate numbers by commas, spaces, or lines.
Mean (Average)
5.2
Sum: 52 / 10
Median (Middle)
5
Center (50th %)
Mode (Most Frequent)
2, 5, 8
Freq: 2
Range (Max - Min)
7
9 - 2
Dataset Overview
Count (N) 10
Sum (∑x) 52
Min / Max 2 / 9
Mid-Range 5.5
Ascending Sorted Sequence:
2 2 3 4 5 5 6 8 8 9

Step-by-Step Derivations

1 1. Mean (Average)
x̄ = (∑ x) / n = (4 + 8 + 6 + 5 + 3 + 2 + 8 + 9 + 2 + 5) / 10 = 52 / 10 = 5.2

Add all numbers together and divide by the total count.

2 2. Median (Middle Value)
Ordered: [2, 2, 3, 4, 5, 5, 6, 8, 8, 9]. Average of two middle values (5 + 5) / 2 = 5

Arrange numbers from smallest to largest and find the exact center value.

3 3. Mode (Most Frequent Value)
Mode = 2, 5, 8 (appears 2 times)

The value that occurs most often in the dataset.

4 4. Range (Spread)
Range = Maximum - Minimum = 9 - 2 = 7

Difference between highest and lowest values in the dataset.

How This Calculator Works

Mean, median, mode, and range are the four foundational measures of summary statistics. The first three describe the center of a distribution, while range describes its overall breadth.

📐 Formulas & Definitions
Mean = (∑x) / n | Median = Middle value of ordered set | Range = Max - Min
Mean: Arithmetic average calculated by dividing the sum of all values by total count
Median: The middle value when ordered from least to greatest (average of middle two if n is even)
Mode: The number that occurs with highest frequency in a data set
Range: Total spread between maximum and minimum observations
Mid-range: The midpoint between extreme values: (Min + Max) / 2

Key Mathematical Rules & Properties

When to Use Median Over Mean

Use median when data contains severe outliers or extreme skew (such as household incomes or house prices), because the median is resistant to extreme values.

Handling Multiple Modes

A dataset can have no mode (if all values appear once), one mode (unimodal), two modes (bimodal), or several modes (multimodal).

✎

Worked Example: 7 Numbers

Calculate mean, median, mode, and range for: 3, 7, 5, 13, 20, 23, 39.

  1. 1. Ordered set: 3, 5, 7, 13, 20, 23, 39 (n = 7).
  2. 2. Mean = (3 + 5 + 7 + 13 + 20 + 23 + 39) / 7 = 110 / 7 ≈ 15.71.
  3. 3. Median: Middle value at position (7 + 1)/2 = 4th value = 13.
  4. 4. Mode: None (all values appear exactly once).
  5. 5. Range = 39 - 3 = 36.
Final Answer: Mean ≈ 15.71, Median = 13, Mode = None, Range = 36

Frequently Asked Questions

Can the mean, median, and mode be equal?

Yes! In a perfectly symmetric normal distribution (bell curve), the mean, median, and mode are exactly identical.

Understanding your calculation

Method, example and limitations

How the calculation works

The mean is sum divided by count; the median is the middle of the sorted data; modes are most frequent values; the range is maximum minus minimum.

Example to check

For 1, 2, 2 and 7, the mean is 3, median is 2, mode is 2 and range is 6.

Before using the result

Multiple modes or no uniquely most frequent value are possible. The mean is more sensitive to extreme observations than the median.

Calculation methodology · Report a result that needs review