Average stock price calculator

Enter the price and shares for each purchase to get the average cost per share.

Result
No result yet.

Buying 50 shares at $40 and 100 at $55 gives an average cost of $50/share.

Example

Calculate the average cost per share across multiple purchases in your browser. Values stay on your device; no live quotes.

Buying 50 shares at $40 and 100 at $55 gives an average cost of $50/share.

Processed locally in your browser.

Methodology

Average cost = totalSpent / totalShares, where totalSpent = Σ(price × shares) across all purchases.