Average Calculator

Quick Answer

The average (arithmetic mean) of a list of numbers equals the sum of all values divided by the count of values: average = sum / n. For example, the average of 4, 8 and 12 is (4 + 8 + 12) / 3 = 8. This is the definition used by NIST and the US Bureau of Labor Statistics.

Also searched as: average, average calculator, mean calculator

Enter Numbers

Results

Mean (Average)
30
Median
30
Mode
No mode
Range
40
Sum
150
Count
5
Min
10
Max
50
Standard Deviation (Population)
14.1421
Variance (Population)
200
Sorted Values
10, 20, 30, 40, 50
Copied!

How Averages and Descriptive Statistics Work

An average (arithmetic mean) is the sum of all values in a dataset divided by the number of values. It is the most widely used measure of central tendency in statistics, science, business, and everyday life. According to the National Center for Education Statistics, averages are among the first statistical concepts taught in U.S. schools, typically introduced in grade 4 or 5.

While the mean is useful, it has a significant weakness: sensitivity to outliers. In the dataset {1, 2, 3, 4, 100}, the mean is 22, which does not represent the typical value. This is why statisticians rely on multiple measures of central tendency. The median (middle value) and mode (most frequent value) provide complementary perspectives. Together with measures of spread like standard deviation and range, they form the foundation of descriptive statistics.

According to the American Statistical Association (ASA), understanding when to use mean versus median is a critical data literacy skill. The U.S. Census Bureau, for example, reports median household income ($74,580 in 2022) rather than mean income because the distribution is right-skewed by high earners.

The Formulas for Mean, Median, and Standard Deviation

The arithmetic mean is calculated using this standard formula, as defined in introductory statistics textbooks and the NIST Engineering Statistics Handbook.

Mean: x̄ = (x₁ + x₂ + ... + xₙ) / n

Median: Middle value when data is sorted (or average of two middle values for even-count datasets)

Population Variance: σ² = Σ(xᵢ − x̄)² / n

Population Std Dev: σ = √(σ²)

Worked example: For the dataset {10, 20, 30, 40, 50}: Sum = 150, Count = 5, Mean = 150/5 = 30. Sorted values are already in order, so Median = 30 (middle value). No value repeats, so there is no mode. Range = 50 − 10 = 40. Variance = [(10-30)² + (20-30)² + (30-30)² + (40-30)² + (50-30)²] / 5 = [400+100+0+100+400]/5 = 200. Standard deviation = √200 = 14.14.

Key Terms You Should Know

Mean vs. Median vs. Mode: When to Use Each

Choosing the right measure of central tendency depends on your data distribution and purpose. The following table summarizes when each measure is most appropriate, based on guidance from the NIST Handbook.

Measure Best For Weakness Real-World Example
MeanSymmetric data without outliersSkewed by extreme valuesAverage test score in a class
MedianSkewed data or data with outliersIgnores actual values of extremesMedian household income ($74,580 U.S., 2022 Census)
ModeCategorical data, finding most popularMay not exist or may not be uniqueMost common shoe size sold
Weighted MeanValues with different importance levelsRequires knowing weightsGPA calculation (credit hours as weights)

Practical Examples

Student grades. A student receives scores of 85, 92, 78, 95, and 88 on five exams. The mean is (85+92+78+95+88)/5 = 438/5 = 87.6. The median (sorted: 78, 85, 88, 92, 95) is 88. Since there are no outliers, both mean and median give a similar picture. For weighted grade calculations, try our GPA Calculator.

Salary analysis. A small company has 9 employees earning $40K, $42K, $45K, $47K, $50K, $52K, $55K, $58K, and $500K (the CEO). The mean salary is $98.8K, but the median is $50K. The median far better represents what a typical employee earns. The single outlier ($500K) inflates the mean by nearly $50K. This is why the Bureau of Labor Statistics often reports median wages.

Quality control. A factory produces widgets with target diameter 10.0 mm. Measurements from a sample: 9.98, 10.01, 10.02, 9.99, 10.00, 10.01, 9.97, 10.03, 10.00, 10.01. Mean = 10.002, standard deviation = 0.018. Since the standard deviation is small relative to the mean, the process is well-controlled. Use our Standard Deviation Calculator for dedicated spread analysis.

Tips for Working with Averages

Population vs. Sample Standard Deviation

There are two versions of standard deviation: population (σ, divides by n) and sample (s, divides by n−1). This calculator computes the population standard deviation. If your data represents an entire population (all students in a class, all products in a batch), use population standard deviation. If your data is a sample from a larger population (a survey of 100 people from a city of 1 million), use sample standard deviation, which divides by n−1 to correct for the bias of underestimating variability from a sample. This correction is known as Bessel's correction and becomes negligible for large samples (n > 30).

The NIST Engineering Statistics Handbook recommends always clarifying which version you are using in reports and publications, as the distinction affects statistical tests, confidence intervals, and hypothesis testing. For dedicated standard deviation work with both population and sample options, use our Standard Deviation Calculator.

Frequently Asked Questions

What is the difference between mean, median, and mode?

The mean is the arithmetic average, calculated by dividing the sum of all values by the count. The median is the middle value when all values are sorted in order; for an even number of values, it is the average of the two middle ones. The mode is the most frequently occurring value. For the dataset {2, 3, 3, 5, 8, 12}, the mean is 5.5, the median is 4, and the mode is 3. Each provides a different perspective on "typical" value, and the best choice depends on your data distribution.

How do you calculate standard deviation step by step?

Standard deviation measures how spread out values are from the mean. Step 1: Find the mean of the dataset. Step 2: Subtract the mean from each value and square the result. Step 3: Find the average of those squared differences (this is the variance). Step 4: Take the square root of the variance. For example, with {4, 8, 6, 5, 3}: mean = 5.2, squared differences = {1.44, 7.84, 0.64, 0.04, 4.84}, variance = 14.8/5 = 2.96, standard deviation = 1.72. A low value means data clusters tightly around the mean.

When should I use median instead of mean?

Use the median when your data contains outliers or is heavily skewed. The classic example is income data: the U.S. median household income was $74,580 in 2022 (Census Bureau), while the mean was significantly higher due to very high earners pulling it up. Home prices, company valuations, and wealth statistics all commonly report medians for the same reason. If your mean and median differ substantially, your data is likely skewed, and the median better represents the "typical" value in the dataset.

What is the range of a dataset and why is it limited?

The range is the difference between the largest and smallest values in a dataset. For values {3, 7, 12, 15, 22}, the range is 22 − 3 = 19. While simple to calculate, the range has a major limitation: it only considers two data points (the extremes) and ignores everything in between. Adding one extreme outlier can dramatically change the range without affecting the overall distribution. For this reason, statisticians prefer the interquartile range (IQR) or standard deviation as more robust measures of spread.

What is a weighted average and when do I need one?

A weighted average assigns different levels of importance (weights) to different values. The formula is: weighted mean = Σ(value × weight) / Σ(weights). The most common example is GPA calculation: if you earn an A (4.0) in a 4-credit course and a B (3.0) in a 2-credit course, your GPA is not simply (4.0+3.0)/2 = 3.5. Instead, it is (4.0×4 + 3.0×2)/(4+2) = 22/6 = 3.67, because the 4-credit course carries more weight. Use our GPA Calculator for academic weighted averages.

What is the difference between population and sample standard deviation?

Population standard deviation divides by n (the total number of values) and is used when your data includes every member of the group you are studying. Sample standard deviation divides by n−1 (Bessel's correction) and is used when your data is a subset drawn from a larger population. The n−1 correction compensates for the tendency of samples to underestimate variability. For large datasets (n > 30), the practical difference is negligible, but for small samples it matters significantly. This calculator uses population standard deviation by default.

Related Calculators