Enter Your Numbers

⚖️ Weighted Average Calculator

Enter values and their weights (e.g. exam scores with credit hours). Each row = one value + its weight.

Statistical Formulas

Mean (Arithmetic Average)

Sum of all values divided by the count of values.

Mean (x̄) = Σx / n

Example: [2, 4, 6, 8, 10]
= (2+4+6+8+10) / 5 = 30/5 = 6

Median

Middle value when sorted. If even count, average the two middle values.

Odd count: median = middle value
Even count: median = (middle1 + middle2) / 2

Example (odd): [2,4,6,8,10] median = 6
Example (even): [2,4,6,8] median = (4+6)/2 = 5

Mode

Value(s) that appear most frequently. Can have multiple modes.

Example: [2,3,3,4,5,5,5] mode = 5
Example: [1,1,2,2,3] modes = 1 and 2 (bimodal)
Example: [1,2,3,4] no mode (all equal frequency)

Standard Deviation

Measures how spread out the numbers are from the mean.

Population σ = √(Σ(x - x̄)² / n)
Sample s = √(Σ(x - x̄)² / (n-1))

Steps:
1. Find mean x̄
2. Subtract mean from each value: (x - x̄)
3. Square each: (x - x̄)²
4. Average the squares (variance)
5. Take square root

Weighted Average

Weighted Mean = Σ(value × weight) / Σ(weights)

Example: Exam 80 (weight 3) + Quiz 90 (weight 1)
= (80×3 + 90×1) / (3+1)
= (240 + 90) / 4 = 330/4 = 82.5

Geometric & Harmonic Mean

Geometric Mean = ⁿ√(x₁ × x₂ × ... × xₙ)
Use for: growth rates, ratios, percentages

Harmonic Mean = n / Σ(1/xᵢ)
Use for: speeds, rates, densities

Quartiles & IQR

Q1 = 25th percentile (median of lower half)
Q2 = 50th percentile (median)
Q3 = 75th percentile (median of upper half)
IQR = Q3 - Q1 (Interquartile Range)

Outlier if: x < Q1 - 1.5×IQR
or: x > Q3 + 1.5×IQR

Frequently Asked Questions

Mean is the arithmetic average - you add all numbers and divide by how many there are. Median is the middle value when all numbers are sorted (if there's an even count, it's the average of the two middle numbers). Mode is the value that appears most often. They can all give very different answers for the same dataset: in a dataset of incomes where a few people earn millions, the mean would be far higher than the median, which better represents what a 'typical' person earns.
Use median when your data has outliers or is skewed in one direction. Classic examples: house prices, incomes, ages at retirement, response times. In these cases, a few extreme high values can pull the arithmetic mean far above where most of the data actually sits. The median is unaffected by outliers - it just looks at what's in the middle. Use mean when your data is roughly symmetric and there are no extreme values distorting it, like standardized test scores within a normal range.
1. Find the mean of all values. 2. Subtract the mean from each individual value. 3. Square each of those differences. 4. Add all the squared differences together. 5. Divide by n (for population standard deviation) or n−1 (for sample standard deviation). 6. Take the square root of that result. The answer tells you, on average, how far each data point is from the mean. A standard deviation of 5 means values typically fall within about 5 units of the mean.
A regular (simple) average treats all values equally. A weighted average gives different values different levels of importance. Formula: sum of (each value multiplied by its weight) divided by the sum of all weights. Example: if a final exam counts 50% of your grade and a midterm counts 50%, a final exam score of 90 and midterm of 70 gives a weighted average of (90×0.5 + 70×0.5) = 80. But if the final counted 70%, the weighted average would be 84 - quite different from the simple average.
Standard deviation tells you how spread out your data is. A low standard deviation means values are clustered close to the mean - the data is consistent. A high standard deviation means values are scattered far from the mean - the data is volatile or variable. In a normal distribution, about 68% of values fall within 1 standard deviation of the mean, 95% within 2, and 99.7% within 3. This is why standard deviation is so useful for comparing consistency: two students may have the same mean test score, but the one with lower standard deviation is more consistent.
Quartiles divide your sorted dataset into four equal parts. Q1 (the 25th percentile) is the value below which 25% of the data falls. Q2 is the median (50th percentile). Q3 (the 75th percentile) has 75% of the data below it. The IQR (Interquartile Range) = Q3 − Q1 and represents the middle 50% of your data. It's used to detect outliers: any value below Q1 − 1.5×IQR or above Q3 + 1.5×IQR is considered an outlier by the standard box plot rule.
Use geometric mean for multiplicative data: growth rates, investment returns, percentages, and ratios. The arithmetic mean gives misleading results for these. Example: an investment that grows 100% in year 1 and falls 50% in year 2. Arithmetic mean of the rates: (100% + −50%) / 2 = 25% average growth - sounds like you made money. Geometric mean: √(2 × 0.5) − 1 = 0% - correctly shows you broke even. The geometric mean accounts for the compounding nature of multiplicative changes, which the arithmetic mean ignores.
The coefficient of variation (CV) = (Standard Deviation / Mean) × 100, expressed as a percentage. It measures relative variability - how large the standard deviation is relative to the mean. This lets you compare variability across datasets with different scales or units. Example: a dataset with mean 1000 and SD 50 has CV = 5%. A dataset with mean 10 and SD 2 has CV = 20%. Even though the second dataset has a much smaller absolute standard deviation, it's actually more variable relative to its own average. CV is useful in finance (comparing stock volatility), quality control, and scientific measurement.

Average Calculator - Mean, Median, Mode and the Full Statistical Picture

The word "average" gets used loosely in everyday conversation, but in statistics it means something specific - and depending on your data, the arithmetic mean might not even be the most useful measure of center. This calculator gives you all the key statistics at once: mean, median, mode, standard deviation, quartiles, and more, so you can choose whichever measure best represents your dataset.

Quick example: For the numbers 85, 92, 78, 96, 88, 74, 91 - the mean is 86.29, the median is 88, there is no mode (all values appear once), the range is 22, and the standard deviation is 7.43. The median is slightly higher than the mean here because the two low scores (74, 78) pull the mean down.

Mean vs Median - Which One Should You Use?

The arithmetic mean and the median both describe the "center" of a dataset, but they behave very differently when the data is skewed or contains outliers.

The mean is sensitive to extreme values. One very high or very low number can drag the mean away from where most of the data actually sits. This is why average income statistics are often misleading - a handful of ultra-high earners push the mean far above what most people actually earn.

The median is resistant to outliers. No matter how extreme the highest or lowest value is, the median just cares about what's in the middle. For house prices, incomes, ages, and any dataset where extremes exist, median usually gives a more honest picture of a typical value.

Use the mean when your data is fairly symmetric without major outliers - like test scores within a normal range. Use the median when the data is skewed or when outliers exist that don't represent the typical case.

Standard Deviation - What It Actually Means

Standard deviation is a measure of how spread out the numbers are around the mean. A small standard deviation means most values are bunched close to the mean. A large standard deviation means they're scattered widely.

In a normal distribution - the classic bell curve - the standard deviation has a very specific meaning:

  • 68% of values fall within 1 standard deviation of the mean
  • 95% of values fall within 2 standard deviations
  • 99.7% of values fall within 3 standard deviations

This is called the empirical rule or the 68-95-99.7 rule. It's why a student scoring 2 standard deviations above the mean on a test is in roughly the top 2.5% of the class - which is a much more meaningful statement than just knowing the raw score.

This calculator computes population standard deviation (dividing by n) by default. If your numbers are a sample drawn from a larger population and you want to estimate the true population standard deviation, use n−1 instead of n - this is called Bessel's correction and gives a slightly larger, unbiased estimate.

Mode - When One Value Keeps Repeating

The mode is the value that appears most often in a dataset. Unlike mean and median, a dataset can have no mode (if every value is unique), one mode (unimodal), two modes (bimodal), or more (multimodal). Mode is the only one of the three measures of central tendency that makes sense for categorical data - you can find the most common color or the most popular category, but you can't find the mean of colors.

In test scores, mode is useful for identifying "clustering" - if 15 students scored 85 and it's the most frequent score, the teacher knows where the middle of the class landed better than any calculated average can show.

Weighted Average - When Not All Values Are Equal

A regular average treats every number as equally important. A weighted average lets certain values count more than others. The formula is: Weighted Mean = Sum of (value × weight) ÷ Sum of all weights.

Common Weighted Average Uses

  • GPA calculation - 4-credit courses count more than 1-credit courses
  • Course grades - final exam 40%, midterm 30%, quizzes 30%
  • Portfolio returns - larger investments weighted more
  • Consumer price index - essential goods weighted higher
  • Employee ratings - key competencies weighted by importance

Weighted vs Simple Average - Example

  • Quiz 1: 80 (weight 1)
  • Quiz 2: 75 (weight 1)
  • Midterm: 85 (weight 2)
  • Final: 90 (weight 3)
  • Simple average: 82.5
  • Weighted average: 85.71
  • Difference reflects the final exam's higher importance

Quartiles and the IQR - Finding Where Your Data Is Concentrated

Quartiles divide your sorted data into four equal groups. Q1 is the 25th percentile - 25% of values fall below it. Q2 is the median. Q3 is the 75th percentile. The IQR (Interquartile Range) = Q3 − Q1 and represents the middle 50% of your data - the "bulk" of the distribution stripped of its extremes.

The IQR is particularly useful for detecting outliers. The standard rule: any value below Q1 − 1.5×IQR or above Q3 + 1.5×IQR is considered a statistical outlier. This is the method used in box plots (box-and-whisker plots) and is more robust than simply eyeballing the data.

Geometric Mean and Harmonic Mean - When to Use Them

The arithmetic mean is the right tool when values are additive - test scores, temperatures, prices. But for multiplicative quantities like growth rates, investment returns, or ratios, the geometric mean is more accurate. If an investment grows 50% in year 1 and falls 50% in year 2, the arithmetic mean suggests a 0% overall change - but the geometric mean correctly shows you've actually lost 25% of your money (starting at 100, going to 150, then back to 75).

The harmonic mean is best for rates and ratios - particularly when averaging speeds. If you drive 60 km/h for one hour and 30 km/h for one hour, your average speed is the arithmetic mean (45 km/h). But if you drive 60 km/h for 60 km and then 30 km/h for 60 km (same distance, different times), your average speed is the harmonic mean of 60 and 30 - which works out to 40 km/h.

How this calculator works, and where the numbers come from

The Average / Mean Calculator applies the standard formula for this calculation to the values you enter and updates the result as you type. The calculation itself happens in your browser, and the page explains the method so you can check any result by hand.

Please note: Results are provided for general information and are calculated from the values you enter.

Sources and further reading

Last reviewed: by the CalcQube Editorial Team. See our editorial policy for how we build and check calculators, or report an error.