Average Calculator: Mean, Median, Mode, Range and Sum

Average Calculator

Find the arithmetic mean, median, mode, sum, count, minimum, maximum, range, midrange and—when defined—geometric and harmonic means.

Separate values with commas, semicolons, spaces or new lines. Use a period for decimals; commas are separators, not thousands marks. Maximum: 10,000 values.


Average, median and mode formulas

The arithmetic mean is the sum of all values divided by the number of values:

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

The median is the middle value after sorting. For an even count, it is the mean of the two middle values. The mode is the most frequent value; a dataset may have no mode or more than one mode.

Range = maximum − minimum and midrange = (minimum + maximum) ÷ 2.

For positive values, the geometric mean is (x₁ × x₂ × … × xₙ)1/n, and the harmonic mean is n ÷ Σ(1/x).

Checked examples

DatasetMeanMedianModeRange
1, 2, 3, 4, 533No mode4
1, 2, 3, 42.52.5No mode3
1, 2, 2, 32222
1, 1, 2, 2, 31.821 and 22
−4, 0, 400No mode8
10, 10, 101010100
1, 2, 42.33333333332No mode3

How to use the Average Calculator

  1. Paste or type the dataset in the numbers box.
  2. Separate observations with commas, spaces, semicolons or new lines.
  3. Select Calculate average.
  4. Review the arithmetic mean and the additional measures of center and spread.

Which average should I use?

  • Arithmetic mean: the standard average for values with equal importance.
  • Median: useful when extreme values may distort the mean.
  • Mode: identifies the most common value and works with repeated observations.
  • Geometric mean: appropriate for positive multiplicative changes, ratios or growth factors.
  • Harmonic mean: useful for averaging positive rates when the same numerator quantity is held constant.

Limits and interpretation

  • The calculator accepts 1–10,000 finite numbers, including negatives, decimals and scientific notation.
  • Commas separate observations. Enter 1250 rather than 1,250 when you mean one thousand two hundred fifty.
  • Repeated numbers must be entered repeatedly because frequency affects the mean, median and mode.
  • The geometric and harmonic means are reported only when every value is positive.
  • The arithmetic mean can be strongly affected by outliers. Compare it with the median and range.
  • Displayed results are rounded; calculations retain full JavaScript numeric precision.

Frequently asked questions

Are average and mean the same?

In everyday arithmetic, “average” usually refers to the arithmetic mean. Median, mode, geometric mean and harmonic mean are other measures of central tendency.

Can a dataset have two modes?

Yes. If two or more values share the highest repeated frequency, the calculator reports each of them.

What happens if no number repeats?

The dataset has no mode. Its arithmetic mean and median remain valid.

Does the order of the numbers matter?

No. The mean, median, mode, sum and range are unchanged when the observations are reordered.

Related calculators

Use the Weighted Average Calculator when values have unequal importance, or the Standard Deviation Calculator for variance, spread and z-scores.