Stock Average Calculator
Calculate your weighted average cost per share across multiple stock purchases, see your total position size, and find the exact break-even price you need to be in the green.
Works for dollar cost averaging, averaging down, or any multi-purchase position — with a running average chart and full purchase breakdown table.
Avg Cost: $0 / share
- Current Price
- Avg Cost
"The stock market is a device for transferring money from the impatient to the patient."
— Warren Buffett
Dollar cost averaging explained
Dollar cost averaging (DCA) is the practice of investing a fixed amount at regular intervals, regardless of the current share price. Because you buy more shares when prices are low and fewer when prices are high, your average cost per share ends up lower than the simple average of your purchase prices — and you avoid the near-impossible task of timing the market perfectly.
This calculator computes your weighted average cost per share — total dollars invested divided by total shares purchased. That number is your break-even point: the price the stock must reach for your position to show a gain.
"Averaging down" refers specifically to buying additional shares after a price decline in order to lower your average cost. It can effectively reduce the break-even price and accelerate a return to profitability — but it also concentrates more capital in a single position. This strategy works well for fundamentally sound companies and poorly for deteriorating ones, so it requires conviction in the underlying investment.
chevron_right Learn more about dollar cost averaging on Wikipedia
lightbulb Example Stock Average Scenario
Suppose you buy a stock in three separate purchases:
Purchase 1: 50 shares at $40.00 = $2,000
Purchase 2: 80 shares at $32.00 = $2,560
Purchase 3: 60 shares at $28.00 = $1,680
Total: 190 shares for $6,240 invested. Weighted average cost = $6,240 ÷ 190 = $32.84/share.
The simple average of the three prices would be ($40 + $32 + $28) ÷ 3 = $33.33 — but because you bought more shares at the lower prices, your true average cost is lower. The stock only needs to recover to $32.84 for your position to break even, not $40.
Stock Average Calculator FAQs
What is the difference between weighted average cost and simple average price?
Simple average price adds up all your purchase prices and divides by the number of purchases — treating each transaction equally regardless of size. Weighted average cost divides total dollars invested by total shares purchased, giving larger purchases more influence on the result. The weighted average is the correct method for calculating your true cost basis and break-even price.
Does averaging down always make sense?
Not always. Averaging down works well when a stock has declined due to temporary market conditions or short-term sentiment rather than fundamental deterioration. If the company's business has genuinely weakened, buying more shares concentrates risk in a losing position. Before averaging down, re-evaluate the original investment thesis — if the reasons you bought still hold, averaging down can be a sound strategy. If not, it may compound a mistake.
How does average cost affect my taxes when I sell?
When you sell shares, your taxable gain or loss is calculated as the sale price minus your cost basis. The IRS allows several cost basis methods — FIFO (first in, first out), LIFO, average cost, and specific identification. The average cost method, which this calculator uses, is commonly allowed for mutual funds and some brokerage accounts. Check with your broker for which methods are available for your specific holdings.
What is an unrealized gain or loss?
An unrealized gain or loss is the paper profit or loss on a position you still hold — the difference between your average cost and the current market price, multiplied by the number of shares. It becomes "realized" only when you sell. Unrealized gains are generally not taxable until the position is closed, which is why long-term investors often hold winning positions to defer taxes.
Stock average terminology
Weighted Average Cost
Total dollars invested divided by total shares purchased. This is the standard method for calculating cost basis on an ongoing position and the number that determines your break-even price.
Cost Basis
The original value of an asset for tax purposes. When you sell, your taxable gain or loss equals the sale price minus the cost basis. The IRS allows several cost basis accounting methods — FIFO, LIFO, average cost, and specific identification.
Break-Even Price
The price per share at which you would neither gain nor lose money if you sold your entire position today. Equal to your weighted average cost per share. Also called your cost basis per share.
Unrealized Gain/Loss
The paper profit or loss on shares you still hold. Calculated as (current price − average cost) × total shares. Becomes realized — and potentially taxable — only when you sell.
Dollar Cost Averaging (DCA)
An investment strategy of buying a fixed dollar amount at regular intervals regardless of price. DCA reduces the impact of volatility, eliminates the need to time the market, and typically results in a lower average cost than lump-sum investing at the peak.
Disclaimer: All calculators on this site are provided for informational and educational purposes only. Results are estimates based on the inputs you provide and mathematical formulas — they do not account for taxes, fees, inflation, risk, or other real-world factors that may affect financial outcomes. Past performance does not guarantee future results. Nothing on this site constitutes financial, investment, legal, or tax advice. Always consult a qualified professional before making financial decisions.
About FinanceCalcs.net — FinanceCalcs.net is a free financial calculator directory built and maintained by Ted Grajeda. The site exists to give everyone access to fast, accurate financial math — no subscriptions, no paywalls, no signup required. Every calculator runs entirely in your browser using standard financial formulas.