How To Calculate Weighted Average (With Examples)

By Chris Kolmar
Aug. 29, 2022

Find a Job You Really Want In

Many jobs across multiple fields require the calculation of weighted averages, as they often provide a more accurate picture than simple averages. It’s important to know how to calculate a weighted average, and while this may sound like a tall order if you don’t call yourself a mathematician, it’s actually simpler than you may think.

This article will provide you with a clear explanation and examples of how to calculate a weighted average, as well as additional information about weighted averages and when you’d use them.

Key Takeaways

  • To calculate a weighted average, you identify the weights of each value and add them together, multiply each value by its weight and add up the products, and divide that sum by the sum of the weights.

  • You can calculate a weighted average in Excel using the SUM or the SUMPRODUCT functions.

  • Weighted averages are often used in statistical research studies, classrooms, stock portfolios, warehouse weight measurements, and cost accounting.

How to Calculate Weighted Average

How to Calculate Weighted Average

To calculate the weighted average of a set of numbers, you multiply each value by its weight and follow up by adding the products.

Let’s go over the process step by step:

  1. Identify the weights. In some scenarios, determining the weight of each value is rather straightforward, albeit arbitrary. Consider teachers who provide a syllabus clearly laying out the weight of various coursework totaling up to 100% of your final grade.

    In other cases, the weight of each value is arrived at mathematically (we’ll cover a few such examples below). In stock trading, the amount of stock you buy represents the weight. When dealing with massive sets of statistical data, the weight of a variable is determined through the use of randomized data trees to ensure an unbiased distribution.

  2. Multiply the value by its weight. Once you’ve determined the weight of each value, it’s simply a matter of multiplying the weight, in decimal form, by the value. For example, if a teacher assigns tests a weight of 30%, you’d multiply your total test score by 0.3 to find your average for that category.

  3. Add the results. To complete the process, add up all the weighted values. The number you wind up with is out of 100, so it can be represented as a percentage or a decimal.

How to Calculate Weighted Average Out of More or Less Than 100%

In some cases, it’s not possible to weight the values in your data set in a way that perfectly adds up to 100%. However, there is a way to determine the weighted average in such scenarios:

  1. Identify the weights. Step one is essentially the same as in the above process, only your decimal places don’t add up to 1. If you don’t want to introduce bias, you can determine the frequency with which a number occurs, and then make that the variable’s weight, which will accurately show its influence over the rest of the data set.

    For example, if you tracked your daily food spending and found that:

    • 3 days you spent $15

    • 2 days you spent $35

    • 1 day you spent $20

    • 4 days you spent $10

  2. Add the weights. Since your weights don’t automatically add up to 1, if you have to add them yourself. To continue the above example your sample has a total of 10 days, making that the sum of all weights.

  3. Multiply each value by its weight. Now add multiply each value by its weight. So:

    • 3 x $15 = $45

    • 2 x $35 = $70

    • 1 x $20 = $20

    • 4 x $10 = $40

  4. Sum each number multiplied by its weight. Add up the above numbers: 45 + 70 + 20 + 40 = 175.

  5. Divide the result by the sum of weights.

    To continue our example, $175 / 10 = $17.5 is the weighted average of daily food spending.

Examples of Weighted Average Calculations

Here, we’ll give you examples of weighted average calculations with real numbers to provide insight into the exact process.

A few examples will use real-world examples mentioned earlier to provide context.

Example Weighted Average Calculation in Statistical Research Studies

A research study is conducted to assess whether men and women reply “YES” to a certain question.

Suppose 30 men end up participating, while the number of women is 70.
15 men and 50 women respond “YES” to the question.

A typical mean calculation would show that (15+50)/100 = 65% of men and women would reply “YES” to the question.

However, the ratio of men to women in the general population is almost exactly 50:50.

This means women are overrepresented in the study by a factor of 70/50 = 1.4.
Men are underrepresented in the study by a factor of 50/30 = 1.667.

Therefore, the normal mean is not representative of the overall population. We require a calculation that takes into account the disproportionality of the surveyed groups.

This is precisely what weighted averages are used for.

We want to weight the responses by men to be higher and the responses by women to be lower.

Divide the 50 women who responded “YES” by a weight of 1.4 (their overrepresentation factor).

50/1.4 = 35.71

Multiply the 15 men who responded “YES” by a weight of 1.667 (their underrepresentation factor).

15 x 1.667 = 25

The final step is to add these two values together and divide it by the number of research participants, giving us the weighted average.

(35.71 + 25)/100 = 60.71%

This weighted average percentage of 60.71% is much more representative of the population than our normal average of 65%.

Example Weighted Average Calculation in Natural Gas Trading

Natural gas traders are often interested in the volume-adjusted average price of gas in a particular region.

There are usually many gas stations within a region. Each of these varies in both price and volume of supply. A normal average calculation would not be useful, as it would not account for these different volumes.

A weighted average calculation resolves this complication. Consider the following formula:

Region price = ((Station1 price x Station1 volume) + (Station2 price x Station2 volume) + (Station3 price x Station3 volume) + …) / (Total Volume)

The above is a weighted average formula that uses each station’s volume of gas supply as the weight value. Thus, the natural gas trader can obtain the true volume-adjusted average price of gas.

Let’s now use real numbers to show the different results provided by a normal average and weighted average calculation.

The prices and volume at each station:

  • Station 1. Price = $2.15 and volume = 100 gal

  • Station 2. Price = $2.05 and volume = 150 gal

  • Station 3. Price = $1.95 and volume = 50 gal

A normal average would simply average the prices of the three stations.

Average = (2.15 + 2.05 + 1.95)/3 = 2.05

The weighted average uses the volume supplied at each station as the weight value.

Weighted average = ((2.15 x 100) + (2.05 x 150) + (1.95 x 50))/300 = 2.067

This value is the true average price of gas in the region. This difference could be critical in the success or failure of the trader.

Example Weighted Average Calculation in Classrooms

Professors and teachers need to understand weighted averages in order to calculate their students’ final grades accurately.

Exam, homework, and quiz grades are seldom equally important. Thus, weight values must be considered to obtain an authentic look at a student’s performance.

Suppose student grades are composed as follows:

  • Exams = 70%

  • Quizzes = 20%

  • Assignments = 10%

The values of each of the above categories can be used as the weight values.

Here are the scores two students have received in each of the categories:

  • Timmy. Exams = 50%, quizzes = 40%, and assignments = 70%

  • Bob. Exams = 76%, quizzes = 65%, and assignments = 12%

Now, let’s calculate their weighted grades.

Timmy’s weighted grade = (0.7 x 0.5) + (0.2 x 0.4) + (0.1 x 0.7) = 0.5 = 50%
Bob’s weighted grade = (0.7 x 0.76) + (0.2 x 0.65) + (0.1 x 0.12) = 0.674 = 67.4%

Clearly, both students should be studying harder.

Example Weighted Average Calculation in Daily Life

Calculating weighted averages isn’t just important in many math and finance-related fields, but can help you in your daily life.

Suppose John is considering the purchase of a new phone. He decides on the following system to rate how important certain features are to him:

  • Battery life = 40%

  • Camera image quality = 20%

  • Storage space = 40%

These ratings could then be used as weights to calculate the weighted average score of different phone models.

Comparing these relative scores allows John to compare phones and decide his purchase easily.

Suppose the three phones he’s considering have the following ratings:

  • New iPhone. Battery life = 5, camera image quality = 8, and storage space = 7.

  • New Android. Battery life = 4, camera image quality = 5, and storage space = 3.

  • New Huawei. Battery life = 6, camera image quality = 3, and storage space = 6.

Using each feature’s relative importance as the weight value, let’s now calculate each phone model’s weighted average score.

New iPhone score = (0.4 x 5) + (0.2 x 8) + (0.4 x 7) = 6.4
New Android score = (0.4 x 4) + (0.2 x 5) + (0.4 x 3) = 3.8
New Huawei score = (0.4 x 6) + (0.2 x 3) + (0.4 x 6) = 5.4

The iPhone has the highest score, so John now knows which phone to purchase.

How to Calculate Weighted Average in Excel

Sometimes, weighted averages can get a bit too confusing for a pen, paper, and simple calculator. And if you’re a teacher calculating grades for dozens of students or a financial expert parsing through thousands of data points, it’s prudent to turn to Excel or similar software.

Here are a couple of ways to find the weighted average for a data set using Excel:

  • Using the SUM function. If you’re familiar with the basics of Excel, you probably have some experience with the SUM function, which simply adds a set of numbers together. The trickier part is developing that set of numbers in the first place.

    To begin, place the values in one column and the weights in another column. Let’s say the values are in column C and the weights are in column D.

    Next, make a cell dedicated to your weighted average. Then, in this cell, type the formula:

    =SUM(C2*D2, C3*D3, C4*D4)

    and onwards for as many rows as you have.

    Finally, divide the result by the sum of the number of values. In Excel, this would look like


    (with the numbers “2” and “6” representing the range of values included in the data set). In other words, you would be dividing by 5 (2, 3, 4, 5, 6).

    In total, your formula would look like this:

    =SUM(C2*D2, C3*D3, C4*D4, C5*D5, C6*D6)/SUM(D2:D6)

    This strategy is very intuitive because it’s the same as calculating weighted average by hand. Likewise, it’s only truly efficient for small data sets — otherwise, you’ll want to move onto the second option.

  • Using the SUMPRODUCT function. For larger sets, it makes more sense to use the SUMPRODUCT function. Instead of multiplying each value by its weight individually, you provide a whole range of cells and tell the formula that one number is the value and the other is the weight. These ranges are called “arrays.”

    Now let’s assume the same setup as the example above, with values in column C and weights in column D. Your formula would look like

    =SUMPRODUCT(C2:C6, D2, D6)

    The formula is essentially the same as the one above, with the advantage that you don’t have to manually type in weight and value cells; simply drag your range for each array, and the formula does the rest.

    Now you simply have to divide by the sum of the total values in your set, just like in the above formula. Again, that looks like:


    So, in total, your formula is:

    =SUMPRODUCT(C2:C6, D2, D6)/SUM(D2:D6)

Note that either approach will work with weights that don’t add up to 1 or 100%. Your results also don’t have to be expressed as percentages. These simple Excel formulas can save you a bunch of time when calculating weighted averages.

What Is a Weighted Average?

A weighted average is the average of a data set that takes into account the differing degrees of importance of numbers in the set.

Each number in a data set is multiplied by a predetermined weight value during the calculation of the weighted average.

In comparison, normal average calculations treat each number in a data set as if they were assigned equal weight.

The step after numbers are multiplied by weights is the same for both unweighted and weighted averages. Each number is summed up and then divided by the number of elements in the set.

Using a weighted average versus a normal average can convey an entirely different picture.

This is true in situations such as calculating the benefits the average unemployed person receives. Only a portion of unemployed workers can receive benefits.

A weighted average calculation can easily take this into account by adjusting weight values to compensate.

A normal average calculation would completely miss this detail or require more data to provide the same accurate look.

When Are Weighted Averages Used?

Weighted averages are useful anytime some values are more important than others. There are many real-world situations where this is the case.

Understanding weighted averages will be a required skill if any of your planned jobs will involve the following:

  • Statistical research studies. Suppose a survey is conducted by statisticians to assess the opinions of men and women on a particular topic. However, one gender ends up participating much less in the study than the other.

    The ratio of genders in the overall population (nearly 50:50) is much different from the study’s ratio. To compensate, the survey team may weight the responses of each gender group so that they are represented proportionally.

    Similar scenarios are widespread in any research field.

  • Classrooms. The score a student achieves on an exam may be much more important than their score on a piece of homework. Thus, the student’s exam score is given a higher weighting when their course grade is calculated.

    Weighted GPAs also require similar calculations.

  • Stock portfolio. An investor buys shares in a company over a period of time. It can be challenging for them to keep track of their average cost as stock prices fluctuate in value.

    They can solve this issue by calculating a weighted average using the prices they bought shares at as different weight values.

    Weighted averages are used extensively in financial fields, especially by quantitative analysts. You’ll need to calculate weighted averages not just for stock prices but for almost every value on a balance sheet.

  • Warehouse weight measurements. Items are often kept on separate pallets inside warehouses. A weighmaster or scale operator could be tasked with collecting accurate weight measurements of these items.

    As some lots may be drastically more filled than others, simply averaging each type of item’s weight would not suffice.

    To account for these differences, a weighted average calculation uses the quantities of each type of item as the weight value.

  • Cost accounting. Suppose a company orders varying amounts of different goods, and their senior cost accountant seeks to calculate the average cost of goods.

    Rather than merely averaging the price of each type of good, the frequency at which each was purchased must be considered.

    A weighted average calculation could consider these various frequencies as the weight value, providing a more accurate average cost calculation.

Weighted average calculations are used in many other jobs, such as by funding specialists and actuaries.

Weighted Average FAQ

  1. How does a weighted average differ from a simple average?

    A weighted average differs from a simple average in that it accounts for the higher value of some of the items being averaged while a simple average treats all of the items as if they are of the same importance.

    For example, when you’re calculating your average grade for a class, the score you got on your final exam is typically more valuable than a score you got on a smaller quiz, and a weighted average takes that into account.

  2. What is a weighted average used for in accounting?

    A weighted average is used for inventory valuation in accounting. This is called the Weighted Average Cost (WAC) method, and it takes into account both the number of goods available for sale and their cost to calculate the WAC per unit.

  3. Why would you use a weighted average instead of a traditional average calculation?

    You’d use a weighted average instead of a traditional average calculation because a weighted average calculation accounts for the different values of the items you’re averaging.

    Traditional average calculations can be misleading if they’re used to average values that have wildly different importances or values.

    For example, as a student, you don’t want the poor grade you got on your ten-question pop quiz to carry the same weight in your final grade as your final project that you spent weeks working on. A weighted average calculation will ensure that this doesn’t happen by assigning more value to the final project than the pop quiz.

Final Thoughts

Calculating a weighted average provides many benefits over a simple average.

Its use is ubiquitous, both in daily life and in numerous professional fields.

With the job market as competitive as it is, every working professional needs to grow their toolbox of skills.

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

Never miss an opportunity that’s right for you.


Chris Kolmar

Chris Kolmar is a co-founder of Zippia and the editor-in-chief of the Zippia career advice blog. He has hired over 50 people in his career, been hired five times, and wants to help you land your next job. His research has been featured on the New York Times, Thrillist, VOX, The Atlantic, and a host of local news. More recently, he's been quoted on USA Today, BusinessInsider, and CNBC.

Related posts

Topics: Formulas, Glossary