How it works
The average price (Average Cost) is the weighted average of every purchase: total money spent divided by total shares owned. Buying more after a price drop pulls the average down, which is often called averaging down. The calculator also values your position at the current price, so you see the gain or loss against your average cost. Enter 0 shares in the second purchase to check a single buy.
Formula
Total cost = shares 1 × price 1 + shares 2 × price 2.
Average price = total cost ÷ total shares.
Gain or loss = total shares × current price − total cost.
Example
Example in plain words. 100 shares at 50, then 50 shares at 40, and the price now is 44.
Total shares = 100 + 50 = 150.
Total cost = 100 × 50 + 50 × 40 = 7,000.
Average price = 7,000 ÷ 150 = 46.67.
Value now = 150 × 44 = 6,600.
Gain or loss = 6,600 − 7,000 = −400, which is −5.71%.
Frequently asked questions
Does averaging down guarantee a profit?
No. It lowers your average cost, but the stock can keep falling. It only helps if the price recovers.
Are fees included?
No. Add your fees to each purchase price per share if you want them counted.