Average Calculator

Calculate an arithmetic mean, sum and count with exact decimal accumulation, clear input validation and 12-significant-digit results.

← Math Tools

Calculate the arithmetic mean of a list of numbers.

MathAverageBrowser calculation

Separate values with commas, spaces or new lines.

How to calculate an average

  1. Enter numbers separated by commas, spaces or line breaks.
  2. Select Calculate Average to see the mean, value count and sum.
  3. After editing the list, calculate again. Reset restores the example.

Use a decimal point, such as 2.5. Commas separate values; they are not thousands separators or decimal commas. For example, 1,000 is read as two values, 1 and 0. Enter 1000 for one thousand.

Formula and example

Arithmetic mean = sum of all values ÷ number of values. For 10, 20, 30 and 40, the sum is 100 and the count is 4, giving an average of 25.

Zero values count. For 0, 10, 20, the sum is 30 and the mean is 10. Negative values are allowed: -5, 5 averages to zero. Repeated separators are ignored; missing entries do not become zeros.

Decimal precision and large numbers

The calculator sums entered decimal values exactly before dividing. This avoids losing a small value when large positive and negative entries cancel. For example, 10000000000000000, 1, -10000000000000000 has a sum of 1, not 0.

The displayed mean and sum are rounded to at most 12 significant digits, with scientific notation for very large or small results. A recurring decimal such as one third is therefore shown approximately. This display precision does not imply that measurements in your list are equally precise.

Scientific notation such as 1e3 is accepted. Input is limited to 20,000 characters in total, 100 characters per value, and exponents from −308 to 308. Words, currency symbols, fractions such as 1/2, hexadecimal notation and non-finite values are rejected; a bad value is identified by its position in the list.

When is the mean useful?

The arithmetic mean gives every entered value equal weight and can be influenced strongly by unusually large or small values. It does not calculate a median or mode. If items have different weights, such as course assessments with different contributions, use the Weighted Grade Calculator rather than treating all entries equally.

To compare the resulting mean with a reference amount, use the Percentage Calculator. Keep the units consistent within your list; do not average values measured in different units without converting them first.

Related tools