Numfino

Average Calculator

Find the mean, median, mode, range and spread of any data set in seconds. Enter your values separated by commas, spaces or lines to view full summary statistics.

Separate with commas, spaces or new lines
Average (mean)20
Average (mean)20
Median
18
Mode
15
Sum
140
Count
7
Smallest
12
Largest
31
Range
19
Geometric mean
19.0032
Standard deviation (population)
6.4587
Standard deviation (sample)
6.9761

How to use this calculator

  1. Enter your values into the Numbers field, separated by commas, spaces or line breaks.
  2. Review Average (mean), Median and Mode to identify the central tendency of your data set.
  3. Check Sum, Count, Smallest, Largest and Range for a quick summary of the boundaries.
  4. Read Standard deviation (population) or Standard deviation (sample), and check Geometric mean for compounding growth.

How the average is calculated

The arithmetic mean is what most people call the average. To calculate it, add all values together and divide that sum by the total count of numbers.

Mean = Sum ÷ Count = (x₁ + x₂ + ... + xₙ) ÷ n
  • Mean = sum of all values divided by count
  • Median = middle number after sorting (or mean of the two middle values if count is even)
  • Mode = value that appears most often (none if all values appear once; multiple if tied)
  • Geometric mean = n-th root of the product of all positive numbers
  • Range = largest value − smallest value
  • Standard deviation = measure of spread (divides by n for population, n − 1 for sample)

Different questions require different measures of central tendency. The median finds the middle value when numbers are sorted in order. The mode identifies the number that appears most frequently in your list.

For measuring spread, the range tracks the difference between the largest and smallest values. The standard deviation measures how far values typically scatter from the mean.

Worked example: 12, 15, 15, 18, 22, 27, 31

When you open the calculator, it loads the default data set: 12, 15, 15, 18, 22, 27, 31. The Count is 7 and the total Sum is 140. Dividing 140 by 7 gives an Average (mean) of 20.

Because the 7 values are sorted, the fourth value sits in the center: the Median is 18. The value 15 appears twice while all other values appear once, so the Mode is 15.

The Smallest value is 12 and the Largest value is 31, producing a Range of 19. The Geometric mean evaluates to 19. For spread, the Standard deviation (population) is 6.46, and the Standard deviation (sample) is 6.98.

How to read the results: mean versus median

Compare the mean and median to see whether extreme values distort your summary. The arithmetic mean considers every number, which means high or low outliers pull the average toward them.

For instance, consider the data set 1, 2, 3, 10. The Sum is 16 and the Count is 4, yielding an Average (mean) of 4. However, the Median is 2.5, and the list has No mode.

Here, three of the four numbers sit below the mean. In data with skewed values or large outliers, the median represents a typical value better than the mean.

Use the geometric mean when evaluating rates of return or percentage growth over time. An arithmetic mean can overstate compounding growth, whereas the geometric mean accounts for compounding multiplication.

Common mistakes when averaging numbers

A frequent error is averaging percentages that have unequal group sizes. If you average the percentage scores of two classes without accounting for student counts, the result is inaccurate. In such cases, use the weighted average calculator instead.

Another mistake is selecting the wrong standard deviation formula. Use population standard deviation when your numbers represent the entire group. Use sample standard deviation when your numbers come from a sample of a larger population.

When tracking investment purchases over time, adding share prices together produces an inaccurate picture. Use the average cost calculator to determine your true per-unit cost based on actual share quantities bought.

If you need to evaluate relative change between two figures rather than an overall average, use the percentage calculator or check relative differences with the percent difference calculator.

Assumptions and limits of the calculator

The calculator treats every number with equal weight. It assumes an unweighted arithmetic distribution unless you use the geometric mean output. For grouped data with differing weights, calculate a weighted average.

The geometric mean requires strictly positive numbers. If your data set contains zero or negative values, the geometric mean cannot be computed.

The tool does not model probability distributions, continuous variables or missing observations. It computes descriptive summary statistics directly from the numbers you enter.

Rounding on summary metrics follows standard numerical precision. When using these outputs for financial reporting or academic analysis, confirm whether your institution mandates specific rounding rules or sample corrections.

Frequently asked questions

What is the difference between mean and median?

The mean is the sum of all values divided by the count, while the median is the middle value when the numbers are sorted. The mean is sensitive to extreme outliers, whereas the median remains stable.

When should I use the geometric mean instead of the arithmetic mean?

Use the geometric mean for numbers that multiply together, such as investment returns, interest rates and percentage growth rates. The arithmetic mean is best for independent additive values.

Can a data set have more than one mode?

Yes. A data set can have one mode, multiple modes if two or more values tie for the highest frequency, or no mode at all if every value appears only once.

Why is sample standard deviation divided by n minus 1?

Dividing by n − 1 corrects for bias when estimating the spread of a larger population from a small sample. If you have data for the entire population, you divide by n instead.

How do you calculate an average when values have different weights?

Multiply each value by its corresponding weight, add those weighted products together, and divide by the sum of the weights.

Sources and further reading

Last reviewed November 21, 2026 · How we calculate