Math

Average Calculator

Calculate mean, median, mode, range, and weighted average from a list of numbers. Step-by-step solutions for every calculation.

Quick Answer

The mean is the sum divided by the count. The median is the middle value when sorted. The mode is the most frequent value. The range is max minus min. Enter your numbers separated by commas or spaces.

Enter Your Numbers

Separate numbers with commas, spaces, or new lines.

Results

Mean
30
Median
30
Mode
None
Range
40
Min
10
Max
50

Step-by-Step

Sorted data (5 values)

10, 20, 30, 40, 50

Mean

(10 + 20 + 30 + 40 + 50) / 5 = 150 / 5 = 30

Median

Middle value (position 3): 30

Range

50 - 10 = 40

About This Tool

The Average Calculator is an all-in-one descriptive statistics tool that computes the five most common measures of central tendency and spread from any list of numbers. Paste in your data — grades, prices, measurements, survey responses, or any set of values — and instantly see the mean, median, mode, range, and optionally a weighted average. Every result includes a step-by-step explanation so you can follow the calculation and learn the underlying math.

Mean (Arithmetic Average)

The mean is the most widely used measure of central tendency. Add all the values together and divide by the count: mean = Σx / n. It incorporates every data point, which makes it comprehensive but also sensitive to outliers. A single extreme value can pull the mean significantly away from the center of the data. For normally distributed data (bell curve), the mean is the best estimate of the typical value. It is used in finance (average returns), sports (batting averages), education (grade point averages), and virtually every field that collects numerical data.

Median: The Resistant Alternative

The median is the middle value in a sorted dataset. For an odd number of values, it is the center value. For an even number, it is the average of the two center values. The median is "resistant" because it does not change when extreme values are added or modified. This makes it ideal for skewed distributions like household income, home prices, and hospital wait times. When someone says the "median household income," they use the median precisely because a few billionaires would distort the mean.

Mode: The Most Frequent Value

The mode is the value that occurs most often in a dataset. A dataset can have no mode (all values unique), one mode (unimodal), two modes (bimodal), or more (multimodal). The mode is the only measure of central tendency that works for categorical data (e.g., the most popular color). In continuous data, mode is less commonly used but can reveal peaks in distributions and help identify clusters.

Range and Spread

The range is the simplest measure of dispersion: max minus min. It tells you the total span of the data but is heavily influenced by outliers. For a more robust picture, pair the range with the interquartile range (IQR), standard deviation, or variance. A narrow range with a low standard deviation indicates tightly clustered data; a wide range suggests high variability.

Weighted Averages

A weighted average assigns different importance to each value. Instead of treating all values equally, you multiply each by its weight, sum the products, and divide by the total weight. This is how GPAs work (credit hours are weights), how portfolio returns are calculated (investment amounts are weights), and how composite scores are built from sub-scores. The weighted average collapses to the arithmetic mean when all weights are equal.

Choosing the Right Measure

No single average tells the whole story. Use the mean for symmetric, outlier-free data. Use the median for skewed distributions or when outliers are present. Use the mode for categorical data or to find the most common value. Report the range (or standard deviation) alongside the average to convey variability. In practice, presenting mean, median, and range together gives the most complete picture of a dataset.

Frequently Asked Questions

What is the difference between mean, median, and mode?
The mean (arithmetic average) is the sum of all values divided by the count. The median is the middle value when data is sorted — it splits the data into two equal halves. The mode is the value that appears most frequently. For symmetric distributions, all three are similar. For skewed data, the median is often more representative than the mean because it resists outlier influence.
When should I use the median instead of the mean?
Use the median when your data has outliers or is skewed. For example, if five employees earn $40K, $45K, $50K, $55K, and $500K, the mean is $138K (misleading), but the median is $50K (representative). Income, home prices, and response times are commonly reported as medians for this reason.
What is a weighted average and when is it useful?
A weighted average assigns different importance (weights) to each value. The formula is: Σ(value × weight) / Σ(weights). Example: if your midterm (weight 30%) is 85 and your final (weight 70%) is 92, your weighted average is (85×0.3 + 92×0.7) / 1.0 = 89.9. Weighted averages are used in GPA calculations, financial portfolios, and survey analysis.
What does the range tell me about my data?
The range is the difference between the largest and smallest values: Range = Max - Min. It measures the spread of your data but is sensitive to outliers. A large range suggests high variability. For a more robust measure of spread, consider the interquartile range (IQR) or standard deviation.
Can a dataset have more than one mode?
Yes. A dataset with two modes is bimodal, and one with more is multimodal. For example, {1, 2, 2, 3, 3} has modes 2 and 3. If every value appears the same number of times, there is no mode. Multimodal distributions often indicate that the data comes from multiple distinct groups or populations.

Was this tool helpful?