Few people buy a stock only once. You might buy 100 shares, add more when the price drops, and buy again with every paycheck. Each purchase happens at a different price, so what you paid per share is no longer obvious. The average cost per share, also called the cost basis per share, is the figure that tells you where you break even and how much you have gained or lost. This stock average calculator combines up to five purchases, adds trading fees, and shows your average cost, total cost, current value and gain or loss.
How to use the stock average calculator
- Enter each purchase as a number of shares and the price per share. Leave unused purchases at zero.
- Enter the fee per purchase, if your broker charges one.
- Enter the current price to see the value of your position and your gain or loss.
- Read the average cost per share, which is also your break-even price.
Average cost formula
Gain or loss = shares × current price − total cost
Gain or loss % = gain ÷ total cost × 100