Skip to content
Embed

Paste this on your site. The attribution link is required and is what makes embedding free.

Mean Median Mode Range Calculator — Free Online Tool

Find the mean, median, mode, and range of any dataset instantly, plus geometric mean, harmonic mean, and summary statistics.

9 numbers detected

Arithmetic Mean

18.3333

Sum of values divided by count

Median

18.0000

Middle value when sorted

Mode

15.00

Most frequent value(s)

Range

22.0000

Max minus Min

Geometric Mean

17.1494

Harmonic Mean

15.9008

Count

9

Sum

165.00

Min

8.00

Max

30.00

Sorted Data

8.00, 12.00, 15.00, 15.00, 18.00, 20.00, 22.00, 25.00, 30.00

Comparison of Mean Types

Mean Type Formula Best For Example Use
Arithmetic Σx / n Additive data Test scores, heights
Geometric (∏x)^(1/n) Multiplicative data Growth rates, returns
Harmonic n / Σ(1/x) Rates and ratios Average speed, P/E ratios
Median Middle value Skewed data Income, house prices
Mode Most frequent Categorical data Shoe sizes, survey responses

Related Calculators

About this calculator

Mean, Median, Mode, and Range Formulas

Arithmetic Mean

Mean = (x₁ + x₂ + ... + xₙ) / n

Geometric Mean

GM = (x₁ × x₂ × ... × xₙ)^(1/n)

Harmonic Mean

HM = n / (1/x₁ + 1/x₂ + ... + 1/xₙ)

Range

Range = Max - Min

Variables Explained

  • x₁, x₂, ..., xₙ: The individual data values in your dataset. Each value is a single observation or measurement.
  • n: The total number of values in the dataset. This is the count of observations used in the calculations.
  • Median: The middle value after sorting all values in ascending order. For even-sized datasets, it is the average of the two middle values.
  • Mode: The value that appears most frequently. A dataset may have zero, one, or multiple modes.

Step-by-Step Example

Find the mean, median, mode, and range for: 3, 7, 7, 12, 15, 18, 18, 18, 24

  1. Count the values: n = 9
  2. Calculate the sum: 3 + 7 + 7 + 12 + 15 + 18 + 18 + 18 + 24 = 122
  3. Arithmetic Mean: 122 / 9 = 13.556
  4. Median: Data is already sorted. The 5th value (middle of 9) = 15
  5. Mode: 18 appears 3 times (most frequent) = 18
  6. Range: 24 - 3 = 21

Notice that mean (13.556) is less than median (15), which is less than mode (18). This pattern suggests a slightly left-skewed distribution where a few lower values pull the mean downward.

Sources

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.

Last updated: November 3, 2026