Weighted Price Calculator

Calculate volume-weighted average price (VWAP) for stocks, products, and procurement. Enter purchase prices and quantities to find your true average cost basis with live charts.

Data Entry

# Label (optional) Value Weight V × W

Quick Presets

Computation Flow

Live
Inputs Products Result
Result
0.00
Sum of Products0.00
Sum of Weights0.00
Total Entries0

Weight Distribution

Live
0.00Weighted Avg

Value Comparison

Live

Result Gauge

Live
0 50 100
0.00
Min
Max
Range
Top Weight

Volume-Weighted Price Calculator

Enter purchase prices and quantities to find your true average cost basis (VWAP).

Input Data
# Item / Ticker Unit Price ($) Quantity
Avg Price/Unit
0.00
Total Spend
Total Units
Distribution Live
Add data to see chart

What Is a Weighted Price ?

Understanding Weighted Price

A weighted price calculates the true average cost when you buy the same item at different prices and quantities. Each purchase price is weighted by the quantity bought, so larger purchases have more impact on your average cost.

Why Simple Average Price Is Wrong

If you buy 100 shares at $50 and 900 shares at $55, the simple average is $52.50 — but your true cost basis is $54.50. The weighted price calculator prevents this costly miscalculation.

Interactive Balance Beam

Drag Sliders
4
1
90 70 86.00
Simple Avg80.00
Weighted Result86.00
Difference6.00
Drag the sliders to see how weights shift the weighted result compared to the simple average.

How to Use the Weighted Price Calculator

1

Enter Your Values

Type each data point into the 'Value' column. These are the price ($)s you want to weight.

Value85
2

Assign Weights

Enter the quantity for each value. The calculator accepts any positive numbers as weights.

Weight4
3

View Results

The calculator computes your result instantly. See the weighted result, sum of products, sum of weights, and interactive charts update in real time.

Result85.78

Weighted Price Formula

The Weighted Price Formula Explained

w =
Σ (xi · wi)Σ wi
=
x₁w₁ + x₂w₂ + … + xₙwₙw₁ + w₂ + … + wₙ
wWeighted result
xiEach value
wiCorresponding weight
ΣSum of all terms

The weighted price formula: multiply each value by its weight, sum those products, then divide by the total of all weights.

Try the Formula Live

Live Formula — Edit Values

Interactive
Products:(85×4) + (92×3) + (78×2) = 340 + 276 + 156 = 772
Total Weight:4 + 3 + 2 = 9
Result:772 ÷ 9 = 85.78
7885.7892

How the Calculator Computes Weighted Price Step by Step

Inside the Weighted Price Calculator

Values

📐Buy 1 = 85
🔬Buy 2 = 92
📖Buy 2 = 78

Weights

⚖️Quantity = 4
⚖️Quantity = 3
⚖️Quantity = 2

Step 1: List values and weights

Enter each value alongside its weight. For example: Buy 1 50 (weight 100), Buy 2 55 (weight 200), Buy 3 48 (weight 150).

85×4=340
92×3=276
78×2=156

Step 2: Multiply each value by its weight

50 × 100 = 5000, 55 × 200 = 11000, 48 × 150 = 7200.

340+276+156
Σ Products= 772

Step 3: Sum all the products

5000 + 11000 + 7200 = 23200.

4+3+2
Σ Weights= 9

Step 4: Sum all the weights

100 + 200 + 150 = 450.

7729
=
85.78Result

Step 5: Divide to get the result

23200 ÷ 450 = 51.56.

Common Weighted Price Mistakes

Using simple average when weights differ

When values have unequal importance, simple averaging misleads. This calculator weights correctly.

Dividing by count instead of total weight

Always divide by the sum of weights, not the number of values.

Swapping values and weights

Putting values in the weight column produces wrong results. The labeled columns prevent this.

Correct approach

Multiply each value by its weight. Sum products. Sum weights. Divide. The calculator automates this.

Weighted Price Examples

🎓

Weighted Price Example 1

Use the weighted price calculator to compute weighted results. Edit values below.

PurchasePrice ($)QuantityProduct
Buy 1360
Buy 2225
Buy 395
Weighted Result =85.00
85.00result

The weighted result accounts for different weights across categories, giving a more accurate composite than a simple average.

💹

Weighted Price Example 2

Another real-world example. Edit values to see the result update instantly.

SupplierUnit PriceQty OrderedProduct
Supplier A600000
Supplier B150000
Supplier C160000
Weighted Result =9.10%
9.10%result

The weighted result reflects the true composite value when different sources have different levels of importance or volume.

Where Weighted Price Is Used

🎓

Stock Cost Basis

Track your true average purchase price across multiple stock buys at different price levels for accurate capital gains reporting.

Buy @ $50 (100 shares):90
Buy @ $55 (200 shares):75
Avg Price/Share:85.0
💹

Procurement & Purchasing

Compare supplier quotes weighted by order volume to determine your blended unit cost from multiple vendors.

Supplier A ($12/unit × 500):12%
Supplier B ($9/unit × 800):5%
Blended Cost:9.2%
📦

Dollar-Cost Averaging

See how your periodic investment purchases at varying prices produce a volume-weighted average entry price over time.

Jan Buy ($150 × 10):$5
Feb Buy ($140 × 12):$8
Avg Entry Price:$6.00
📊

Commodity Blending

Calculate the blended cost when mixing materials purchased at different per-unit rates and varying quantities.

Grade A ($8/lb × 2000):4.0
Grade B ($5/lb × 3000):3.0
Blended Cost:3.71

Important Weighted Price Notes

⚖️

Weights must be positive. The calculator requires positive weights. A weight of zero excludes that value entirely.

40% + 35% + 25% = 100% ✓
🔢

Equal weights = simple average. If every value has the same weight, the weighted result equals the simple average.

W1=4, W2=1 → Weighted: 86.00 ≠ Simple: 80.00
📏

Result always falls between min and max values. No matter the weight distribution, the result will always be between the smallest and largest values.

Min: 70
Max: 90
Result: 85.0 — always within range
🎯

Larger weights dominate the result. The larger a weight relative to the total, the more the result is pulled toward that value.

Heavy weight pulls result to: 88.0

Explore Our Calculator Tools

Fifteen purpose-built weighted average calculators — each tailored to a specific domain with unique inputs, outputs, and interactive visualizations.

Grade Calculator

Calculate your final grade using weighted assignments, exams, and projects.

AssignmentsExamsProjects

GPA Calculator

Compute your grade point average across multiple courses.

CoursesCreditsSemesters

Weighted Moving Average Calculator

Apply a weighted moving average to time-series data.

Time-seriesForecastingTrends

Finance Calculator

Portfolio returns, WACC, and investment-weighted metrics with real-time breakdowns.

PortfolioWACCReturns

Cost Calculator

Inventory valuation, unit costs, and supplier comparison with quantity weighting.

InventoryUnit CostAVCO

Payroll Calculator

Blended pay rates, overtime costs, and department salary analysis by headcount.

Pay RatesOvertimeHR

Time Calculator

Weighted durations, delivery estimates, and PERT scheduling by task frequency.

SchedulingSLAPERT

Statistics Calculator

Weighted mean, variance, standard deviation, and coefficient of variation analysis.

MeanVarianceStd Dev

Mean Calculator

Compute the weighted arithmetic mean from data values with different frequencies or importance weights.

Data SetsFrequenciesStatistics

Score Calculator

Compute composite scores from weighted categories for rubrics, tests, and evaluations with letter grades.

RubricsTestsEvaluations

Price Calculator

Calculate VWAP, average purchase price, and procurement costs weighted by quantity or volume.

VWAPProcurementCost Basis

Return Calculator

Compute true portfolio returns by weighting each asset's performance by its dollar allocation.

PortfolioInvestmentsPerformance

Rating Calculator

Combine ratings from multiple review sources weighted by review count or credibility.

ReviewsProductsSurveys

Interest Calculator

Compute blended interest rates across loans, savings, and credit lines weighted by balance.

LoansAPR/APYBlended Rate

Profit Calculator

Analyze blended profit margins across products, services, and segments weighted by revenue.

MarginsRevenueProfitability

Weighted Price FAQ