Your average cost per share across every buy, what the position is worth at today’s price, and how many more shares it would take to pull the average down to a number you can live with.
Every number below is arithmetic on the lots you type. The three example lots are only there so the page is not empty. Replace them.
| Lot | Shares | Price paid | Cost | Share of position | Remove |
|---|
A lower average is not a smaller loss. It is the same loss spread over more shares, plus new money at risk in the same name. The tile on the right shows how much bigger the position becomes.
Each block is one lot’s share of your total cost. The big block is the price that matters.
Average cost is total dollars spent divided by total shares: (shares1 × price1 + shares2 × price2 + …) ÷ total shares. Commissions go into the dollars. A lot bought at a lower price pulls the average down in proportion to its size, which is why a small buy at a great price barely moves the number.
Shares to reach a target average. With S shares at average A, buying n more at price P gives a new average of (S × A + n × P) ÷ (S + n). Setting that equal to your target T and solving: n = S × (A − T) ÷ (T − P). The target has to sit between the buy price and the current average, or there is no answer.
Unrealized P/L is (current price − average cost) × shares. It is gross: no selling commission, no tax, and no guarantee the bid is where the last print was.