Stock Average Calculator - Average Cost Per Share

Find your true average cost per share across every purchase, then see your real gain or loss at today's price.

Last updatedHow we build & check our tools
$

Your break-even price is not the number you think it is

You bought shares of the same company five separate times. $45, then $38, then $52, then $41, then $35. The stock sits at $44 today. Quick question: are you up or down? Most investors freeze, then guess, and the guess is usually wrong. The only way to know is your average cost per share, and it is rarely the simple average of those prices.

Here is the trap. The plain average of those five prices is $42.20. But you almost certainly did not buy the same number of shares each time. Averaging the prices ignores how many shares each purchase bought. The real figure you need is the weighted average: total dollars invested divided by total shares owned.

Say across those five buys you spent $8,400 total and accumulated 200 shares. Your true average cost is $8,400 ÷ 200 = $42 per share. At today's $44, you are up $2 per share, or about $400 on $8,400 invested — a 4.8% gain. That is your real position, not the fuzzy sense you had a moment ago.

This number does the heavy lifting in three places. It sets your break-even price: below $42 you are losing money, above it you are ahead. It defines your unrealized gain or loss at any current price. And it is the cost basis the IRS uses when you sell, which directly drives your capital gains tax.

When you buy more shares as a price falls, investors call it averaging down — and it pulls your break-even lower, sometimes dramatically. Knowing the exact new average after each purchase is the difference between a deliberate strategy and hoping it works out.

Averaging down is a strategy, not a rescue — run the numbers first

A stock you own drops 30%. The instinct is immediate: buy more to lower your average and recover faster. Sometimes that is smart. Sometimes it is throwing good money after a failing company. The math tells you which, and this calculator gives you the math before you commit.

Watch how averaging down actually works. Suppose you own 100 shares bought at $50, now trading at 35. Your break-even is50, so you need a 43% rebound just to recover. Buy another 100 shares at $35 and your new average drops to $42.50. Now the stock only needs to climb 21% to break even instead of 43%. The math is real and powerful.

Three things to weigh before you average down:

  • Lowering your average does not fix a broken business. A cheaper price on a declining company just means a larger loss if it keeps falling.
  • Averaging down increases your concentration. Each purchase puts more of your portfolio into one position, raising your single-stock risk.
  • Track your cost basis for taxes. Every purchase changes your average, and that basis determines the capital gains or loss you report when you sell.

Use this calculator after each buy to see your updated average cost, total invested, and current gain or loss. Decide with numbers, not with the urge to feel better about a red position.

This calculator provides estimates based on the information you enter. For advice tailored to your situation, consult a qualified financial professional.

Frequently Asked Questions

Common questions about the Stock Average Calculator - Average Cost Per Share

Divide the total amount you invested by the total number of shares you own. If you spent $8,400 across several purchases and accumulated 200 shares, your average cost is $42 per share. This weighted average accounts for buying different share quantities at different prices, which is why it rarely matches the simple average of the prices you paid.

Sources & References

Investing concepts and definitions

Plain-language definitions of investment products, returns, risk, and fees from the U.S. SEC’s investor education service.