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

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

What is the difference between mean and median?

Mean is the sum divided by count (average). Median is the middle value when sorted. Median is less affected by extreme values.

When should I use median instead of mean?

Use median when data has outliers or is skewed. For example, median income is more representative than mean income.

What is mode?

Mode is the most frequently occurring value in a dataset. A dataset can have multiple modes or no mode.

What does standard deviation tell me?

Standard deviation measures how spread out the data is from the mean. Low SD means data is clustered near the mean.

How do I calculate the mean manually?

Add all values together, then divide by the count. For the set {4, 7, 9, 12}: sum = 32, count = 4, mean = 8.

How does an outlier affect the mean?

A single extreme value shifts the mean significantly. Adding 100 to {4, 7, 9, 12} raises the mean from 8 to 26.4, even though four of the five values are below 13.

What is the range of a dataset?

Range = largest value minus smallest value. For {3, 7, 15, 22}, the range is 22 - 3 = 19. It measures total spread but ignores how values are distributed between the extremes.

What is a weighted average?

A weighted average assigns different importance to each value. Multiply each value by its weight, sum the results, then divide by the total weight. A grade of 80 worth 40% and 90 worth 60% gives (80 × 0.4) + (90 × 0.6) = 32 + 54 = 86.