Skip to content
BestCalculators
Free online calculators and converters

Math & Statistics

Average Calculator: Mean, Median and Weighted

Work out the mean, median and range of a list of numbers, plus a weighted average when some values count for more than others.

Test scores, prices, measurements — anything you want the middle of.

Optional. Course weightings, quantities, or how many times each value should count. Leave it alone for a plain average.

Average

86.4

The mean of 5 values. Weighted by the second column it is 88.5, and the median is 88.

Weighted average
88.5

Each value counted in proportion to its weight. When every weight is equal this matches the plain mean exactly.

Median
88

The middle value once sorted. A single extreme number drags the mean but barely moves this, which is why house prices are usually quoted as a median.

Sum
432
How many values
5values
Smallest
75
Largest
96
Range
21
Midrange
85.5
Mean minus median
-1.6

Near zero means the values sit evenly around the middle. A large gap either way means outliers are pulling the mean, and the median is the more honest summary.

Standard deviation
8.4439

How far a typical value sits from the mean.

How to use this calculator

  1. Type or paste your numbers into the Your numbers field, separating them with spaces, commas, or new lines.
  2. Optional: Enter corresponding values into the Weights, in the same order field if certain items need to count more than others.
  3. View your primary result instantly in the Average headline output.
  4. Review additional statistical breakdowns including the median, weighted average, range, and standard deviation below.

Understanding the Core Metrics of the Average Calculator

Finding a single representative number from a set of data is the foundation of practical math and statistics. When people ask for an average calculator, they usually want the arithmetic mean, but a complete view of data requires looking at several distinct values simultaneously. Every single calculation on this page relies on clear, deterministic formulas that take raw numbers and distill them into actionable insights.

The arithmetic mean—referred to simply as the average—is calculated by taking the sum of all your numbers (represented mathematically as Σx) and dividing that total by how many values there are (n). For example, if your test scores are 80, 85, and 90, their sum is 255. Divided by 3, the mean is 85. This gives every data point an equal voice in the final outcome, balancing out highs and lows evenly.

However, the mean is not always the best reflection of a dataset's center. This is where the median calculator function becomes vital. The median is the physical middle value once all your numbers are sorted in ascending or descending order. If you have an even number of items, it takes the mean of the two middle values. Unlike the mean, the median completely ignores extreme outliers, making it a truer representation of typical conditions in skewed datasets like real estate prices or household incomes.

Mastering the Weighted Average for Complex Datasets

A standard mean calculator assumes every piece of data carries equal importance. In real life, that is rarely true. A final exam in a university course usually counts for significantly more than a weekly homework assignment. A weighted average calculator solves this problem by multiplying each value by a specific weight, summing those products together, and dividing the final sum by the total of all weights combined (Σ(x × w) ÷ Σw).

Consider calculating a final course grade where a midterm exam scores 70 with a weight of 2, a project scores 90 with a weight of 1, and a final exam scores 85 with a weight of 3. The tool multiplies each score by its weight (140 + 90 + 255 = 485) and divides by the total weight (2 + 1 + 3 = 6), resulting in a weighted average of 80.83 rather than a simple unweighted mean of 81.66. This hidden mechanism ensures that items representing larger quantities, longer timeframes, or greater significance properly dominate the final outcome.

Measuring Spread: Range, Standard Deviation, and Midrange

Knowing the middle of a dataset tells only half the story. You also need to know how tightly clustered or wildly scattered your numbers are. The range gives a quick snapshot of total spread by subtracting the smallest value from the largest value (largest - smallest). If your lowest test score is 54 and your highest is 98, the range is 44 points, signaling massive variability in student performance.

For deeper analysis, the standard deviation measures how far, on average, each data point deviates from the mean. A low standard deviation means your values are tightly packed near the average, indicating high consistency. A high standard deviation means your data is volatile and unpredictable. Alongside this, the midrange calculates the exact halfway point between the absolute minimum and absolute maximum values, offering an alternative center that ignores frequency entirely.

Common Statistical Mistakes and How to Avoid Them

The single most common mistake people make when calculating averages is failing to account for extreme outliers. A single catastrophic score of zero in a series of ninety-percent grades will drag the arithmetic mean down disproportionately. When data is heavily skewed by outliers, relying solely on the mean can lead to profoundly incorrect conclusions about what is normal or expected.

MetricBest Used ForVulnerable To
Arithmetic MeanSymmetric datasets, uniform weightsExtreme outliers and skewed data
MedianSkewed distributions, income, housingIgnoring the magnitude of extreme values
Weighted AverageGrades, financial portfolios, quantitiesIncorrectly assigned weighting factors
RangeQuick span check, manufacturing tolerancesAnomalous min or max data points

Another frequent error occurs when mixing weighted and unweighted figures in manual tallies, or forgetting to line up weights in the exact same order as the primary values. If your values list has five entries but your weights list has four, the math breaks down entirely. Always verify that every data point has a corresponding weight when using proportional inputs, or leave the weight field completely empty for a standard calculation.

When to Trust Your Results and When to Seek Expert Advice

Mathematical operations are strictly objective, but raw numbers can still be manipulated or misinterpreted. You should not rely on a simple average when comparing datasets with vastly different sample sizes or underlying distributions. For critical financial decisions, medical dosages, structural engineering loads, or legal grade appeals, basic statistical summaries are merely a starting point.

If your dataset involves high-stakes financial forecasting, complex tax structures, or formal academic audits, do not rely solely on online math tools. Consult a certified public accountant, a university registrar, or a qualified data statistician who can examine the broader context, verify data integrity, and apply advanced regression analysis or confidence intervals tailored to your specific situation.

The formula

mean = Σx ÷ nweighted mean = Σ(x × w) ÷ Σwmedian = the middle value once sorted, or the mean of the middle twomidrange = (smallest + largest) ÷ 2

Frequently asked questions

What is the difference between the mean and the median?

The mean is the traditional arithmetic average found by adding all numbers together and dividing by the total count. The median is the exact middle value when all numbers are arranged in numerical order. While the mean is sensitive to extreme highs and lows, the median completely ignores outliers to show the true midpoint of a dataset.

How do I calculate a grade average when assignments are worth different percentages?

To calculate a weighted grade average, you must multiply each grade by its corresponding weight or percentage. Enter your scores into the primary values box and put their respective weight values into the weights box in the exact same order. The tool will automatically multiply each score by its weight, sum the results, and divide by the total weight.

Why is my weighted average different from my regular average?

A regular average treats every data point as having equal importance, whereas a weighted average gives certain values more influence based on their assigned weight. If all your weights are identical, both averages will yield the exact same result. When weights vary, the final number shifts closer to the values that carry the heavier weight values.

What does standard deviation tell me about my numbers?

Standard deviation measures how spread out your numbers are relative to the arithmetic mean. A low standard deviation means your data points are clustered closely around the average, indicating high consistency and stability. A high standard deviation reveals that your numbers are widely scattered, showing high volatility across the dataset.

Can I use negative numbers and decimals in the calculator?

Yes, the calculation engine fully supports negative numbers, decimals, and zero values. Negative numbers are crucial for tracking financial losses, temperature drops, or accounting debits alongside positive gains. Decimals are handled seamlessly without rounding errors until the final output is displayed.

What should I do if my dataset contains extreme outliers?

When extreme outliers are present in your data, the arithmetic mean can become heavily distorted and unrepresentative of normal conditions. In these cases, you should look at the median output instead, as it resists distortion from unusually high or low anomalous data points. Evaluating both the mean and median side by side provides a much clearer picture of your data distribution.

Last reviewed . Results are for general guidance and are not professional advice.