Math calculators

Weighted Average Calculator

Updated Sep 1, 2026 By Infinity Calculator
Rate Formulas

Introduction

A weighted average is a type of average where some values count more than others. Unlike a simple average, which treats every number the same, a weighted average gives more importance to certain values based on their assigned weights. For example, if your science class is worth more credits than your art class, your science grade should have a bigger impact on your overall GPA. That's exactly what a weighted average calculates.

This Weighted Average Calculator makes it easy to find the weighted average for any set of numbers. Just enter your values and their weights, and the tool does the rest. It multiplies each value by its weight, adds up those products, and divides by the total weight. You'll also get a full step-by-step breakdown, a detailed table showing each entry's contribution, and visual charts so you can see how your weights are distributed. This calculator works for grades, survey scores, financial returns, or any data where some items matter more than others, and it gives you a fast and accurate answer.

How to Use Our Weighted Average Calculator

Enter your values and their corresponding weights into the table below, and this calculator will compute the weighted average, show a full step-by-step solution, and display helpful charts that break down each entry's contribution to the final result.

Name / Label (optional): Type a name or label for each entry, such as "Math" or "Science." This field is optional and is only used to help you identify each row in the results and charts.

Value: Enter the number you want to average for each entry. This is the data point itself, like a test score of 85 or a price of 12.50. You can use whole numbers or decimals, and negative numbers are allowed.

Weight: Enter a number that represents how important or how frequent that value is compared to the others. A higher weight means that value counts more in the final average. For example, a class worth 4 credit hours would have a weight of 4. Weights must be zero or greater, and at least one weight must be above zero.

Decimal Places: Use the dropdown to choose how many decimal places you want in your results. The default is 2, but you can pick anywhere from 0 to 6 depending on how precise you need your answer to be.

Add Rows / Remove Rows: If you need more entries, select how many rows to add and click the "Add Rows" button. To remove extra rows from the bottom of the table, select a number and click "Remove Rows." You can also remove any single row by clicking the red "X" button next to it.

Calculate: Once all your values and weights are filled in, click the "Calculate" button to see your weighted average, the sum of all weights, a detailed breakdown table, a step-by-step solution, and visual charts showing weight distribution and contribution breakdown.

Reset: Click the "Reset" button to clear all your entries and restore the calculator to its default example data so you can start over.

Weighted Average Calculator

A weighted average is a type of average where some values count more than others. Unlike a regular average, which treats every number equally, a weighted average gives each value a "weight" that shows how important it is. The bigger the weight, the more that value pulls the final answer toward it.

How to Calculate a Weighted Average

The formula for a weighted average is simple:

Weighted Average = (v₁ × w₁ + v₂ × w₂ + ... + vₙ × wₙ) ÷ (w₁ + w₂ + ... + wₙ)

In other words, you multiply each value by its weight, add up all those products, and then divide by the total of all the weights. For example, if your Math grade is 85 with a weight of 3 and your Science grade is 92 with a weight of 4, the weighted average is (85 × 3 + 92 × 4) ÷ (3 + 4) = (255 + 368) ÷ 7 = 89.

Weighted Average vs. Simple Average

A simple (arithmetic) average adds up all the values and divides by how many there are. Every value has equal importance. A weighted average lets you assign different levels of importance. When all weights are the same, the weighted average and the simple average give the exact same result.

Common Uses of Weighted Averages

  • School grades: Many classes weight exams more heavily than homework. A final exam worth 40% of your grade has a bigger weight than a quiz worth 10%.
  • Finance: Investors use weighted averages to find the average price they paid for a stock when they bought shares at different prices and quantities. The WACC Calculator applies the same concept to calculate a company's weighted average cost of capital.
  • GPA calculation: Your grade point average is a weighted average where each course grade is weighted by its credit hours.
  • Statistics and surveys: Researchers weight responses to make sure certain groups are properly represented in the results.
  • Sports: Batting averages, player ratings, and scoring systems often rely on weighted averages.

Tips for Choosing Weights

Weights can be any positive number. They do not need to add up to 100 or any specific total. What matters is the ratio between the weights. A weight of 6 and a weight of 2 has the same effect as a weight of 3 and a weight of 1, since the first value is three times as important as the second in both cases. If you use percentages as weights, make sure they add up to 100 so your result is accurate.

Understanding the Results

This calculator shows you a full breakdown of each step. The Weight % column tells you what fraction of the total weight each entry holds. The Contribution column shows how much each entry adds to the final weighted average. These two pieces of information help you see exactly which values are pulling the result up or down the most. If you want to dig deeper into your data, consider computing the standard deviation to measure how spread out the values are.


Formulas used

Weighted Average
\bar{x}_w = \frac{\sum_{i=1}^{n} v_i \times w_i}{\sum_{i=1}^{n} w_i}
Weight Percentage
\text{Weight \%}_i = \frac{w_i}{\sum_{j=1}^{n} w_j} \times 100
Contribution of Each Entry
C_i = \frac{v_i \times w_i}{\sum_{j=1}^{n} w_j}

Frequently asked questions

What is a weighted average?

A weighted average is a type of average where some values count more than others. Each value gets a "weight" that shows how important it is. Values with bigger weights have a bigger effect on the final answer. For example, if a final exam is worth more than a quiz, the exam score pulls the average more.

What is the formula for weighted average?

The formula is:

Weighted Average = (v₁ × w₁ + v₂ × w₂ + ... + vₙ × wₙ) ÷ (w₁ + w₂ + ... + wₙ)

You multiply each value by its weight, add up all those products, then divide by the total of all the weights.

Do my weights need to add up to 100?

No. Your weights can be any positive numbers. They do not need to add up to 100 or any specific total. What matters is the ratio between the weights. A weight of 6 and a weight of 2 gives the same result as a weight of 3 and a weight of 1. However, if you are using percentages as weights, they should add up to 100 for an accurate result.

What happens if all my weights are the same?

If every weight is the same number, the weighted average equals the simple (regular) average. The weights cancel out because each value has equal importance. For example, giving every entry a weight of 1 is the same as just adding up all the values and dividing by how many there are.

What does the Contribution column mean?

The Contribution column shows how much each entry adds to the final weighted average. It is calculated as (value × weight) ÷ total weight. If you add up all the Contribution values, you get the weighted average. This helps you see which entries are pulling the result up or down the most.

What is the difference between weighted average and weighted mean?

They are the same thing. "Weighted average" and "weighted mean" are two names for the exact same calculation. Both multiply each value by its weight, sum the products, and divide by the total weight.

How is weighted average used to calculate GPA?

In GPA calculations, each course grade is a value and the number of credit hours is the weight. A 4-credit course counts twice as much as a 2-credit course. You multiply each grade point by its credit hours, add those products, and divide by total credit hours to get your GPA.

What do the charts show?

The Weight Distribution bar chart shows each entry's weight percentage and value side by side, so you can see which entries carry the most importance. The Contribution Breakdown donut chart shows how much of the total (value × weight) product each entry represents, helping you visualize which entries drive the final average the most.

Why is my weighted average higher or lower than my simple average?

This happens when higher or lower values have bigger weights. If your highest values also have the largest weights, the weighted average will be higher than the simple average. If your lowest values have the largest weights, the weighted average will be lower. The weights shift the result toward the values that carry more importance.