Skip to content

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

DorianMiriamZakEnrique

Trusted by 141 investors

Your purchases in, your average out.

Three calculations on the same position: the average of what you bought, the effect of buying more, and the shares needed to reach a target.
Works as you type
Stock average calculatorFree · no account

Enter each purchase. The result is your average cost per share, which is also your break-even price.

Average cost per share
$40.00
Also your break-even price, before fees.
Total shares
20
Total cost
$800.00

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₂ + …)

01

Multiply shares by price for each purchase

10 shares at $50 cost $500. 10 shares at $30 cost $300.

02

Add up the costs and the shares

Total cost: $500 + $300 = $800. Total shares: 10 + 10 = 20.

03

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.

The gain a stock needs to get back to your average cost after a fall
Price below your average byGain 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.

An average cost describes your position, not the market you are buying into. The Zensei Index reads ten signals of valuation, credit, liquidity, volatility and trend, and turns them into one score from 0 to 100. Today it reads Stressed, 56 out of 100. Lower is healthier.
See today's Index readingFree to view · no account needed.
  • 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.

Data sources of this page
InputSourceUpdated
Shares and prices of your purchasesEntered by you. The arithmetic runs in your browser and nothing is sent to Zensei.Instantly, as you type

Further reading

Calculation and text by Zensei. Explanation last updated . Found an error? Tell us.

Average cost, in plain answers.

Multiply the number of shares by the price for each purchase, add up the results, and divide by the total number of shares. For example, 10 shares at $50 and 10 shares at $30 cost $800 for 20 shares, an average of $40.00 per share.

Averaging down means buying more shares of a stock you already own at a price below your average cost. The new shares pull your average cost down, so the stock needs a smaller rise for you to break even. It also increases the amount you have invested in that stock.

Shares to buy = shares owned × (current average − target average) ÷ (target average − purchase price). With 100 shares at an average of $50, buying at $30 to reach an average of $40 takes 100 × (50 − 40) ÷ (40 − 30) = 100 shares. The target must be above the purchase price.

Before fees, your break-even price is your average cost per share: the total you paid divided by the shares you own. Above it the position is in profit, below it in loss. Commissions and other costs raise the real break-even price slightly.

It depends on why the price fell. Averaging down helps when the fall is temporary and the business is sound, because you buy more at a lower price. It hurts when the stock keeps falling, because you have added money to a losing position. It is not a strategy on its own.

It needs to rise 100%. A stock that falls from $100 to $50 has lost 50%, and getting from $50 back to $100 is a gain of 100%. A 20% loss needs a 25% gain, and a 75% loss needs a 300% gain.

Dollar-cost averaging is investing a fixed amount at regular intervals, whatever the price, usually decided in advance. Averaging down is buying more of one stock because its price has fallen below what you paid. The arithmetic of the average is the same.

Not always. In the US, the cost basis of shares is usually tracked per purchase, and which shares you sell decides the gain or loss you report. Mutual funds may use an average-cost method. Check your broker's statements or a tax adviser for your own case.

No calculator can tell you. What you can check is the state of the market you are buying into. The Zensei Index reads ten signals of valuation, credit, liquidity, volatility and trend. The Zensei Index is at 56 out of 100 today (Stressed; lower is healthier).

Yes. Every tool on this page is free to use, with no account and no card. A free Zensei account adds today's market regime and the sector rotation map; Premium adds full sector coverage, history and alerts.

Before you buy more, see what the market is doing.

The Zensei Index reads ten signals of market stress and tells you the regime, and the rotation map shows which sectors lead. Free, with no card required.
DorianMiriamZakEnrique

Trusted by 141 investors