All guides
Tools7 min readUpdated September 29, 2026

Average Cost Basis Explained (And How Averaging Down Works)

“What’s my average?” is one of the most common questions after a second buy. Cost basis isn’t a vibe — it’s total dollars ÷ total shares. Here’s how it works and how to use it without digging a deeper hole.

Understand weighted average cost, work a multi-lot example, and see when averaging down is strategy vs coping. Use our free average cost calculator for the math.

Weighted average, not midpoint

Average cost = sum of (shares × price) ÷ total shares. Unequal lots mean you cannot average the prices alone.

50 @ $100 + 50 @ $80 = $90 average. 20 @ $100 + 80 @ $80 = $84 average. Same prices, different basis.

Break-even before fees

Price above average cost ≈ unrealized gain (pre-fee, pre-tax). Below ≈ unrealized loss.

When you sell, use a stock profit calculator with average cost as the buy price for a clean P&L.

Averaging down rules of thumb

Only add if the thesis is intact and the add is pre-sized as a risk % of the account — not “enough to feel green again.”

If the story broke (fraud, permanent impairment, thesis invalidated), averaging down is how small losses become account problems.

Tax lots vs average

Brokers may report average cost for display while tax lots use FIFO or specific identification. Know which method you elected.

For planning a sale’s tax hit, pair lot awareness with a capital gains tax estimate.

Next steps

Concepts stick when you apply them. Open a related calculator, run your own numbers, and — if you’re still learning execution — practice with paper trades before increasing real size. Browse more guides or the full set of free trading tools.

Free tool

Average Cost Calculator

Add buys at different prices (or model averaging down) and get weighted average cost, total shares, total invested, and unrealized P&L at a mark price. The answer to “what’s my breakeven after that add?”

Other free tools

Get a free share up to £100 — just sign up and deposit

Ready to put this into practice?

Trading 212 — Commission-free stocks & ETFs with fractional shares. Just sign up and deposit. Bonus shares are chosen at random and vary by region and campaign (UK/EU promos often land around £8–£25, with a max up to £100).

  • Zero-commission stock & ETF investing
  • Fractional shares from $1
  • Free share up to £100 after signup + deposit (random value; T&Cs apply)
Get your free share

Just sign up and deposit · random bonus up to £100 · capital at risk · T&Cs apply

This is educational content, not financial advice. Investing carries risk — you can lose money. Do your own research and consider a qualified advisor for personal decisions.

Keep reading