Stock average calculator. Average down, break even.
Example: 10 shares at $50 and 10 shares at $30 give an average cost of $40.00 per share, which is also the break-even price.
Enter your purchases to get your average cost per share and your break-even price. Then see what one more purchase would do to it, or how many shares it takes to reach the average you want.
Free · no account needed · Your numbers stay in your browser
Trusted by 141 investors
Your purchases in, your average out.
Enter each purchase. The result is your average cost per share, which is also your break-even price.
Runs in your browser · nothing you type is sent or stored · fees and taxes not included
What your average stock price is
Your average cost per share is the total you paid for a stock divided by the number of shares you own. When you buy the same stock several times at different prices, it is the one price that describes the whole position.
It is also your break-even price before fees: the position shows a profit above it and a loss below it.
Averaging down means buying more shares at a price below your average cost. Each such purchase pulls the average down, so the stock needs a smaller rise for you to break even. Averaging up is the opposite: buying more as the price rises, which lifts the average.
How the calculator works
A weighted average: each purchase counts in proportion to its number of shares. Three steps.
Average cost = (shares₁ × price₁ + shares₂ × price₂ + …) ÷ (shares₁ + shares₂ + …)
Multiply shares by price for each purchase
10 shares at $50 cost $500. 10 shares at $30 cost $300.
Add up the costs and the shares
Total cost: $500 + $300 = $800. Total shares: 10 + 10 = 20.
Divide total cost by total shares
$800 ÷ 20 = $40.00 per share. That is the average cost and the break-even price.
A plain average of the prices is right only when every purchase has the same number of shares. Buy 10 shares at $50 and 30 at $30, and the average is $35, not $40, because more of your shares were bought at the lower price.
The target mode turns the formula around. To bring an average cost A down to a target T by buying at price P, you need: shares to buy = shares owned × (A − T) ÷ (T − P). The target must be between the purchase price and your current average. An average can never fall below the price you buy at.
The arithmetic runs in your browser. The numbers you type are not sent to Zensei or stored.
What it is used for
Investors use an average-cost calculation in three ways.
To know the break-even price
After several purchases, the average cost tells you at what price the whole position turns from loss to profit.
To plan a purchase before making it
The average-down mode shows what a new purchase would do to your average, how much money it takes and how far the stock would then need to rise for you to break even.
To check a regular investing plan
With dollar-cost averaging you invest the same amount at regular intervals. The calculator shows the average price those purchases have produced so far.
How to read the result, and why it matters
Compare the current price with your average cost. Above it, the position is in profit. Below it, in loss.
The number that surprises people is the gain needed to break even. A loss and the gain that undoes it are not the same percentage, because the gain starts from a smaller amount.
| Price below your average by | Gain needed to break even |
|---|---|
| 10% | 11.1% |
| 20% | 25% |
| 33% | 50% |
| 50% | 100%: the price has to double |
| 75% | 300%: the price has to quadruple |
This is why averaging down is tempting: it shrinks the gain you need. It does so by putting more money into the same stock. The loss you already have does not change; only the price at which you get it back does.
Whether buying more is wise depends on why the price fell. A stock in a long downtrend can keep falling, and one way to check the trend is the 200-day moving average.
One tool answers one question. The Index reads the whole market.
- 200-day moving average
Is the stock you are averaging into above or below its long-term trend line?
- Stock pages
How a stock is doing against its sector and the S&P 500, updated daily.
- Sector rotation map
Which sectors lead the S&P 500 right now, and which are fading.
What it does not tell you
It lowers your average, not your loss. After averaging down you own more shares of the same stock, so each further fall costs you more.
Fees and taxes are left out. Commissions, spreads and currency costs raise your real break-even price a little.
It is not your tax cost basis. In the US, shares of a stock are usually tracked per purchase (for example first in, first out), and buying a stock again within 30 days of selling it at a loss can trigger the wash sale rule. See the further reading below, or ask a tax adviser.
It says nothing about the stock. The calculator works the same for a company that is recovering and for one that is failing.
One number never describes a market. To see how valuation, credit, liquidity, volatility and trend stand together today, open the Zensei Index: it is free to view.
Zensei is an analytics tool, not a registered investment adviser, and nothing on this page is investment advice. Read the full disclaimer.
Where the data comes from
No market data is used. The result comes only from the numbers you enter.
| Input | Source | Updated |
|---|---|---|
| Shares and prices of your purchases | Entered by you. The arithmetic runs in your browser and nothing is sent to Zensei. | Instantly, as you type |
Further reading
- US Securities and Exchange Commission, Investor.gov: cost basis (opens in a new tab)
- FINRA: cost basis basics (opens in a new tab)
- US Securities and Exchange Commission, Investor.gov: dollar-cost averaging (opens in a new tab)
- Internal Revenue Service, Publication 550: investment income and expenses (cost basis and wash sales) (opens in a new tab)
Calculation and text by Zensei. Explanation last updated . Found an error? Tell us.
Average cost, in plain answers.
Before you buy more, see what the market is doing.
Trusted by 141 investors