Skip to main content
RT
RoughTools.com
free online toolsNo signup required
MATH CALCULATORS

Weighted Average Calculator: How to Calculate a Weighted Mean

Learn how to calculate a weighted average, the difference between a weighted and simple average, and real-world applications in GPA, finance, and surveys. Free weighted average calculator included.

By RoughTools Team··7 min read

A weighted average assigns different levels of importance (weights) to different values. The formula: Weighted Average = Sum of (Value × Weight) / Sum of Weights. If a student scored 70% on a quiz (weight 1) and 90% on an exam (weight 3): Weighted Average = (70×1 + 90×3) / (1+3) = (70+270)/4 = 340/4 = 85%. The higher-weight exam score dominates the result.

The simple average (arithmetic mean) treats all values equally. This is fine when all observations are equally important. But when some data points matter more — a final exam counts more than a quiz; a large investment outweighs a small one; a high-traffic survey segment outweighs a low-traffic one — the weighted average gives you the more accurate and meaningful result.

Use the free Weighted Average Calculator at RoughTools to calculate the weighted mean for any set of values and weights.

👉 Free Weighted Average Calculator — instant, no signup required. → https://roughtools.com/tools/calculators/weighted-average-calculator

How to Use the Weighted Average Calculator

  1. Add each data point. Enter the value and its weight. The weight can be a percentage, a number of credits, a dollar amount, a number of respondents — any measure of relative importance.
  2. Weights do not need to sum to 100%. The calculator divides by the sum of weights automatically.
  3. Add as many items as needed. No limit on the number of data points.
  4. Read the result. Weighted average value, compared alongside the simple (unweighted) average so you can see the difference.

The Weighted Average Formula

Weighted Average = Σ(Value_i × Weight_i) / Σ(Weight_i)

Or with percentage weights that sum to 100%:

Weighted Average = Σ(Value_i × Weight_i%)

Worked examples:

Example 1 — GPA calculation:

| Course | Grade Points | Credit Hours | Quality Points | |--------|-------------|-------------|----------------| | Biology | 3.7 | 4 | 14.8 | | Writing | 3.0 | 3 | 9.0 | | Calculus | 2.7 | 4 | 10.8 | | History | 4.0 | 2 | 8.0 | | Total | | 13 | 42.6 |

Weighted GPA = 42.6 / 13 = 3.28
Simple Average = (3.7+3.0+2.7+4.0)/4 = 3.35

The weighted GPA (3.28) is lower than the simple average (3.35) because the highest grade (History, 4.0) is in a 2-credit course while the lowest grade (Calculus, 2.7) is in a 4-credit course. The weighting reveals the true picture.

Example 2 — Portfolio return:

| Investment | Return | Portfolio Allocation | |-----------|--------|---------------------| | US Stocks | 12% | 50% | | International | 8% | 25% | | Bonds | 4% | 20% | | Cash | 1.5% | 5% |

Weighted Return = (12×0.50) + (8×0.25) + (4×0.20) + (1.5×0.05)
               = 6.0 + 2.0 + 0.8 + 0.075
               = 8.875%
Simple Average: (12+8+4+1.5)/4 = 6.375%

The portfolio earned 8.875% weighted (since more capital was in higher-returning assets), not 6.375% simple average.

Real-World Applications

Education: GPA (grade points weighted by credit hours), final grade (components weighted by syllabus percentage), standardized test score composites.

Finance: Portfolio returns (assets weighted by allocation), weighted average cost of capital (WACC), weighted average interest rate on debt portfolio.

Surveys: Results weighted by demographic groups to match population distribution (e.g., if your survey has 60% women but the population is 51% women, weight women's responses at 51/60).

Manufacturing: Quality control batch testing (larger batches weighted more heavily); defect rate calculations weighted by production volume.

Economics: Consumer Price Index (CPI) — a weighted average of price changes for a basket of goods, with each item weighted by its share of typical consumer spending.

Frequently Asked Questions

When should I use weighted average vs. simple average? Use weighted average when different observations have different levels of importance, representativeness, or magnitude. Use simple average when all observations are equally important and equally sized. A common mistake: using a simple average when comparing rates or percentages across groups of different sizes. If Group A (1,000 people) has a 30% success rate and Group B (100 people) has a 70% success rate, the weighted average (not 50%) accounts for group sizes: (30%×1000 + 70%×100) / 1100 = (300+70)/1100 = 33.6%.

Can weights be negative? Mathematically yes, but in practice this rarely makes sense for a weighted average — negative weights would mean a value subtracts from the average rather than adds to it. Standard weighted averages use non-negative weights. For adjustment calculations where negative contributions make conceptual sense, the formula may be applied with negative weights, but the result is not a conventional "average" and should be interpreted carefully.

What if my weights do not add up to 100%? The calculator handles this automatically — it divides by the sum of all weights, whatever they total. You can use any weights (1, 2, 5, or percentages that don't sum to 100) and the calculation is still correct. However, if you are given weights that are supposed to sum to 100% (e.g., a course syllabus) and they don't, there may be an error in the weights — the total should always equal 100% for percentage-weight systems.

How is weighted average used in the Consumer Price Index? The CPI tracks price changes for a basket of goods and services. Each category (housing, food, medical care, transportation, etc.) is assigned a weight based on what average consumers spend on it. Housing costs are the largest weight (~33%); food (~14%); transportation (~17%); medical care (~9%). If housing prices rise 5% but constitute only 10% of CPI, it contributes 0.5 percentage points to inflation — less impact than if the same goods represented 40% of the basket.

What is the difference between weighted average and median? The median is the middle value when all data points are sorted by value; it is not affected by extreme outliers. The weighted average assigns importance to values but can be pulled significantly by high-weight outliers. Example: if one investor holds 80% of a portfolio and earns 2%, the weighted portfolio return is close to 2% regardless of what other investors earned. The median return would be the middle investor's return — a very different number. Use median for distribution descriptions; weighted average for proportional aggregation.

Related Free Tools on RoughTools

Calculate Your Weighted Average Now

The free Weighted Average Calculator at RoughTools calculates the weighted mean for any number of values and weights, compared alongside the simple average. No account needed, completely free.

Free Weighted Average Calculator →

More Articles

DAILY CALCULATORS
Tip Calculator — How Much to Tip at Restaurants and Services
MATH CALCULATORS
Volume Calculator — Calculate Volume of Any 3D Shape
MATH CALCULATORS
Area Calculator — Calculate Area of Any Shape Instantly
EDUCATION CALCULATORS
Grade Calculator — How to Calculate Your Final Exam Score
← Back to all articles