Average Calculator
Enter a list of numbers to calculate mean, median, mode, and more. Results update as you type.
| Value | Weight |
|---|
Understanding the Different Types of Averages
The word "average" is used loosely in everyday language, but in mathematics and statistics there are several distinct measures of central tendency, each designed to capture a different aspect of a dataset. Knowing which average to use — and when — can make the difference between an accurate analysis and a misleading one.
Arithmetic Mean
The arithmetic mean is what most people mean when they say "average." You sum all the values and divide by the count. It works well when the values are roughly symmetric and there are no extreme outliers. However, a single very large or very small value can pull the mean far from the center of the data. For example, a class of nine students scoring 70 and one student scoring 100 produces a mean of 73 — slightly misleading as a representation of "typical" performance when nine out of ten scored 70.
Formula: Mean = (x₁ + x₂ + … + xₙ) / n
Median
The median is the middle value when the data is sorted in order. If there is an even number of values, it is the mean of the two middle values. The median is resistant to outliers, which is why it is preferred for income distributions (a handful of billionaires would drag the arithmetic mean far above what a "typical" person earns), house prices, and any data that is likely to be skewed.
Mode
The mode is the value (or values) that appear most frequently. A dataset can have no mode (all values distinct), one mode (unimodal), two modes (bimodal), or multiple modes (multimodal). The mode is particularly useful for categorical data — for example, the most common shoe size sold — where arithmetic operations on the values are not meaningful.
Geometric Mean
The geometric mean is the nth root of the product of n values. It is the correct average for data that grows multiplicatively: investment returns, population growth rates, price index ratios. If an investment returns +100% in year one and -50% in year two, the arithmetic mean suggests a 25% average gain — but you actually break even. The geometric mean gives the correct result: sqrt(2 × 0.5) = 1.0, meaning 0% net growth. Note that the geometric mean is only defined when all values are positive.
Formula: Geometric Mean = (x₁ × x₂ × … × xₙ)^(1/n)
Harmonic Mean
The harmonic mean is the reciprocal of the arithmetic mean of the reciprocals. It is the right choice when averaging rates or ratios where a fixed denominator applies — most commonly speed (distance per time), fuel efficiency (miles per gallon), or price-to-earnings ratios. If you drive 60 mph for 1 hour and 30 mph for 1 hour, the arithmetic mean (45 mph) is correct. But if you drive 60 mph for a fixed distance and 30 mph for the same fixed distance, the harmonic mean (40 mph) gives the true average speed for the round trip. The harmonic mean is only defined when all values are positive and non-zero.
Formula: Harmonic Mean = n / (1/x₁ + 1/x₂ + … + 1/xₙ)
Weighted Average
A weighted average lets you assign different levels of importance to each value. The result is the sum of (value × weight) divided by the total weight. Use the weighted average whenever values do not contribute equally to the outcome: calculating a grade point average (each course has different credit hours), computing a portfolio's return (each asset has a different allocation), or finding the average cost of inventory purchased at different prices and quantities.
Formula: Weighted Mean = (w₁x₁ + w₂x₂ + … + wₙxₙ) / (w₁ + w₂ + … + wₙ)
Which Average Should You Use?
A useful rule of thumb: use the arithmetic mean for additive data with no extreme outliers; use the median when data is skewed or has outliers; use the mode for categorical or discrete frequency data; use the geometric mean for growth rates and ratios; use the harmonic mean for rates with a fixed denominator; use the weighted average when observations have unequal importance. This calculator computes all of them simultaneously so you can compare and choose the most appropriate measure for your situation.
Count, Sum, Min, Max, and Range
Alongside the averages, this calculator displays basic descriptive statistics. Count tells you how many values were entered. Sum is their total. Min and Max are the smallest and largest values. Range is Max minus Min, giving a simple measure of how spread out the data is. These statistics together provide a quick summary of a dataset before deeper analysis.