Calculates the average purchase price across multiple stock lots.
The average purchase price (cost basis) calculator tracks the average price paid per share across multiple buys — the foundation of dollar-cost averaging (DCA) analysis.
Average price = Total cost / Total shares Total cost = Σ (Shares_i × Price_i) Unrealised P&L = (Current price − Average price) × Total shares
Buy 1: 10 shares at $50 = $500. Buy 2: 5 shares at $40 = $200. Buy 3: 15 shares at $55 = $825. Total: 30 shares, $1,525. Average price = $1,525 / 30 = $50.83.
Loading calculator…