# Weighted Mean Calculator

Enter value of X along with Weighted Mean W.

## Weighted Mean Formula

Weighted Mean = (w1*x1 + w2*x2 + ........ + wn*xn) / (x1 + xn + ........ + xn)

Where:

• w1, w2, ..... , wn are the weights of each data point
• x1, x2, ..... , xn are the values of each data point

e.g: Weighted mean = (2 * 1 + 3 * 2 + 4 * 3) / (2 + 3 + 4) = 11 / 9 = 1.22222

## How to Calculate Weighted Mean?

To calculate the weighted mean, you need two sets of data: the values and their corresponding weights. The weighted mean is obtained by multiplying each value by its corresponding weight, summing up these products, and dividing the result by the sum of the weights.

Here's the step-by-step process to calculate the weighted mean:

1. Gather the values and their corresponding weights. Let's denote the values as x1, x2, x3,..., xn, and their corresponding weights as w1, w2, w3,..., wn. Ensure that the number of values matches the number of weights.
2. Multiply each value by its corresponding weight. Calculate the product of each value and its weight: x1*w1, x2*w2, x3*w3,..., xn*wn.
3. Sum up the products. Add up all the products obtained in the previous step: (x1*w1) + (x2*w2) + (x3*w3) + ... + (xn*wn).
4. Sum up the weights. Calculate the sum of all the weights: w1 + w2 + w3 + ... + wn.
5. Divide the sum of products by the sum of weights. Divide the sum obtained in Step 3 by the sum obtained in Step 4: (x1*w1 + x2*w2 + x3*w3 + ... + xn*wn) / (w1 + w2 + w3 + ... + wn).
6. The result of Step 5 is the weighted mean. This value represents the average of the values, taking into account their respective weights.

## Importance of Weighted Mean in Real World

Here are some additional examples of how the weighted mean can be used:

• To calculate the average salary of a company's employees, where some employees have more experience than others.
• To calculate the average test score of a group of students, where some students have taken more practice tests than others.
• To calculate the average cost of a car, where some cars have more features than others.
• The weighted mean is a powerful tool that can be used to calculate the average of a set of data points, where some data points are more important than others.