Free calculator
Stock Average Calculator
Enter each purchase you have made and this returns your weighted average cost per share, your total invested, and the price you need for the position to break even.
Average cost per share
—
Add your purchases to calculate.
- Total shares
- Total invested
- —
- Break-even price
- —
- Current value
- —
- Unrealised P&L
- —
Runs entirely in your browser. Nothing is sent or stored.
How the average is calculated
Your average cost is a weighted average, weighted by how many shares each purchase bought rather than by how many purchases you made:
Average cost = Total amount invested ÷ Total shares owned
Say you buy 100 shares at $50 ($5,000), then 200 shares at $35 ($7,000). You own 300 shares and have spent $12,000, so your average is $40.00, not $42.50, which is what you would get by averaging the two prices. The second purchase was twice the size, so it pulls the average twice as hard.
Averaging down: when it helps and when it hurts
Lowering your average cost sounds unambiguously good. It is not, because it comes with a cost that is easy to miss: you now own more of something that is falling.
Before adding to a losing position, answer these honestly:
- Would I buy this today at this price if I owned none of it? If the answer is no, you are trying to be right rather than investing.
- Has the reason I bought changed? A broad market selloff is different from a collapsing balance sheet.
- What does this do to my concentration? Averaging down repeatedly turns a diversified portfolio into a bet on one name.
- Where is the point I stop? Decide it now, in advance, and write it down.
The break-even arithmetic
Losses and the gains needed to recover them are not symmetrical, and the gap widens fast:
| Loss from cost | Gain needed to break even |
|---|---|
| 10% | 11.1% |
| 25% | 33.3% |
| 50% | 100% |
| 75% | 300% |
| 90% | 900% |
This table is the entire argument for cutting losses early, and it is why a position sizing discipline matters more than picking good entries. Recovering from a 10% loss is routine. Recovering from a 75% loss requires a quadruple.
Frequently asked questions
How do you calculate the average price of a stock?
Add up the total amount of money you spent across all purchases, then divide by the total number of shares you own. It is a weighted average, so a large purchase moves your average far more than a small one at the same price.
What is averaging down?
Buying more shares of a stock you already own at a lower price, which reduces your average cost per share. It lowers the price at which you break even, but it also increases your total exposure to a position that is currently moving against you.
Is averaging down a good strategy?
It depends entirely on why the price fell. Adding to a quality company during a broad market selloff is a legitimate investing decision. Adding to a position because you do not want to accept a loss is an emotional response rather than a strategy, and it is how small losses become account-ending ones.
What is the difference between averaging down and dollar-cost averaging?
Dollar-cost averaging means investing a fixed amount on a fixed schedule regardless of price, which is a planned, mechanical approach. Averaging down means adding specifically because the price dropped, which is a reactive decision. The arithmetic is similar; the psychology and the risk are not.
Does this calculator account for fees and taxes?
You can include commissions by adding them to the cost of each purchase. Taxes are not included because they depend on your jurisdiction, holding period and account type, and they apply on sale rather than on purchase.