Skip to content
Embed

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

Average Calculator — Free Online Mean, Median, Mode Calculator

Calculate the mean, median, mode, range, sum, and count for any set of numbers with flexible input formats and instant results.

7 valid numbers entered

Parsed Values

10.000015.000020.000025.000030.000035.000040.0000

Results

25.0000

Mean (Average)

Mean25.0000
Median25.0000
ModeNo mode
Range30.0000
Sum175.0000
Count7

Formula

Mean = 175.00 / 7 = 25.0000

Measures of Central Tendency Comparison

Measure Strengths Weaknesses Best For
Mean Uses all data points Sensitive to outliers Symmetric data, no outliers
Median Resistant to outliers Ignores extreme values Skewed data, income, prices
Mode Works with categorical data May not exist or be unique Most popular item, surveys
Range Simple to calculate Only uses two values Quick spread assessment
Weighted Mean Accounts for importance Needs weight assignments GPA, portfolio returns
Geometric Mean Good for rates of change Cannot handle zero/negatives Investment returns, growth

Related Calculators

About this calculator

Average Formulas

Arithmetic Mean (Average)

Mean = (x1 + x2 + ... + xn) / n

Median (Odd Count)

Median = x[(n+1)/2] (middle value when sorted)

Median (Even Count)

Median = (x[n/2] + x[n/2 + 1]) / 2

Range

Range = Max(x) - Min(x)

Variables Explained

  • x1, x2, ..., xn: The individual data values in your dataset. These can be any real numbers including negatives and decimals. The subscript indicates their position in the dataset.
  • n: The total count of values in the dataset. This is the number of valid entries you provide. A larger n generally produces more reliable statistical measures.
  • Mean: The arithmetic average, calculated by dividing the sum of all values by the count. It represents the "center of gravity" of the data and is affected by every value, including outliers.
  • Median: The middle value in a sorted dataset. For an even number of values, it is the average of the two central values. The median is resistant to outliers and skewness.
  • Mode: The most frequently occurring value. A dataset may have no mode (all values unique), one mode (unimodal), or multiple modes (multimodal).

Step-by-Step Example

Calculate the mean, median, mode, and range for the dataset: 12, 15, 15, 18, 22, 25, 30

  1. Sum all values: 12 + 15 + 15 + 18 + 22 + 25 + 30 = 137
  2. Count values: n = 7
  3. Mean: 137 / 7 = 19.5714
  4. Sort the data (already sorted): 12, 15, 15, 18, 22, 25, 30
  5. Median (middle value, position 4): 18
  6. Mode (most frequent): 15 (appears twice)
  7. Range: 30 - 12 = 18

Notice how the three measures of central tendency (mean, median, mode) give different values: 19.57, 18, and 15 respectively. This is because the data is slightly right-skewed, with the higher values pulling the mean above the median.

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