Average Calculator

Enter a list of numbers to calculate mean, median, mode, and more. Results update as you type.

Standard Weighted Average
Value Weight
Averages
Arithmetic Mean 18
Median 15.5
Mode No mode
Geometric Mean --
Harmonic Mean --
Count
6
Sum
108
Min
4
Max
42
Range
38

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.

FAQ

The mean (arithmetic average) sums all values and divides by the count. The median is the middle value when numbers are sorted — half the values fall above it and half below. The mode is the value that appears most often. For symmetric data these three measures are close together; for skewed data (like incomes or house prices) the median is usually more representative than the mean.
Use the geometric mean when averaging rates of change, growth rates, or ratios — values that multiply rather than add. For example, if an investment grows 10% in year one and 50% in year two, the correct average annual growth rate is the geometric mean: sqrt(1.10 x 1.50) - 1 = about 28.4%, not (10+50)/2 = 30%. The arithmetic mean overstates compound growth.
The harmonic mean is best when averaging rates where the denominator is constant — most commonly speeds, prices per unit, or any rate expressed as quantity per time. For example, if you drive 60 mph one way and 40 mph on the return trip, the correct average speed for the round trip is the harmonic mean: 2 / (1/60 + 1/40) = 48 mph, not (60+40)/2 = 50 mph.
A weighted average assigns different levels of importance (weights) to each value. The result is the sum of (value x weight) divided by the total weight. Use it when values do not contribute equally — for example, a course grade where the final exam counts for 40% and homework counts for 20%, or a portfolio return where each asset has a different allocation. Switch to Weighted Average mode with the toggle at the top of the calculator.
A dataset can have more than one mode if multiple values appear with the same highest frequency. A dataset with two modes is called bimodal; one with three or more modes is multimodal. If every value appears exactly once, the dataset has no mode. This calculator reports all modes when more than one exists.