How to Calculate a Weighted Average Step-by-Step
In everyday arithmetic, a simple average treats every number with identical significance. However, in real life, not all numbers are created equal. A final exam worth 40% of your grade matters far more than a 5% weekly quiz; an investment holding 60% of your portfolio dictates your return far more than a 5% position; and purchasing 500 units at wholesale has a greater impact on inventory cost than buying 20 units.
Multiply Each Value by Its Weight
For every individual row or category, multiply the raw score or numerical value (xi) by its assigned weight or credit hours (wi) to obtain the weighted contribution.
Sum All Products Together
Add together all the weighted contribution products calculated in Step 1 to determine the total accumulated numerator: Σ(wi × xi).
Divide by Total Weight
Sum all weights together (Σwi). Divide the sum of products by the total weight. If weights already sum to 100%, dividing by 100 simply normalizes the score to a standard percentage.
Real-World Worked Examples
1. Course Grades (Weights Sum to 100%)
Homework 15% (score 92%), Quizzes 15% (score 85%), Midterm 25% (score 78%), Project 15% (score 96%), Final Exam 30% (score 88%).
Insight: The 30% final exam contributed 26.40 percentage points to the final grade, twice as much as the 15% quiz category (12.75 points).
2. Financial Portfolio Annual Return
Portfolio of $100,000: Equities $60,000 (+12.5%), Municipal Bonds $30,000 (+3.8%), Treasury Cash $10,000 (+1.5%).
Insight: Because 60% of capital was allocated to stocks, equities accounted for over 85% of total portfolio gain (7.50% of the 8.79%).
3. Inventory Cost Averaging (Weighted Average Cost Method)
Purchased: Batch 1 (100 units @ $10.00 = $1,000), Batch 2 (250 units @ $14.00 = $3,500), Batch 3 (150 units @ $16.00 = $2,400).
Insight: A simple unweighted average would be ($10 + $14 + $16) / 3 = $13.33. The weighted average ($13.80) accurately reflects that more units were purchased at higher prices ($14 and $16).
Weighted Average vs. Unweighted Simple Average: Side-by-Side Comparison
Understanding when to employ a weighted average versus an unweighted arithmetic mean is essential for accurate scientific reporting, grading policies, and financial decision making.
| Dimension | Weighted Average (x̄w) | Simple Arithmetic Mean (x̄) |
|---|---|---|
| Core Definition | A mathematical average where each observation is scaled by an assigned importance factor or weight (wi). | A mathematical average where every observation contributes equally to the final sum (1/n). |
| Formula | Σ(wi × xi) / Σwi |
Σxi / n |
| Weight Requirements | Supports percentages, credits, hours, points, or financial dollar allocations. Automatically normalized. | No weights required. Every observation is assumed to have identical unit weight (w = 1). |
| Impact of Heavy Items | High-weight components dominate the outcome (e.g. 40% final exam outweighs four 5% homeworks). | A single 5% quiz has the exact same mathematical pull as a comprehensive final exam. |
| Primary Real-World Uses | Course grades, College GPA, financial asset allocation, CPI inflation index, cost of capital (WACC). | Daily temperature averages, player batting averages, standard laboratory test replicates. |
Frequently Asked Questions (FAQ)
Σwi). This means your weights can be raw points, credit hours, or asset values—our calculator automatically normalizes them proportionally.
(100 - W)% of your grade. Use the algebraic formula:
Required Final Score = [Target - Current × (1 - W/100)] / (W/100)
For example, if you have an 84%, desire a 90% (Grade A), and the final is worth 25%, you need
[90 - 84 × 0.75] / 0.25 = 27 / 0.25 = 108% (meaning you would need extra credit).
Explore Our Free Calculator Series
Fast, privacy-first math & statistical utilities running 100% in your browser.