[CE]

Average Calculator — Mean, Median, Mode & Range

Calculate the mean, median, mode, range, geometric mean, and weighted average from any set of numbers — with step-by-step solutions you can show your work with. Built for students, teachers, data analysts, and anyone who needs the full picture, not just one number.

Calculation Mode

Separate numbers with commas, spaces, or line breaks. Decimals and negatives accepted.

Need to convert units before averaging? Try our Kilograms to Pounds Converter.

This average calculator handles every standard statistical measure of central tendency from a single input: arithmetic mean, median, mode, range, geometric mean, sum, count, minimum, maximum, standard deviation, and variance. A separate weighted-average mode handles the cases where each value carries a different importance — GPA calculation, weighted test scores, blended portfolio returns. The step-by-step solution shows the work for mean, median, and mode so students can check their thinking, not just copy the answer.

What Is the Average of a Set of Numbers?

When most people say "average" they mean the arithmetic mean: add all the values, divide by how many there are. Mean = (x₁ + x₂ + ... + xₙ) ÷ n. For 4, 8, 6, 10, and 2: sum is 30, count is 5, mean is 6. The arithmetic mean is the most widely used measure of central tendency, and it works well for symmetric data. It's also sensitive to outliers — a single extreme value can pull the mean far away from where most of the data actually lives, which is why mean isn't always the right tool. That's where median and mode come in.

Mean vs Median vs Mode — What's the Difference?

All three describe the "center" of a dataset, but they answer slightly different questions. Mean is the sum divided by the count — the mathematical balance point. Median is the value in the middle once everything is sorted — the positional center, untouched by extreme values. Mode is the most frequent value — the modal "peak" of the data.

The classic illustration: a small bar averages $50,000 in customer income. Bill Gates walks in. The mean income jumps to $50 million; the median barely moves. That's why news reports use median household income and median home price — they refuse to be hijacked by a few outliers at the top. Use mean when your data is roughly symmetric. Use median when it's skewed. Use mode when you care about which value happens most often (popular shoe size, most common test score).

How to Calculate the Mean

Mean = (x₁ + x₂ + x₃ + ... + xₙ) ÷ n

Step 1: Add every value together. Step 2: Count how many values there are. Step 3: Divide. Example with 4, 8, 6, 10, 2: sum = 30, count = 5, mean = 30 ÷ 5 = 6. The calculator above does this automatically and shows the full work in the step-by-step section.

How to Calculate the Median

Step 1: Sort the values from smallest to largest. Step 2: If the count is odd, the median is the middle value. For 5 numbers, that's the 3rd. Step 3: If the count is even, the median is the average of the two middle values. For 6 numbers, average the 3rd and 4th.

Odd-count example: 2, 4, 6, 8, 10 → median is 6. Even-count example: 2, 4, 6, 8, 10, 12 → middle pair is 6 and 8 → median is (6 + 8) ÷ 2 = 7.

How to Find the Mode

Count the frequency of each value, then find the highest. Single mode (unimodal): 2, 3, 3, 4, 5 → mode is 3. Multiple modes (bimodal): 2, 2, 3, 4, 4, 5 → modes are 2 and 4. No mode: 1, 2, 3, 4, 5 — every value appears exactly once, so there is no mode. The calculator distinguishes all three cases automatically.

How to Calculate a Weighted Average

Weighted Avg = (x₁w₁ + x₂w₂ + ... + xₙwₙ) ÷ (w₁ + w₂ + ... + wₙ)

Each value gets multiplied by its weight, you sum those products, and you divide by the total of the weights. Real-world example for a class grade: Test 1 scored 85 with weight 20, Test 2 scored 92 with weight 30, Final scored 78 with weight 50. Weighted average = (85·20 + 92·30 + 78·50) ÷ (20+30+50) = 8,360 ÷ 100 = 83.6.

Other common uses: GPA (grade × credit hours), portfolio returns (return × dollars invested), weighted survey responses, and any percentage average where the base amounts differ. Switch the calculator to Weighted Average mode and enter values and weights in the two-column grid — weights can be percentages, credit hours, dollars, or any positive numbers.

When to Use Mean vs Median

If mean and median are close, your data is roughly symmetric and either works. If they're far apart, the data is skewed and median is usually the better summary. Two real-world examples where median wins:

  • Income. The U.S. mean household income is dragged up by a small number of extremely high earners. Median household income is the figure economists and journalists actually quote because it represents what a typical household earns, not what the average household would earn after redistributing wealth.
  • Home prices. A few luxury sales in a neighborhood can pull the mean price up dramatically while the median tracks the price most homes actually trade at.

Rule of thumb: if you can identify outliers in your dataset, the mean is probably misleading. Use the median, or report both.

Average Calculator for Students

The most common student use cases this calculator handles directly:

  • Test averaging. Standard mode — paste your scores, get the mean.
  • GPA. Weighted mode — enter each course's grade as the value and credit hours as the weight.
  • Showing your work. Expand the step-by-step section. The calculator displays the full mean, median, and mode work in the same form your teacher expects on the page.
  • Statistics homework. The "More Statistics" section gives population and sample standard deviation, variance, geometric mean, and min/max — covers most introductory stats assignments without a separate tool.

Standard Deviation and Variance

Standard deviation tells you how spread out the data is around the mean. Small std dev means values cluster near the mean; large std dev means they spread widely. Variance is the same thing squared (technically, std dev is the square root of variance). Two flavors:

  • Population (σ). Use when your dataset is the entire population. Divide by n.
  • Sample (s). Use when your dataset is a sample drawn from a larger population. Divide by n−1 (Bessel's correction).

For the dataset 2, 4, 4, 4, 5, 5, 7, 9: mean is 5, population std dev is 2, sample std dev is ≈2.14. The "More Statistics" section displays both alongside their variances.

Frequently Asked Questions

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

Add all values together, then divide by the count. For 4, 8, 6, 10, and 2: sum is 30, count is 5, average is 30 ÷ 5 = 6. Formula: Mean = Sum ÷ Count.

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

Mean is the arithmetic average (sum ÷ count) and is sensitive to outliers. Median is the middle value when sorted and ignores outliers. Mode is the most frequent value. For symmetric data, all three are similar; for skewed data, they diverge — which is why median income and median home price are the standard reporting conventions.

How do you find the median of a set of numbers?

Sort ascending, then pick the middle. Odd count: take the middle value. Even count: average the two middle values. 2, 4, 6, 8, 10 → 6. 2, 4, 6, 8, 10, 12 → (6+8)/2 = 7.

How do you calculate a weighted average?

Multiply each value by its weight, sum the products, divide by the sum of the weights. Example — three test scores 85, 92, 78 with weights 20, 30, 50: (85·20 + 92·30 + 78·50) ÷ 100 = 83.6. Use the Weighted Average mode above.

What is the mode of a set of numbers?

The value that appears most often. Datasets can be unimodal (one mode), bimodal (two), multimodal (three or more), or have no mode at all if every value appears the same number of times.

What is the range in math?

Maximum minus minimum. For 2, 4, 6, 8, 10 the range is 10 − 2 = 8. It's a simple measure of spread that uses only the two extreme values, so it's heavily influenced by outliers.

How do you calculate GPA using a weighted average?

Multiply each grade by its credit hours, sum the products, divide by total credit hours. Example: English (3 cr, A=4.0), Math (4 cr, B=3.0), History (3 cr, A−=3.7). (4.0·3 + 3.0·4 + 3.7·3) ÷ 10 = 35.1 ÷ 10 = 3.51 GPA. Use Weighted Average mode — grades are values, credit hours are weights.

When should you use median instead of mean?

When your data is skewed or has outliers. Income, home prices, response times — all skewed. Median represents the typical value; mean gets distorted by extremes.

What is the geometric mean and when do you use it?

The nth root of the product of n positive values. Use it for compounding growth rates and ratios. For three years of growth at 10%, 20%, 5% (multipliers 1.10, 1.20, 1.05), geometric mean = ∛(1.10·1.20·1.05) ≈ 1.1153, or about 11.53% per year. Arithmetic mean would say 11.67%, slightly overstating compounded reality.

How do you average percentages?

If the base amounts are equal, simple arithmetic mean works. If the bases differ, you must weight by the base. Store A: 50% of 100 items. Store B: 70% of 200 items. Wrong: (50+70)/2 = 60%. Right: (50·100 + 70·200) ÷ 300 = 63.3%.

What is the average calculator used for?

Grades and GPA, test scores, sports stats, financial returns, survey analysis, scientific data, quality control, everyday "what's the typical X" questions. The calculator above covers all standard measures plus standard deviation in one place.

How do you find the average of negative numbers?

Identical to positive numbers — sum and divide by count. The negative values just reduce the sum. −3, −1, 2, 5, 7 → sum 10 → mean 2. −4, −8, −6 → sum −18 → mean −6.

What is standard deviation and how does it relate to the mean?

Standard deviation measures how spread out values are around the mean. Compute the deviations from the mean, square them, average those squared deviations (variance), take the square root (std dev). For 2, 4, 4, 4, 5, 5, 7, 9: mean 5, population std dev 2.