palpha.Try demo ↗
Home / Calculators / Tool

Stock average calculator.

Calculate the weighted average share price for two purchases, including fees. Try different quantities and compare the cost per share in USD, INR or GBP.

Average per share
$65.10
Shares
40.00
Total cost
$2,604.00
Before tax · Currency sets units only. No FX conversion.

How it works

Average price = (first cost + second cost + fees) ÷ total shares

Worked example

Ten shares at $80 cost $800. Thirty at $60 add $1,800. Including $4 in fees, you paid $2,604 for 40 shares, or $65.10 each. The simple midpoint of $70 gives the smaller trade too much weight.

What if I already own several lots?

Use your current share count and weighted average as the first purchase. If that average includes prior fees, enter only the new fee. Adjust for splits first. This is a planning average, not a tax lot calculation.

Further reading · FINRA · Return and rate of return ↗

Educational simulations only. Prices, returns and prizes are fictional. No investment advice or real trading.