Finance & Statistics

Weighted Average Calculator

Calculate weighted arithmetic means for stock portfolio dollar-cost averaging, inventory cost accounting, survey ratings, and multi-factor decision metrics with full step-by-step breakdown.

Calculate Weighted Average

Calculate weighted mean when certain values hold more relative importance, percentage, or volume.

Weighted Average
88.80
Sum of Weights = 100.00
Total Weighted Product:8880.00
Total Weight Sum (∑w):100.00
Number of Entries:4
Weighted Formula:
∑(w·x) ÷ ∑w = 8880.00 ÷ 100.00 = 88.80

Financial Math · Investment Accounting · Decision Science

In traditional mathematics, the standard arithmetic mean assumes that every data point carries equal significance. While this works well for simple uniform measurements (like five daily high temperatures), it breaks down completely in business, finance, and engineering where individual quantities carry vastly different economic stakes.

A weighted average solves this problem by allowing each observation to exert an influence proportional to its designated weight factor (such as share volume, dollar investment, or customer headcount).

The Weighted Average Formula Explained

To compute a weighted mean manually, follow three straightforward steps:

Weighted Average = ∑(Value × Weight) ÷ ∑Weights = ∑(w · x) ÷ ∑w
  1. Step 1: Multiply each value (x) by its corresponding weight (w) to find each product.
  2. Step 2: Add all weighted products together to find the numerator: ∑(w · x).
  3. Step 3: Sum all individual weights to find the denominator: ∑w.
  4. Step 4: Divide the sum of products by the sum of weights.

Real-World Example: Stock Portfolio Cost-Per-Share Averaging

One of the most widespread applications of weighted averages is determining cost basis in equity investments. Suppose you buy shares of a technology stock in three separate transactions:

Transaction Ledger Breakdown
Lot #Share Price ($)Shares Bought (Weight)Total Cost ($)
Tranche 1$140.00100 shares$14,000.00
Tranche 2$110.00250 shares$27,500.00
Tranche 3$125.00150 shares$18,750.00

Total Capital Invested (∑w · x) = $14,000 + $27,500 + $18,750 = $60,250.00.
Total Shares Owned (∑w) = 100 + 250 + 150 = 500 shares.
Weighted Average Cost per Share = $60,250 ÷ 500 = $120.50 per share.

Compare this to the simple average of the three transaction prices: ($140 + $110 + $125) ÷ 3 = $125.00. Relying on the simple mean would overstate your breakeven cost by $4.50 per share!

Business Application: Blended Customer Satisfaction Scores

Suppose a company operates three customer service branches with differing call volumes:

  • Branch A (Chicago): Satisfaction Score = 95% (Call Volume = 200 calls) → Product = 19,000
  • Branch B (New York): Satisfaction Score = 82% (Call Volume = 1,200 calls) → Product = 98,400
  • Branch C (Dallas): Satisfaction Score = 88% (Call Volume = 600 calls) → Product = 52,800

Total Call Volume = 200 + 1,200 + 600 = 2,000 calls.
Total Weighted Sum = 19,000 + 98,400 + 52,800 = 170,200.
Company-Wide Blended Satisfaction = 170,200 ÷ 2,000 = 85.10%.

Frequently Asked Questions About Weighted Averages

What is a weighted average and when should I use it?

A weighted average is a calculation where each data point contributes proportionally to its assigned weight factor rather than having equal influence. You should use a weighted average whenever numbers in your dataset represent varying quantities, share volumes, credit hours, or importance ratings (such as stock portfolio cost bases, academic grades, or multi-branch customer satisfaction scores).

What is the formula for calculating a weighted average?

The mathematical formula is: Weighted Average = ∑(Value × Weight) ÷ ∑Weights = ∑(w · x) ÷ ∑w. Multiply each value by its corresponding weight, add all the products together, and divide by the total sum of the weights.

Do weights have to add up to 100 or 1.0?

No! Weights can be any non-negative numbers. They can be whole share quantities (e.g. 50 shares, 150 shares), credit hours (e.g. 3 credits, 4 credits), or arbitrary points. Because the formula divides by the sum of all weights (∑w), the weights are automatically normalized into exact proportions.

How does weighted average differ from a simple arithmetic mean?

A simple arithmetic mean treats every number equally (sum divided by count). For example, if you buy 10 shares of stock at $10 and 1,000 shares at $20, the simple average is ($10 + $20) ÷ 2 = $15. But your true weighted cost per share is $19.90 because almost all your capital was spent at $20. The simple mean is blind to volume; the weighted average reflects true economic reality.

Can weights be negative?

In standard practical applications (finance, grading, inventory, physical science), weights must be non-negative (zero or greater). Negative weights can produce mathematical anomalies where the sum of weights approaches zero, causing undefined division.

Need to Calculate Simple Mean, Grades, or Atomic Masses?

Our calculation suite also includes batch simple arithmetic mean with standard deviation, course grade calculators with target final solvers, and chemistry isotope mass calculators.

Launch Complete Average Calculator →