Skip to calculators
calcmintly

Average Purchase Price

Combine purchases by cash spent and unit price, with fees.

Add to workspace

Your numbers

Local calculations. Results are estimates, not professional advice.

Average all-in price

—

Educational estimate using your entered assumptions; no live prices, tax rules or guaranteed returns.

Formula

Use U = Σ(Aᵢ/Pᵢ) and P̄ = (ΣAᵢ+F)/U. Aᵢ is each purchase amount excluding fees, Pᵢ is its unit price, F is total fees, and U is total units bought. P̄ includes fees.

Combine purchases by cash spent and unit price, with fees.

Worked example

Purchase amounts excluding fees
100, 100, 100
Price per unit for each purchase
10, 20, 25
Total fees
8
Average all-in price
16.2105263158
Total units
19
Total cost
308

Scope and limitations

Educational estimate using your entered assumptions; no live prices, tax rules or guaranteed returns.

Inputs are checked for missing values and allowed ranges. A result outside the finite numeric range is not displayed. Rounding affects display, while the calculation uses the model’s numeric precision.

Check your units and assumptions before relying on a result. Changing a label does not convert a currency or physical unit.

Formula version: f1d3dbf947b0 · Example checked:

Methodology

Related tools