Calculators.Life Calculator
Statistics

Weighted Mean Calculator

Input Parameters

Scenarios
First data value
Weight for first value
Second data value
Weight for second value
Third data value
Weight for third value
Fourth data value
Weight for fourth value
Fifth data value
Weight for fifth value
Sixth data value
Weight for sixth value

Computed Results

Weighted Average
80
Sum of Weights (∑w)4
Sum of Products (∑w·x)320
Unweighted Average (Arithmetic Mean)80

The weighted mean calculator determines the average of a dataset where some values contribute more than others. By factoring in the relative importance or frequency of each data point, it calculates the weighted average, sum of weights, and sum of products, helping you evaluate grades, portfolio returns, or inventory costs with precision.

Verified Calculation Scenarios

Here are examples of how the calculator processes different datasets based on the values and weights provided.

Two-Item Weighted Average

If you have a value of 10 with a weight of 1, and a value of 20 with a weight of 3, the calculator multiplies each value by its weight to find the sum of products (70). It then divides this by the sum of the weights (4) to determine a weighted average of 17.5. The simple, unweighted average of these two active values is 15.

Full Six-Item Dataset

Consider a dataset with six entries: 85 (weight 2), 90 (weight 2), 75 (weight 1), 95 (weight 3), 80 (weight 1), and 70 (weight 1). The sum of the products is 860, and the sum of the weights is 10. Dividing these yields a weighted average of 86, compared to a simple average of 82.5.

Weighted Mean Formula

The calculator uses the standard mathematical formula for a weighted average:

Weighted Mean = (∑w·x) ÷ ∑w

Where:

How to Use the Calculator

Follow these steps to calculate your weighted average:

  1. Enter your first data point into the Value (x₁) field and its corresponding weight into the Weight (w₁) field.
  2. Continue entering up to six value-weight pairs.
  3. Leave any unused fields blank or as zero. Note that any value assigned a weight of zero is completely excluded from both the weighted and unweighted average calculations.
  4. Review the results, which include the weighted average, the sum of all active weights, the sum of the products, and the simple arithmetic mean of the active values.

Inputs and Outputs

The table below defines the fields used in the calculator.

FieldTypeDescription
Value (x)InputThe numerical data point to be averaged.
Weight (w)InputThe relative importance, frequency, or percentage assigned to the value.
Weighted AverageOutputThe final calculated mean, accounting for the weights of all active entries.
Sum of Weights (∑w)OutputThe total of all weights entered greater than zero.
Sum of Products (∑w·x)OutputThe total sum after multiplying each value by its respective weight.
Unweighted AverageOutputThe simple arithmetic mean of the values that have a weight greater than zero.

Practical Use Cases

Weighted means are used in various scenarios where a simple average would be inaccurate:

Frequently Asked Questions

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

A simple average treats all values equally by adding them up and dividing by the total count. A weighted mean multiplies each value by a specific weight before summing, giving more mathematical importance to certain values.

Can I use percentages as weights?

Yes, you can enter percentages as decimals (e.g., 0.25 for 25%) or as whole numbers (e.g., 25). As long as the proportions are consistent, the calculator will determine the accurate weighted mean.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.