SoupCalc

Average Calculator with Median, Range, and Geometric Mean

What this tool calculates

The average calculator turns a list of finite numbers into a compact descriptive summary. It reports the sum and count, arithmetic mean, median, smallest and largest values, range, and—when every value is positive—the geometric mean. These measures answer different questions, so the page presents them together instead of labeling one number as the only “average.”

The calculation is deterministic: the same valid list produces the same output. Malformed tokens are rejected rather than silently removed. This matters because dropping one mistyped value can produce a plausible but misleading statistic.

Inputs

Enter numbers separated by commas, spaces, semicolons, or line breaks. Decimal values and negative values are accepted. Every token must be numeric and finite; words, empty-only input, infinity, and not-a-number values are invalid.

Decide what one observation represents before entering data. Do not mix incompatible units such as dollars and percentages, or measurements taken at different scales, without a defensible transformation. Repeated values are retained because frequency is part of the data set.

Method and formula

For values x₁ through xₙ, the arithmetic mean is:

mean = (x₁ + x₂ + … + xₙ) ÷ n

The median is the middle ordered value; for an even count it is the arithmetic mean of the two central values. The range is maximum − minimum. The geometric mean is (x₁ × x₂ × … × xₙ)^(1/n) and is shown only when all entries are greater than zero.

Geometric mean is useful for multiplicative factors, but raw percentage changes should normally be converted to growth factors first. A zero or negative observation makes the real-valued product-root interpretation unsuitable, so the tool displays N/A for that field while still reporting the other statistics.

Worked example

Enter 1, 2, 3, 4.

  • Sum: 10; count: 4.
  • Arithmetic mean: 10 ÷ 4 = 2.5.
  • Ordered middle pair: 2 and 3, so median: (2 + 3) ÷ 2 = 2.5.
  • Minimum: 1; maximum: 4; range: 4 − 1 = 3.
  • Geometric mean: (1 × 2 × 3 × 4)^(1/4) ≈ 2.21336.

If the text were 1, two, 3, the entire input would be rejected. Correcting the token is safer than calculating over only 1 and 3.

How to interpret the result

Use the arithmetic mean when a total is meaningfully shared across observations. Compare it with the median to see whether extreme values may be pulling the center. A mean far above the median often indicates a long upper tail, although a small list is not enough to characterize a distribution reliably.

Range communicates total spread but depends only on two observations. Pair it with the count and, for fuller analysis, a variance or standard-deviation measure. The geometric mean should be interpreted on a multiplicative scale, not as a substitute for an arithmetic mean in every data set.

Accuracy and limitations

Results are limited by JavaScript floating-point arithmetic and the displayed decimal rounding. Very large products can overflow during geometric-mean calculation, and very different magnitudes can lose small amounts of precision. The tool does not infer weights, remove outliers, estimate uncertainty, or distinguish a sample from a population.

Summary statistics cannot repair selection bias, measurement error, missing observations, or incompatible units. Review the raw data and collection method before using a central value for a decision. For regulated or scientific work, retain the source records and use a documented statistical workflow.

Sources

Editorial record

Author: SoupCalc Editorial Team

Last reviewed: August 14, 2026

Review scope: Token validation, formulas, geometric-mean restrictions, statistical interpretation, authority references, and the four-value worked example were checked.