Math calculators

Weighted Average Calculator

Updated May 21, 2026 By Jehan Wadia

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. Whether you're calculating grades, survey scores, financial returns, or any data where some items matter more than others, this calculator 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. If you need a quick refresher on how regular averages work first, try our Average Calculator.

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. You can explore the differences hands-on using our Mean Median Mode Calculator, which computes the simple arithmetic mean alongside other measures of central tendency.

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%. Use our Grade Calculator to see how individual assignments affect your overall course grade.
  • 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. Our GPA Calculator and Weighted GPA Calculator handle this automatically.
  • Statistics and surveys: Researchers weight responses to make sure certain groups are properly represented in the results. Tools like the Standard Deviation Calculator and Confidence Interval Calculator are often used alongside weighted averages to analyze survey data.
  • Sports: Batting averages, player ratings, and scoring systems often rely on weighted averages. For example, the Batting Average Calculator and ERA Calculator compute statistics where some at-bats or innings carry more influence than others.

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 — 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. Our Percentage Calculator can help you verify that your percentage-based weights sum correctly, and the Ratio Calculator is useful for confirming the proportional relationships between weights.

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, or use the Z Score Calculator to see how far individual values fall from the weighted mean. For datasets where you'd like to find the middle value rather than the weighted mean, the Median Calculator and IQR Calculator offer complementary perspectives on your data's distribution.


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.

Can I use decimals or negative numbers as values?

Yes. You can enter decimals like 85.5 or negative numbers like -3.2 in the Value column. The calculator handles both just fine. However, weights must be zero or greater — negative weights are not allowed.

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 Weight % column mean in the breakdown table?

The Weight % column shows what fraction of the total weight each entry holds, expressed as a percentage. For example, if one entry has a weight of 3 and the total weight is 9, that entry's Weight % is 33.3%. It tells you how much influence that entry has on the final result.

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.

Can I set a weight to zero?

Yes, you can set a weight to zero. That entry will simply be ignored in the calculation because multiplying by zero means it contributes nothing to the result. However, at least one entry must have a weight greater than zero, or the calculator cannot divide by the total weight.

What happens if I leave some rows blank?

Blank rows are automatically skipped. The calculator only uses rows where both a value and a weight have been entered. So you can leave extra rows empty without affecting your result.

How many rows can I add to the calculator?

You can add as many rows as you need. Use the "Add Rows" button to add 1, 2, 3, 5, or 10 rows at a time. There is no fixed limit, so you can enter large datasets.

How do I remove a single row?

Click the red X button on the right side of the row you want to remove. That row will be deleted and the remaining rows will be renumbered automatically. You must always have at least one row in the table.

How do I change the number of decimal places in the results?

Use the Decimal Places dropdown at the top of the data entry section. You can choose 0, 1, 2, 3, 4, or 6 decimal places. The default is 2. Your choice applies to the weighted average, the breakdown table, and the step-by-step solution.

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.

Can I use this calculator for financial calculations like portfolio returns?

Yes. Enter each investment's return as the value and the amount of money invested as the weight. The calculator will give you the weighted average return of your portfolio, showing how much each investment contributed to the overall result.

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.