Skip to content

Average Calculator

Calculate mean, median, mode, range, and standard deviation. Enter any set of numbers for complete statistical analysis.

0 numbers entered

Something wrong or missing? Tell us — we read every report and fix issues fast.

How to Calculate Average (Mean)

Add all values together and divide by the count: Mean = Sum ÷ Count. Enter numbers separated by commas, spaces, or new lines for complete statistical analysis.

Example

Dataset: 4, 7, 2, 9, 3

  • Mean: (4 + 7 + 2 + 9 + 3) ÷ 5 = 5.0
  • Median: Sorted: 2, 3, 4, 7, 9 → middle value = 4
  • Mode: No repeated values → no mode
  • Range: 9 − 2 = 7

Statistics Measures Reference

Every measure this calculator reports, what it tells you, and how it is found. The first three are measures of center; the rest describe spread or serve specialized cases.

MeasureWhat It Tells YouHow It Is Found
MeanTypical value; the balance pointSum ÷ count
MedianMiddle value; resists outliersMiddle of the sorted list
ModeMost common valueValue with highest frequency
RangeTotal spreadMaximum − minimum
MidrangeRough center of the extremes(Maximum + minimum) ÷ 2
VarianceAverage squared distance from the meanMean of squared deviations
Standard deviationTypical distance from the meanSquare root of the variance
SumCombined total of all valuesAdd every value
CountHow many values are in the setTally of the entries
Weighted meanAverage when values carry different importanceSum of value × weight ÷ total weight
Geometric meanAverage growth rate or rationth root of the product of values
Harmonic meanAverage of rates and speedsCount ÷ sum of reciprocals
Quartiles (Q1, Q3)Values at the 25% and 75% marksMedians of the lower and upper halves
Interquartile rangeSpread of the middle 50%Q3 − Q1

Understanding the Terms

Central Tendency

The single value that best represents a whole dataset. Mean, median, and mode are the three common measures — which one is "the average" depends on the shape of your data.

Dispersion

How spread out the values are. Range, variance, and standard deviation all describe dispersion; two datasets can share a mean yet differ wildly in spread.

Outlier

A value far from the rest of the set. Outliers drag the mean toward themselves but barely move the median, which is why median is preferred for skewed data like income.

Distribution

The pattern of how values are arranged. In a symmetric distribution the mean and median nearly match; in a skewed one they separate, with the mean pulled toward the long tail.

Population vs Sample

A population is every member of the group; a sample is a subset. Sample standard deviation divides by count minus one to correct for the smaller information in a subset.

Mean vs Median vs Mode

  • Mean (arithmetic average): Sum ÷ count. Sensitive to outliers — one extreme value shifts it significantly
  • Median (middle value): The value that splits the dataset in half when sorted. Resistant to outliers. For even-sized datasets, average the two middle values
  • Mode (most frequent): The value that appears most often. A dataset can have multiple modes (bimodal, multimodal) or no mode at all

When to Use Each

  • Mean: Symmetric data without outliers — test scores, heights, daily temperatures
  • Median: Skewed data with outliers — household income, home prices, response times. Median US household income (~$80,000) is far more representative than the mean (~$115,000) because extreme earners skew the average
  • Mode: Categorical or discrete data — most popular shoe size, most common survey response, most frequent error code

Standard Deviation

Measures how spread out values are from the mean. A low standard deviation means data is tightly clustered; a high one means data is spread wide.

  • 68% of data falls within 1 SD of the mean
  • 95% of data falls within 2 SDs of the mean
  • 99.7% of data falls within 3 SDs of the mean

This "68-95-99.7 rule" applies to normally distributed data and is used in quality control, grading curves, and scientific research.

Other Types of Averages

  • Weighted average: Values are multiplied by weights before summing. Used in GPA calculation (credits × grade points), portfolio returns, and overall course grades
  • Geometric mean: The nth root of the product of n values. Used for average growth rates, investment returns, and ratios
  • Harmonic mean: Reciprocal of the mean of reciprocals. Used for average speeds and rates

Related Math Calculators

Related Calculators

Frequently Asked Questions

How do I calculate the average of a set of numbers?

Add all the values and divide by how many there are. For the set 4, 7, 9 and 12 the sum is 32 and the count is 4, so the average, also called the mean, is 8. The same rule works for any count of numbers, including decimals and negative values, as long as every value is included exactly once.

What is the difference between mean, median and mode?

The mean is the sum divided by the count, the median is the middle value once the numbers are sorted, and the mode is the value that appears most often. For 3, 7, 7 and 15 the mean is 8, the median is 7 and the mode is 7. A set can have several modes or none at all.

How does an outlier affect the average?

One extreme value can move the mean a long way. Adding 100 to the set 4, 7, 9 and 12 raises the mean from 8 to 26.4, even though four of the five values are below 13. The median moves only from 8 to 9, which is why the median is preferred for skewed data such as incomes.

How do I calculate a weighted average?

Multiply each value by its weight, add the results, then divide by the total of the weights. A grade of 80 worth 40 percent and a grade of 90 worth 60 percent gives 80 x 0.4 + 90 x 0.6 = 32 + 54 = 86. If the weights do not add up to 1 or 100 percent, dividing by their total corrects for that.