TradingMath Open calculator

TradingMath / Guides

Stock average calculator

When you buy the same share more than once, your average price is not the middle of the prices. It depends on how much you bought at each one. Enter your buys below and see the real average.

Average price calculator

Average price-
Total shares-
Total invested-
Profit or loss at current price-
Rise needed to break even-

How many more shares to reach a target average?

Shares to buy-
Extra money needed-
Total shares afterwards-

The formula

Average price = Total money spent ÷ Total shares bought

It is a weighted average. Buy 100 shares at ₹500, then 100 more at ₹400. You spent ₹50,000 + ₹40,000 = ₹90,000 on 200 shares, so the average is ₹450. Equal amounts, so it sits exactly in the middle.

Now buy 100 at ₹500 and 300 at ₹400. The spend is ₹50,000 + ₹1,20,000 = ₹1,70,000 for 400 shares, an average of ₹425. The average moves toward the price where you bought more.

To bring your average down, you need to buy more than you think

This catches people out. Say you hold 100 shares at ₹500 and the price falls to ₹400. To get your average to ₹450, you have to buy another 100. To get to ₹425, you need 300. And the closer the target gets to the new price, the more shares it takes, because every extra share you buy at ₹400 pulls the average only a little.

The second calculator above does this for you. Notice the money: getting from ₹500 to ₹450 here means another ₹40,000 into a share that is already losing.

Averaging down is a decision to take more risk

We would be doing you a disservice if we only gave you the sum. Buying more of a falling share lowers your average, and that feels like progress. Your loss per share against the current price has not changed, though, and you now hold more shares, so the same fall costs you more.

A fair test is to ask: would I buy this share today, at this size, if I did not own it? If not, adding to it is probably not a plan. It is a hope. If you do average, decide the total size in advance using the same risk limit you would use for any new trade, and know where you would stop. Our guide on position size shows how to set that limit.

Things the calculator does not include

If you trade with a stop-loss, the TradingMath journal has an Add to position option. It recalculates your average and your risk on the open trade when you buy more, so the whole position stays one trade in your records.

Common questions

How do I calculate the average price of a stock?

Add up the money spent on every purchase and divide it by the total number of shares. Do not average the prices themselves unless you bought exactly the same quantity each time.

Will my broker show the same average?

Usually, yes, as long as you enter the same buys. It can differ if charges are included in the cost, or if an adjustment such as a bonus issue applies.

Is averaging down a good idea?

It depends on why the price fell and whether your original reason still holds. As a mechanical habit it is risky, because it increases your position in the share that is working against you.

Related guides

Updated 22 November 2026. This page is for education and is not investment advice. Markets carry risk of loss. Examples are hypothetical and use round numbers. Check lot sizes, margins and charges with your broker and the exchange before you trade.