Stock Profit Calculator
Profit, return and break-even price on a stock trade after commissions, plus an estimate of the tax at your own rate.
OpenFind your average cost per share and plan an average down.
Your results
Average cost per share
$35.20100 shares, $3,520 invested across 3 purchases.
Buying about 74 shares at $30.00 ($2,200) would bring your average to $33.00. That also adds $2,200 more money at risk in the same stock.
Estimates based on your inputs and the assumptions listed below. Not tax, financial or lending advice. Disclaimer
Average cost is weighted by how much you spent at each price, not a simple average of the prices.
| Purchase | Shares | Price | Cost | Share of total |
|---|---|---|---|---|
| Purchase 1 | 50 | $40.00 | $2,000 | 56.8% |
| Purchase 2 | 30 | $32.00 | $960 | 27.3% |
| Purchase 3 | 20 | $28.00 | $560 | 15.9% |
| Total | 100 | $35.20 | $3,520 | 100% |
Each extra share bought at $30.00 pulls the average toward that price, with less effect each time.
| Buy more | Shares | Cost | New average |
|---|---|---|---|
| 25% more shares | 25 | $750 | $34.16 |
| 50% more shares | 50 | $1,500 | $33.47 |
| 100% more shares | 100 | $3,000 | $32.60 |
| 200% more shares | 200 | $6,000 | $31.73 |
Short answer
Your average cost per share is the total amount you spent divided by the total shares you own. To average down, buy more at a lower price: the calculator shows how many shares at today's price it takes to bring your average to the level you choose.
Buying 100 shares for $3,520 in total gives an average cost of $35.20 per share. Buying about 74 more at $30.00 would bring it to $33.00.
Average cost = sum of (shares x price) / total shares. Shares needed to reach a target average = (total spent - target x shares owned) / (target - current price).
Add up what you paid for every purchase and divide by the total number of shares. It's weighted by how much you bought at each price, not a simple average of prices.
Buying more shares of something you already own after its price has fallen, which lowers your average cost. It also puts more money into the same position.
Not always. Each purchase keeps its own basis, and your broker may match sales to specific lots or to the oldest shares first. Mutual funds can use an average basis method.
Formulas and figures last checked Nov 5, 2026.
Go deeper
Profit, return and break-even price on a stock trade after commissions, plus an estimate of the tax at your own rate.
OpenInvest a fixed amount at each price you enter and see shares bought, your average cost vs. the average price, and how it compares with investing all at once.
OpenTotal return (ROI) and annualized return (CAGR) on any investment, counting money you added or took out and cash dividends.
Open