Total amount spent ($) / Number of sharesbut how will it look in your portifolio since you bought shares in a company at different prices? for example:
if I bought 20 shares in a company, one share being $20.55.
It will look like
$411
One share (average price): $20.55
But the next day one share now costs $18.10, and I decide to buy two shares which is $37?
How is the $18.10 taken into account since it's lower than $20.55
What's the new average price of share in the company I invested in or will stay at $20.55 per share?
Per your example, (20 * $20.55) + (2 * $18.10) = $447.2. Divide by total number of shares (22) for an average cost per share of $20.3