Math & Statistics

Weighted Average Calculator

Enter values and their weights to compute the weighted mean instantly. Perfect for GPA, portfolio returns, grading, and any scenario where data points have unequal importance.

Weighted average calculator

Enter values and their weights to compute the weighted mean.

ValueWeight
Weighted average
81.1111
Simple average: 80.0000
Sum of (value \u00d7 weight): 730.00
Sum of weights: 9.00
#ValueWeightV \u00d7 W
190.003.00270.00
280.004.00320.00
370.002.00140.00
Total9.00730.00
Instant calculationStep-by-step breakdownUnlimited rows

How weighted averages work

The formula for a weighted average is:

Weighted Average = \u03a3(value\u1d62 \u00d7 weight\u1d62) \u00f7 \u03a3(weight\u1d62)

In plain terms:

  1. Multiply each value by its corresponding weight.
  2. Sum all the products.
  3. Divide by the sum of all weights.

For example, if you earned a 4.0 in a 3-credit course and a 3.0 in a 4-credit course: (4.0\u00d73 + 3.0\u00d74) / (3+4) = 24/7 = 3.4286.

Common use cases

GPA calculation

Weight grade points by credit hours to compute your cumulative GPA.

Portfolio returns

Weight each asset’s return by its allocation percentage to get the overall portfolio return.

Grading schemes

Combine exam, homework, and project scores with different category weights.

Survey analysis

Weight responses by frequency or sample size for accurate population estimates.

Inventory costing

Use Weighted Average Cost (WAVCO) method for COGS calculation.

Sports statistics

Weight batting averages, shooting percentages, or ratings by games played.

Frequently asked questions

What is a weighted average?

A weighted average assigns different levels of importance (weights) to each value before computing the mean. The formula is: Σ(value × weight) ÷ Σ(weights). Unlike a simple average where all values count equally, a weighted average lets higher-weighted values influence the result more.

How is weighted average different from simple average?

A simple (arithmetic) average treats every value equally: sum all values and divide by the count. A weighted average multiplies each value by its weight first, sums those products, then divides by the total weight. They’re equal only when all weights are the same.

How do I calculate my GPA using weighted average?

Enter each course’s grade points as the value (e.g., A=4.0, B=3.0) and the credit hours as the weight. The weighted average equals your GPA. For example: (4.0×3 + 3.5×4 + 3.0×3) / (3+4+3) = 3.50.

Can I use negative values or weights?

Values can be negative (e.g., investment losses). However, weights should typically be positive. If all weights sum to zero, the weighted average is undefined.

What are common uses for weighted averages?

GPA calculation, portfolio returns, survey analysis (frequency weighting), inventory costing (WAVCO), grading schemes with different category weights, sports statistics, economic indices (CPI), and any scenario where data points have unequal importance.

How many rows can I add?

There’s no hard limit. You can add as many value-weight pairs as needed. The calculator processes them all instantly in your browser.

Does this calculator show the calculation steps?

Yes. Below the result you’ll see a table showing each value, its weight, the product (value × weight), and the totals. This makes it easy to verify the calculation.

What if I just want a simple average?

Set all weights to 1 (or any equal number). When weights are equal, the weighted average equals the simple average. The calculator always shows both results for comparison.