Numfino

Weighted Average Calculator

Calculate the weighted average of any data set in seconds. Enter your scores, grades, credits or quantities separated by commas to view each item's contribution.

Scores, prices or returns, separated by commas
One weight per value in the same order: percent, credits, quantities…
Weighted average87.7
Weighted average87.7
Sum of weights
100
Sum of value × weight
8,770
Simple (unweighted) average
87.5
Pairs used
4
ValueWeightShare of total weightContribution
882020%17.6
923030%27.6
752525%18.75
952525%23.75

How to use this calculator

  1. Enter your numbers into the Values field, separated by commas (such as assignment scores, grades or prices).
  2. Enter the corresponding weight for each number in the Weights field in the same order (such as percentages, credit hours or quantities).
  3. Review the Weighted average and compare it with the Simple (unweighted) average.
  4. Check the table to see each item's Share of total weight and individual Contribution.

How the weighted average is calculated

A weighted average accounts for the relative importance of each value in a data set. Instead of treating every number equally, each value is multiplied by its assigned weight before summing. The sum of these weighted values is then divided by the sum of all weights.

Weighted average = Σ(w · x) ÷ Σw
  • x = value of each item (such as a score, price or return)
  • w = weight of each item (such as percentage, credit hours or quantity)
  • Σ(w · x) = sum of each value multiplied by its matching weight
  • Σw = sum of all weights

When all weights are equal, the weighted average matches the simple average. When weights differ, items with larger weights exert a stronger pull on the final result.

Worked example: Course grade calculation

Consider a course evaluation with four assignments. You score 88 on homework with a weight of 20%, 92 on the midterm exam weighted at 30%, 75 on a class project weighted at 25%, and 95 on the final exam weighted at 25%.

Multiplying each score by its weight yields 17.6 from homework, 27.6 from the midterm, 18.75 from the project, and 23.75 from the final exam. The Sum of value × weight equals 8770. Dividing this total by the Sum of weights of 100 produces a Weighted average of 87.7.

By contrast, adding the four scores together and dividing by 4 gives a Simple (unweighted) average of 87.5. The weighted result is higher because your highest score of 92 carries the largest weight of 30%, pulling the final grade upward.

Example: Grade point average with credit hours

College grade point averages use the same mathematical formula. Suppose you complete three courses with grades of 3.5, 4 and 2.7, carrying 3, 4 and 3 credit hours.

The course with 4 credits represents 40% of your total course load, contributing 1.6 to the numerator. The two 3 credit courses represent 30% each, contributing 1.05 and 0.81.

The Sum of value × weight is 34.6, and the Sum of weights is 10. Dividing 34.6 by 10 yields a Weighted average GPA of 3.46, compared to an unweighted average of 3.4.

How to interpret the results

Comparing the weighted average to the simple unweighted average reveals how much weighting influences your outcome. If higher values carry larger weights, the weighted mean exceeds the unweighted mean. When larger weights pair with lower values, the weighted average drops below the simple average.

The results table displays each item's Share of total weight alongside its numerical Contribution. A category with a large weight determines most of the final outcome, regardless of small shifts in lightly weighted categories.

If you need standard central tendency metrics for unweighted numbers, consult the average calculator.

Common mistakes and practical tips

A common mistake is assuming that weights must add up to 100. Weights can represent credit hours, physical quantities or dollar amounts. The formula divides by the total weight, automatically scaling the result even if weights total 10 or 350.

Another mistake is entering values and weights out of order. Each weight must correspond to the value in the matching position, or an item receives the wrong emphasis.

When tracking investment purchases over time, adding prices together gives a misleading figure. Use the average cost calculator to determine your true per-unit cost based on actual quantities bought.

When evaluating investment performance, weight each return by the amount invested. To evaluate individual asset performance before aggregating, check the roi calculator. If you need to calculate individual percentage proportions, use the percentage calculator.

Assumptions and limits of the calculator

The calculator assumes that values and weights are entered in matching sequential order. If the two lists have different counts of numbers, the engine calculates results using only the matching pairs and ignores trailing entries.

The tool requires numerical inputs and cannot process letter grades directly. To calculate a college grade point average, convert letter grades into numerical grade points before entering them alongside credit hours.

The model does not account for minimum passing thresholds, dropped scores or curved distributions. It also does not model taxes, trading fees or compounding periods for portfolio returns. Confirm specific institutional policies or grading rubrics with your academic institution or financial advisor.

Frequently asked questions

What is the difference between a weighted average and a simple average?

A simple average treats every number equally by dividing the sum of values by their count. A weighted average multiplies each value by its assigned weight, giving greater influence to items with larger weights.

Do the weights need to add up to 100?

No. Weights can be any positive numbers, such as credit hours, quantities or dollar values. The formula divides by the sum of all weights, automatically normalizing the result.

Can I calculate a grade point average with this tool?

Yes. Enter your numerical grade points in the values field and the corresponding credit hours in the weights field to find your weighted grade point average.

What happens if I enter more values than weights?

The calculator pairs values and weights in order and computes the result using only the matching pairs, ignoring any extra unmatched numbers at the end of the longer list.

Can weights be negative?

Weights in standard weighting calculations represent non-negative quantities such as credits, percentages or amounts. Negative weights can produce invalid or misleading averages.

Sources and further reading

Last reviewed November 21, 2026 · How we calculate