Risk and exits

How to Calculate Average Cost When Averaging Down

Your new average is a weighted sum of every lot you hold. The math is simple, and it shows exactly how far each add moves your break-even and how much it adds to your risk.

Short answer

Add up what you paid for every lot, fees included, and divide by the total number of shares you hold. That weighted average is your new break-even price, and it only falls toward the current price as fast as the size of the new buy allows.

Add the total cost of every lot you hold, commissions and fees included, then divide by the total number of shares, and the result is your weighted average cost: the price the stock has to get back to for the whole position to break even. That’s the entire calculation.

The formula fits on one line:

Average cost = total cost of all lots / total shares held.

It has to be weighted. A simple average of your purchase prices is wrong the moment the lots are different sizes, and when you’re averaging down they usually are, because traders tend to buy more shares at the lower price.

A worked case, lot by lot

Say you buy 100 shares at 50.00. The stock slides to 40.00 and you buy another 100. Then it drops to 35.00 and you buy 200 more.

Notice what the third buy did. It needed twice as many shares as the second buy to move the average the same 5.00, because by then the position it was pulling against had doubled. Both buys came in 10.00 below the running average. Every add works the same way: the drop in the average equals the gap between the buy price and the old average, times the new shares, divided by the total shares after the buy.

Now put fees in. Say each buy carried a 4.00 fee. Total cost: 16,000 + 12 = 16,012. Average: 16,012 / 400 = 40.03.

Small here. Fees matter more in a small account that buys in many small pieces, where a few dollars per order can move the break-even by a noticeable amount, so put them in every time you work out the average.

How many shares it takes to reach a target average

Traders often work backward from a target. What would it take to get the average to 40.00, or 38.00? Solve for the shares to buy at the current price.

n = shares held x (current average - target average) / (target average - current price)

The formula only works when the target sits above the current price. No amount of buying gets the average all the way to the market price.

Look at the jump. Getting from 45.00 to 40.00 took 7,000 of new money. Getting to 36.00 takes 63,000. That’s seven times the 9,000 you had in before the drop.

Each extra dollar of improvement costs more than the last, and the closer the target gets to the current price, the faster that cost climbs, which is why a target average a few cents above the market is a fantasy for anyone without unlimited cash.

The break-even move after each add

A lower average shortens the distance back to even. That part is real.

With the original 100 shares at 50.00 and the stock at 35.00, you need a rise of 15.00, which is 15 / 35 = about 42.9%, while after the adds, with the average at 40.00, the stock needs only 5.00, or 5 / 35 = about 14.3%.

That smaller number is what makes averaging down feel good. It hides the other half of the trade, which is that you now hold four times as many shares as you planned to, and every move in either direction counts four times as much.

What happens to your risk

Here’s the comparison that matters most. Suppose the original plan was 100 shares at 50.00 with a stop at 46.00. The planned loss was 4.00 x 100 = 400.

The stock went through 46.00, and you didn’t sell. You bought.

That’s eight times the planned loss. The trade had already broken the level you chose as proof the idea was wrong. The average looks better. The exposure is much worse.

If the stock keeps falling, each new add makes the next decision heavier, and that’s usually how a small loss turns into the largest one in the account. When a position is already past its exit, deciding how long to sit in it is a separate question altogether.

Averaging down is a plan only if it was written before the first buy. That means the entry levels, the size of each lot, the total share count and a stop for the full position, all set while the trade was still flat, so the loss at the final stop was a number you had already agreed to take. Without that, it’s a reaction to a red number.

Writing it down is quick. List each planned lot with its price and size, run the weighted average for the finished position, then multiply the full share count by the distance from that average to the stop. If the result is bigger than you’d accept on one trade, shrink the lots before you buy any of them.

Averaging up, briefly

Adding to a winner uses the same arithmetic. Buy 100 at 50.00. The stock rises and you add 100 at 55.00: (5,000 + 5,500) / 200 = 52.50.

The average rises toward the price. Your cushion shrinks. A pullback to 52.50 now puts the whole position at break-even.

The difference is that you’re adding while the market agrees with you, and a stop under the new average caps the trade at a known loss on all 200 shares.

Average cost on screen versus tax lots

Your broker’s positions page usually shows one blended average cost. That figure is convenient. It isn’t what your taxes use.

For tax reporting, each purchase stays a separate lot with its own price and date, which is what cost basis tracks, and a partial sale books its gain or loss from whichever lots get sold, based on your broker’s lot-selection method or the specific lots you choose.

Check which method your account uses before you trim. Selling 100 shares at 35.00 from the example above could book a loss of 15.00 a share if the 50.00 lot goes first, or a smaller one if a cheaper lot does, even though the screen showed the same 40.00 average either way.

The wash sale trap

A common move is to sell the expensive lot at a loss. The cheap ones stay. Watch the dates.

Say you bought the 200 shares at 35.00, and within 30 days you sell the 100-share lot bought at 50.00 while the stock is at 36.00. On paper that’s a loss of (50.00 - 36.00) x 100 = 1,400.

Because you bought substantially identical shares within the IRS’s 30-day window, the wash sale rule can disallow that loss, and since the window runs 30 days on both sides of the sale, a buy shortly after you sell can trigger it too.

Averaging down on margin

On margin, each add raises your debit balance. Buying more of a falling stock with borrowed money stacks two pressures. The position grows. The equity behind it shrinks.

Adds during the session can also create an intraday margin deficit before the close, depending on how your broker measures buying power through the day, and since brokers vary on this, check how yours handles intraday calls before you plan to add to a losing position with margin.

Also asked

Is averaging down the same as dollar-cost averaging?
No. Dollar-cost averaging buys a fixed dollar amount on a set schedule whatever the price does. Averaging down is a decision to buy more because the price fell. The arithmetic for the average is the same; the reason for the buy is different.
Does averaging down change the tax cost basis of my first shares?
No. Each lot keeps its own purchase price and date for tax purposes. The blended figure on your positions screen is a display, and the lots underneath it are what get reported when you sell.
Should I move my stop after averaging down?
Set the stop from the level that would prove the trade wrong, then size the whole position so the loss at that stop fits your limit. Moving the stop lower just to make room for the new shares makes the possible loss bigger twice over.
Do fees really matter in the average?
On small positions or frequent adds, yes. Each buy's commission and fees are part of what you paid, so leaving them out makes your break-even look lower than it is.