Average Calculator

Calculate mean, median, and mode for any set of numbers — free, instant, and accurate.

Enter Numbers
Embed This Average Calculator on Your Website

Want to add this average calculator to your website? Get a custom embed code that matches your site's design and keeps visitors engaged.

Responsive design
Custom styling
Fast loading
Mobile optimized

What Is an Average?

An average is a single number used to represent an entire dataset. The most common type is the arithmetic mean — simply divide the sum of all values by the count of values. The mean is ideal when your data is roughly symmetric and doesn't have extreme outliers. For example, finding the average of exam scores or monthly temperatures works well with the mean because those values tend to cluster around a center.

The median is the middle value when your data is sorted, making it resistant to outliers. It's the preferred measure for skewed distributions — household income statistics, for instance, use the median because a few billionaires would inflate the mean dramatically. The mode is the value that appears most often and is especially useful for categorical data, like finding the most popular shoe size or the most common survey response. Understanding which measure fits your situation is what turns raw numbers into real insight.

How to Use This Calculator

  1. 1Enter your list of numbers separated by commas or spaces (e.g., 4, 7, 13, 2, 7, 10).
  2. 2Select which measures to calculate — mean, median, mode, or all at once.
  3. 3Click Calculate to run the analysis instantly.
  4. 4Review your results: mean, median, mode, count, sum, and range are all displayed together.

Formulas & Definitions

Mean (Arithmetic Average): Mean = Sum of all values / Count of values Median (Middle Value): Sort values; if odd count: middle value If even count: average of two middle values Mode (Most Frequent): The value(s) appearing most often Can have no mode, one mode, or multiple modes Range = Maximum − Minimum

For large datasets with outliers, the median is more representative than the mean. The mode is most useful for categorical or discrete data where frequency matters more than magnitude.

Worked Examples

Example 1: Basic Dataset [4, 7, 13, 2, 7, 10]

Sum = 4 + 7 + 13 + 2 + 7 + 10 = 43. Mean = 43 ÷ 6 = 7.17. Sorted: [2, 4, 7, 7, 10, 13] — even count, so Median = (7 + 7) ÷ 2 = 7.00. Mode = 7 (appears twice, more than any other value). Range = 13 − 2 = 11.

Example 2: Test Scores [85, 90, 78, 92, 88]

Sum = 433. Mean = 433 ÷ 5 = 86.60. Sorted: [78, 85, 88, 90, 92] — odd count, so Median = 88 (the 3rd value). Mode = none (all values appear exactly once). Range = 92 − 78 = 14. Here mean and median are close, confirming the data is fairly symmetric.

Example 3: Dataset with an Outlier [12, 45, 13, 15, 180, 14]

Sum = 279. Mean = 279 ÷ 6 = 46.50 — pulled way up by the outlier 180. Sorted: [12, 13, 14, 15, 45, 180]. Median = (14 + 15) ÷ 2 = 14.50 — far more representative of the typical value. This example shows why median is preferred when outliers are present.

Frequently Asked Questions

When should I use the median instead of the mean?
Use the median whenever your data has significant outliers or is heavily skewed. Income, home prices, and response times are classic examples — a few extremely high values inflate the mean, making it unrepresentative of the typical case. The median is unaffected by those extremes and better reflects the center of the distribution.
What is a weighted average?
A weighted average assigns different levels of importance (weights) to each value before averaging. For example, if a final exam counts for 50% of your grade but homework counts for 20%, you multiply each score by its weight, sum the results, then divide by the total weight. The standard mean treats all values equally; the weighted mean does not.
How do outliers affect the average?
Outliers can dramatically distort the arithmetic mean. A single very large or very small value shifts the mean toward itself. This is why statisticians always check for outliers before reporting averages. If outliers are present and meaningful, report both the mean and the median so readers can judge the data's shape for themselves.
What is the geometric mean?
The geometric mean multiplies all values together and then takes the nth root (where n is the count). It is used for data that grows multiplicatively — investment returns, population growth rates, and ratios. For example, if an investment grows 10% one year and 50% the next, the geometric mean growth rate is √(1.10 × 1.50) − 1 ≈ 28.45%, which better reflects compounding than the arithmetic mean of 30%.
What is the difference between population mean and sample mean?
The population mean (μ) is calculated from every member of the group you care about. The sample mean (x̄) is calculated from a subset. The formulas look identical — sum divided by count — but the notation differs and the interpretation matters. When estimating a population mean from a sample, statisticians use n − 1 in the denominator for variance (Bessel's correction) to account for the uncertainty of sampling.