Average Calculator

Calculate the arithmetic mean, median, mode, range, geometric mean, and sum of any dataset. Free online math calculator with instant step-by-step results.

Free, no sign-upRuns in your browserUpdated November 2026

Number Dataset

Statistical Summary

Mean (Average)
20.57
Sum ÷ Count
Median (Middle)
22.00
50th Percentile
Mode 22
Range 18
Count (N) 7
Sum (Σ) 144
Minimum Value12
Maximum Value30
Geometric Mean19.72
Sorted Sequence12, 15, 18, 22, 22, 25, 30

How to use the Average Calculator

  1. Paste or type numbers into the dataset text box separated by commas, spaces, or line breaks.
  2. Click Calculate Statistics or watch live updates as you type.
  3. Compare the Arithmetic Mean against the Median to identify statistical skewness from outliers.
  4. Inspect the Mode, Range, Sum, Minimum, and Maximum values.

Understanding Measures of Central Tendency

In statistics, an average is a single summary number that represents the central point or typical value of a dataset. While colloquially "average" usually refers to the arithmetic mean, mathematicians and economists rely on several complementary measures of central tendency to capture the full truth of a distribution:

  • Arithmetic Mean: The sum of all values divided by the total number of items ($N$). Highly intuitive, but sensitive to extreme outliers.
  • Median: The physical midpoint value when data is arranged in ascending order. In skewed datasets (such as US household income or real estate prices), the median is vastly superior to the mean because extreme multimillion-dollar outliers do not distort it.
  • Mode: The value that appears most frequently in the sample. A distribution can have one mode (unimodal), two modes (bimodal), multiple modes, or no mode if all values appear with equal frequency.
  • Range: The difference between the highest value (maximum) and lowest value (minimum), indicating the basic dispersion of the data.
  • Geometric Mean: The $n$-th root of the product of $n$ numbers. Essential for compounding growth rates, investment returns, and financial ratios.
Arithmetic Mean (μ) = Σx ÷ N = (x1 + x2 + ... + xn) ÷ N
Geometric Mean = (x1 × x2 × ... × xn)1/n

Worked Example: Comparing Mean vs Median with Outliers

Suppose you are analyzing the annual salaries of 7 employees in a small tech startup:

EmployeeRoleAnnual Salary ($)
1Junior Associate$45,000
2Support Specialist$52,000
3Accountant$55,000
4Senior Engineer$58,000 (Median)
5Product Manager$62,000
6Director$65,000
7Founder / CEO$350,000

Calculating the statistics for this sample reveals a dramatic difference:

  • Total Payroll Sum (Σ): $687,000 across 7 workers
  • Arithmetic Mean: $687,000 ÷ 7 = $98,142
  • Median: $58,000

If you report only the mean ($98,142), it gives the deceptive impression that a typical employee earns nearly six figures, whereas 6 out of 7 employees actually make under $65,000. The median ($58,000) provides a far more honest depiction of typical compensation.

When to Use Arithmetic vs Geometric Mean

Use the standard arithmetic mean when calculating test grades, temperature averages, physical weights, and daily mileage. However, when calculating percentages that compound multiplicatively over time—such as annual stock portfolio returns or compound inflation rates—the arithmetic mean consistently overstates true yield. You must use the Geometric Mean (or CAGR) for accurate compound growth rates.

100% Client-Side Privacy

Whether you are calculating sensitive employee payroll benchmarks, personal medical biometric measurements, or confidential academic test grades, all mathematical computations run purely within your browser's local JavaScript engine. No data ever leaves your device.

Frequently asked questions

What is the difference between Mean and Median?
The mean is the arithmetic sum of numbers divided by the count. The median is the middle value when all numbers are ordered from least to greatest. The median is resistant to extreme outliers.
Can a dataset have more than one mode?
Yes. If two values tie for the highest frequency, the dataset is bimodal. If three or more tie, it is multimodal. If no number repeats, there is no mode.
How do you find the median if there is an even number of items?
Take the two middle numbers and calculate their arithmetic average (add them together and divide by 2).
What is the Range of a dataset?
The range is the difference between the maximum (highest) and minimum (lowest) value in the dataset (Range = Max - Min).
Why is Geometric Mean useful in finance?
The geometric mean accounts for compounding over multiple periods, preventing the upward bias that the arithmetic mean introduces when averaging annual percentages.
Does this calculator support decimals and negative numbers?
Yes, negative numbers and decimals are fully supported for mean, median, mode, and range.

Last reviewed November 2026. Results are estimates for information only — see our disclaimer.