๐Ÿ‡บ๐Ÿ‡ธ USC
Math & Conversion
๐Ÿ“Š

Average Calculator

Mean, median, mode, range and weighted average

๐Ÿ“Š Enter your numbers

๐Ÿ“ˆ Average (mean)

8.2857
arithmetic mean
Median
8
Mode
6
Range
6
Sum
58
Count
7
Min / Max
6 / 12

๐Ÿ“ Spread (standard deviation)

Population (ฯƒ)
2.0504
Sample (s)
2.2147

Use the population value when your numbers are the whole group, and the sample value when they are a sample drawn from a larger population.

๐Ÿ”ข Sorted values

667891012

7 values, sorted from lowest to highest. The median is the middle value.

Mean = sum รท count. Median = middle of the sorted list. Mode = most frequent value(s). All values are computed in your browser; nothing is uploaded.

โœ…

Last updated June 2026

Method: Standard statistical definitions - arithmetic mean (sum ÷ count), median (middle of the sorted list), mode (most frequent value), range (max − min), and both population and sample standard deviation. The weighted mean divides the sum of value × weight by the total weight.

Included: Mean, median, mode, range, sum, count, minimum, maximum, standard deviation, a sorted-value view, and a separate weighted-average mode with a full breakdown table.

Not included: Geometric and harmonic means, percentiles and quartiles, and confidence intervals. For grade point averages use the dedicated GPA calculator.

Results are provided for general educational and informational purposes only and are not professional, financial, or academic advice. Double-check important figures before relying on them.

Average calculator: mean, median, mode and more

An average is a single number that summarizes a whole list of numbers. When most people say "average" they mean the arithmetic mean, but statisticians use several different averages - the mean, the median, and the mode - because each one tells a different story about your data. This average calculator computes all of them at once, along with the range, sum, count, minimum and maximum, so you can see the full picture instead of just one number.

For a quick example, take the seven test scores 92, 85, 78, 90, 88, 76, 95. Their sum is 604, so the mean is 604 ÷ 7 ≈ 86.3. Sorted, the scores are 76, 78, 85, 88, 90, 92, 95, so the median (the fourth of seven) is 88. No score repeats, so there is no mode. The range is 95 − 76 = 19. Three numbers, three different angles on the same class.

The formulas

The core definitions are simple arithmetic. The mean adds everything up and divides by how many numbers there are:

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

The weighted mean multiplies each value by its weight before dividing by the total of the weights:

Weighted mean = Σ(value × weight) ÷ Σ(weight)

The median is the middle value of the sorted list; with an even count it is the average of the two middle values. The mode is whatever value appears most often, and the range is simply the maximum minus the minimum.

How to use this average calculator

Getting results takes only a few seconds:

  1. Pick a mode: keep the default "Mean, median & mode" tab for a simple list, or switch to "Weighted average" when each value carries a different weight.
  2. Type or paste your numbers: separate them with commas, spaces, semicolons, or new lines - the calculator accepts any mix and ignores blanks.
  3. Read the headline result: the large number at the top is the mean (or the weighted mean), the figure people usually want first.
  4. Scan the supporting cards: the median, mode, range, sum, count, min/max and standard deviation appear below, and a sorted-value strip shows exactly how the median was found.
  5. Try the sample buttons: the chips under the input load example data sets (test scores, even counts, data with repeats) so you can see how each statistic behaves.

Everything updates instantly as you type. Nothing is sent to a server - the math runs in your browser.

Who this calculator is for

  • Students checking homework, finding a test average, or learning the difference between mean, median and mode.
  • Teachers averaging a class's scores or building weighted grade schemes.
  • Researchers and analysts who need a fast summary of a small data set without opening a spreadsheet.
  • Anyone budgeting or planning who wants the average of expenses, mileage, weights, times, or measurements.
  • Sports and hobby fans averaging scores, lap times, or stats.

Key terms explained

  • Mean: the arithmetic average - sum divided by count. Sensitive to outliers.
  • Median: the middle value of the sorted data. Resistant to outliers, so it is preferred for skewed data like income.
  • Mode: the most frequent value. A data set can have one mode, several modes, or none.
  • Range: the gap between the largest and smallest values - the simplest measure of spread.
  • Standard deviation: the typical distance of values from the mean. Small means tightly clustered; large means spread out.
  • Weight: a multiplier that says how much a value should count toward a weighted average.

Worked example: a data set with a repeat

Consider 3, 5, 5, 7, 9, 5, 2 (seven numbers). The sum is 36, so the mean is 36 ÷ 7 ≈ 5.14. Sorted, the list is 2, 3, 5, 5, 5, 7, 9, so the median (the fourth value) is 5. The value 5 appears three times - more than any other - so the mode is 5. The range is 9 − 2 = 7. Here all three averages land close together, which tells you the data is fairly symmetric with no extreme outliers.

Worked example: a weighted course grade

Suppose your grade is built from a final exam worth 40%, homework worth 30%, and a project worth 30%, and you scored 90, 80 and 95 respectively. Enter the pairs 90:0.4, 80:0.3, 95:0.3. The calculator computes (90 × 0.4) + (80 × 0.3) + (95 × 0.3) = 36 + 24 + 28.5 = 88.5, divided by the total weight 1.0, giving a weighted average of 88.5. A plain (unweighted) mean of those same three scores would be about 88.3 - close here, but the gap grows quickly when the weights are uneven.

Worked example: why the median can beat the mean

Look at five salaries (in thousands): 40, 45, 50, 55, 300. The mean is (40 + 45 + 50 + 55 + 300) ÷ 5 = 490 ÷ 5 = 98, which is higher than four of the five people actually earn - one large value has dragged it up. The median, the middle of the sorted list, is 50, which describes the "typical" salary far better. This is exactly why news reports usually quote median household income and home prices rather than the mean.

Which average should you use?

Use this quick reference to pick the right measure for your situation:

Measure What it shows Best for
Mean The balance point of the data Symmetric data with no outliers (test scores, measurements)
Median The middle value Skewed data or outliers (incomes, home prices)
Mode The most common value Categories or repeated values (shoe sizes, survey picks)
Weighted mean An average where some values count more GPAs, course grades, portfolios, blended rates
Range / Std dev How spread out the data is Comparing consistency between two data sets

Tips for accurate averages

  • Watch for outliers. One very large or very small value can pull the mean far from typical. Check the median too.
  • Don't average percentages or rates blindly. Averaging "miles per gallon" or interest rates often needs a weighted or harmonic mean, not a plain mean.
  • Keep units consistent. Mixing minutes and seconds, or dollars and thousands of dollars, will silently wreck the result.
  • Include every value once. Forgetting one number or pasting a duplicate changes both the count and the sum.
  • Use weights that reflect importance. In a weighted average, the weights do not need to add to 1 - the calculator divides by their total either way.

Common pitfalls explained

The single biggest mistake is treating the mean as if it always represents the "typical" value. When data is skewed, the mean can sit far from where most points actually are, and only the median reveals that. A second trap is the average of averages: if you average two class averages without accounting for how many students are in each class, you get a wrong overall figure - you need a weighted average. Finally, people often confuse "no mode" with "the mode is zero." If every value occurs once, there is genuinely no mode, which is different from a value of 0 appearing.

Mean vs. median vs. mode: a fuller comparison

Although all three are called "averages," they answer slightly different questions, and knowing which one to trust is the real skill. The mean answers "if I shared everything out equally, how much would each get?" - it is the balance point, and every single value contributes to it. That sensitivity is a strength for clean, symmetric data and a weakness when one freak value appears. The median answers "what is the value in the exact middle?" - it ignores how extreme the outliers are and only cares about their position, which is why it barely moves when a billionaire walks into a room of average earners. The mode answers "what happens most often?" - it is the only average that works on categories (favorite colors, shoe sizes, survey choices) and the only one that can be missing entirely.

A clean way to remember the relationship: in a perfectly symmetric data set the mean, median and mode all sit on top of each other. As the data skews to the right (a long tail of high values, like income), the mean is pulled the furthest out, the median sits in the middle, and the mode stays nearest the peak. Comparing the mean and median is therefore a quick skewness test - if they are close, your data is roughly symmetric; if they are far apart, something is pulling the mean and you should lead with the median.

Real-world scenarios for each average

Seeing where each measure earns its keep makes the choice obvious:

  • A teacher averaging quiz scores uses the mean when scores are bunched together, but switches to the median if one student scored a zero, so a single missed quiz does not misrepresent the class.
  • A city reporting "typical" home prices always uses the median, because a handful of multi-million-dollar mansions would inflate the mean far above what an ordinary buyer pays.
  • A shoe store deciding what to restock wants the mode - the most commonly sold size - not the mean, since "size 9.3" is meaningless on a shelf.
  • An investor blending account returns needs a weighted mean, because a 10% gain on a large balance counts for more than a 10% gain on a tiny one.
  • A runner tracking lap times uses the mean for a season summary but watches the range and standard deviation to judge how consistent each race was.

Understanding spread: range and standard deviation

An average alone never tells the whole story, because two very different data sets can share the same mean. The sets 49, 50, 51 and 0, 50, 100 both average exactly 50, yet the first is tightly clustered and the second is wildly spread out. Measures of spread capture that difference. The range (max minus min) is the quickest: it is 2 for the first set and 100 for the second. The standard deviation goes further by measuring the typical distance of each value from the mean, so it is not thrown off by a single extreme the way the range is. A small standard deviation means values huddle close to the average; a large one means they scatter. This calculator reports both the population and sample standard deviation alongside the averages so you can describe the center and the spread together - and for a deeper dive into variance, the dedicated Standard Deviation Calculator shows every step.

Other types of mean

The familiar arithmetic mean is one of several "means," and using the wrong one quietly produces wrong answers:

  • Geometric mean - the n-th root of the product of the values. It is the correct average for things that multiply, like investment growth rates or compound percentages, where an arithmetic mean overstates the true average return.
  • Harmonic mean - the count divided by the sum of the reciprocals. It is the right average for rates over a fixed distance, such as average speed: drive somewhere at 30 mph and back at 60 mph and your average speed is 40 mph (the harmonic mean), not 45.
  • Weighted mean - the arithmetic mean with importance attached, which this calculator handles directly in its weighted tab. It powers grade point averages, course grades, and blended interest rates.

For everyday lists of numbers, the arithmetic mean shown here is almost always what you want; reach for the geometric or harmonic mean only when you are averaging growth rates or speeds.

Related concepts and calculators

This calculator focuses on the everyday averages. A few neighboring tools and ideas cover the rest:

Sources

โš ๏ธ Common mistakes & edge cases

Letting outliers fool the mean

A single extreme value, like one $300k salary among five, can push the mean above almost every data point. When data is skewed, report the median instead - it stays at the true center of the sorted list.

Averaging averages without weights

If Class A (10 students) averages 70 and Class B (30 students) averages 90, the overall average is not 80. It is the weighted mean (10×70 + 30×90) ÷ 40 = 85. Use the weighted tab whenever group sizes differ.

Misreading the median on an even count

With an even number of values there is no single middle, so the median is the average of the two central values. For 5, 8, 8, 20 the median is (8 + 8) ÷ 2 = 8, not just "the 8."

Assuming there is always a mode

If every value appears exactly once, the data has no mode at all - that is normal, not an error. And if several values tie for most frequent, the set is multimodal and has more than one mode.

Note: The right "average" depends on your data. For symmetric data the mean works well; for skewed data or outliers, prefer the median; for repeated categories, the mode.

❓ Frequently asked questions

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

The most common average is the arithmetic mean: add up all the numbers, then divide by how many numbers there are. For example, the mean of 4, 8 and 9 is (4 + 8 + 9) / 3 = 21 / 3 = 7. This calculator does that automatically and also shows the median, mode, range, sum, count, minimum and maximum.

What is the difference between mean, median and mode?

The mean is the sum divided by the count. The median is the middle value when the numbers are sorted (or the average of the two middle values if there is an even count). The mode is the value that appears most often. They can be very different: in the set 1, 2, 2, 3, 100 the mean is about 21.6, the median is 2, and the mode is 2 - the median and mode describe the typical value far better when there is an extreme outlier.

What is a weighted average?

A weighted average gives some values more importance than others. You multiply each value by its weight, add up those products, and divide by the sum of the weights. It is used for GPAs (grades weighted by credit hours), course grades (assignments weighted by their percentage), portfolio returns, and survey results. Switch to the 'Weighted average' tab and enter value:weight pairs.

How do I find the median of an even number of values?

Sort the numbers from smallest to largest, then take the two values in the middle and average them. For 3, 5, 8, 12 the two middle values are 5 and 8, so the median is (5 + 8) / 2 = 6.5. With an odd count there is a single middle value and no averaging is needed.

Can a data set have more than one mode?

Yes. If two or more values tie for the highest frequency, the set is bimodal (two modes) or multimodal (more than two). If every value appears exactly once, there is no mode at all. This calculator lists all tied modes and tells you when the data is multimodal.

What is the range and why does it matter?

The range is the largest value minus the smallest value. It is the simplest measure of spread and shows how far apart your data points are. A small range means the numbers are tightly clustered; a large range means they are spread out. For a fuller picture of spread, also look at the standard deviation, which the calculator reports.

What is the difference between population and sample standard deviation?

Standard deviation measures how far values typically sit from the mean. Use the population value (divide by n) when your numbers represent the entire group you care about. Use the sample value (divide by n - 1) when your numbers are a sample drawn from a larger population - the n - 1 adjustment, called Bessel's correction, gives a less biased estimate of the true population spread.

Does the order of the numbers matter?

No. The mean, median, mode, sum, range, min and max do not depend on the order you type the numbers in - the calculator sorts them for you to find the median and the extremes. You can paste numbers separated by commas, spaces, semicolons or new lines in any order.

When should I use the median instead of the mean?

Use the median when your data has outliers or is skewed, such as house prices or incomes, because a few very large or very small values can pull the mean away from what is typical. The median always sits at the center of the sorted list and is not distorted by extremes, so it often better represents the 'average' person or item.

Is my data sent anywhere?

No. Every calculation runs entirely in your browser using JavaScript. Your numbers are never uploaded, stored, or shared, so you can safely use the tool for sensitive grades, salaries, or measurements.

What is the difference between the arithmetic, geometric and harmonic mean?

The arithmetic mean (what this calculator shows by default) adds the values and divides by the count - it is right for ordinary amounts like test scores or expenses. The geometric mean is the n-th root of the product of the values and is the correct average for things that multiply, such as investment growth rates. The harmonic mean is the count divided by the sum of the reciprocals and is used for rates over a fixed distance, like average speed. Using the wrong mean can noticeably skew your answer, so match the type to your data.

Why is the average not in my list of numbers?

The mean is a calculated balance point, not a real data point, so it often falls between your actual values - the average of 2 and 4 is 3, which never appears in the data. The same is true of the median on an even count, where it is the average of the two middle values. Only the mode is guaranteed to be a value that actually occurs in your list.

๐Ÿ’ก Good to know

"Average" almost always means the mean

In everyday language, "average" is the arithmetic mean - sum divided by count. But the median and mode are also averages, and they often describe your data more honestly when it is skewed or has repeated values.

Weights don't have to add up to 1

In a weighted average you can use raw weights like credit hours (3, 4, 2) or percentages (0.4, 0.3, 0.3). The calculator always divides by the total of the weights, so both styles give the correct result.

Everything runs in your browser

Your numbers never leave your device. The calculator computes every statistic locally with JavaScript, so it is safe for sensitive grades, salaries, or measurements - and it works offline once the page has loaded.

Related Calculators