Two-Value Weighted Average Calculator
A weighted average equals the sum of each value multiplied by its weight, divided by total weight. Values of 80 and 100 with weights 3 and 1 have a weighted average of 85.
Formula & method
Weighted average = (first value × first weight + second value × second weight) ÷ (first weight + second weight).Worked example
| Input | Value |
|---|---|
| First value | 80 |
| First weight | 3 |
| Second value | 100 |
| Second weight | 1 |
| Result | Value |
|---|---|
| Weighted average | 85 |
| Total weight | 4 |
Compare scenarios
The first input changes while the other example inputs stay fixed. These are arithmetic scenarios, not forecasts.
| Compare scenarios | First value | Weighted average | Total weight |
|---|---|---|---|
| −20% | 64 | 73 | 4 |
| Example | 80 | 85 | 4 |
| +20% | 96 | 97 | 4 |
Assumptions & limits
Weights can be counts, proportions or percentages as long as they are comparable and non-negative. They do not have to sum to 100. To combine rates such as CPC, use the relevant denominators as weights rather than averaging campaign percentages blindly.
Displayed results are rounded. Calculations use unrounded JavaScript numbers; small floating-point differences are possible.
Works in your browser
The interactive tool runs in a sandbox with network access blocked. ClearByte and the advertising scripts cannot read values inside it. Browser extensions and a compromised device remain outside this protection.
Sources & definitions
Method checked:
Continue with a related task
CPC Calculator
Average CPC equals advertising spend divided by recorded clicks. Spending 150 for 300 clicks gives an average CPC of 0.50.
Conversion Rate Calculator
Conversion rate equals conversions divided by eligible interactions, multiplied by 100. Forty-two conversions from 1,400 interactions gives 3%.
Gross Margin Calculator
Gross margin is revenue minus included cost of goods, divided by revenue, multiplied by 100. Revenue of 1,000 and cost of 650 gives a gross profit of 350 and margin of 35%.
Percentage Calculator
Calculate a percentage of a base value and the value after that percentage is added or removed. Enter a negative base only when it makes sense for your task.