Skip to content

Stock Average Calculator

Find your average cost per share across multiple purchases, your break-even price and unrealised gain or loss

Calculator Details

Average Price per Share:$91.00See results ↓

Price paid per share in first purchase

Shares bought in first purchase

Price paid per share in second purchase

Shares bought in second purchase (0 to skip)

Current market price per share

Your Results

Average Price per Share: $91.00

Average Price per Share

$91.00

250 shares across 2 purchases

Position

Total Invested

$22,750.00

Current Value

$22,500.00

Unrealised Loss

$250.00 (1.10%)

Break-even Price

$91.00

After 2 purchases, your average cost is $91.00 per share for 250 shares (total investment: $22,750.00). At the current price of $90.00, you have a loss of $250.00 (1.10%).

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Purchase prices and your running average

Purchase prices and your running average

How This Calculator Works

How the Average Is Calculated

Average = Σ (price × shares + commission) ÷ Σ shares
Gain / loss = shares × current price − total invested

Your position: $22,750.00 ÷ 250 shares = $91.00 per share. At $90.00 the shares are worth $22,500.00, a loss of $250.00 (1.1%).

Frequently Asked Questions

How do I calculate my average share price?

Average price = total amount invested ÷ total shares. Buying 100 shares at $100 and 150 at $85 costs $10,000 + $12,750 = $22,750.00 for 250 shares, an average of $91.00 a share.

What does averaging down mean?

Averaging down is buying more of a stock after its price has fallen, which lowers your average cost per share. It reduces the price the stock needs to recover to for you to break even, but it also increases your exposure to a company whose price is falling.

What is my break-even price?

It is your average cost per share, including any purchase commissions you enter. If the market price rises above it, the position is in profit before selling costs. The commission you will pay when you sell is not included, so the true break-even is slightly higher.

Is averaging down a good strategy?

It can work for diversified funds or companies whose fundamentals are unchanged, but it is risky for individual stocks falling for a good reason. Set a maximum position size before you start, and avoid adding money only to “get back to even”.

How many shares do I need to buy to reach a target average?

Rearranging the formula: shares to buy = current shares × (current average − target) ÷ (target − buy price). With 250 shares at $91 and a buy price of $75, reaching an $85 average needs 250 × 6 ÷ 10 = 150 more shares: with 150 shares at $75 as purchase 3, the average is $85.00. Try values in purchase 3 (under Advanced options) to check.

Does this include brokerage fees and taxes?

Purchase commissions, yes: enter the commission per purchase and it is added to each purchase’s cost, as the CRA adjusted cost base requires. Selling commissions and taxes on any gain are not included. For tax, Canada averages the cost of identical shares (ACB), while the US lets you identify specific lots (FIFO by default).

What is the difference between average cost and ACB?

In Canada, the adjusted cost base (ACB) is the average cost of all identical shares you own, including commissions and adjusted for events like return of capital, reinvested distributions and superficial losses. With commissions entered, the average price here is the ACB per share for straightforward purchases without those adjustments.

Weighted average cost = total paid (price × shares plus any purchase commission) ÷ total shares, the same averaging the CRA uses for the adjusted cost base. Gain or loss is unrealised and before selling costs and tax. Not included: selling commissions, currency conversion, dividends, return of capital, stock splits or superficial-loss adjustments.

Stock Average Calculator: Average Cost, Break-even and Averaging Down

By FindMySum · Last reviewed

A stock average calculator tells you what you have actually paid per share when you have bought the same stock more than once at different prices. That number is your break-even price, the figure to compare with today's quote, and in Canada it is the starting point for the adjusted cost base (ACB) you report when you sell. This calculator takes up to four purchases, an optional commission per purchase and the current market price, and returns your average cost, total investment and unrealised gain or loss. The examples below are run through the calculator from its default inputs.

Why the simple average of prices is wrong

If you bought at $100 and later at $85, it is tempting to call your average $92.50. That is only true if you bought the same number of shares each time. The correct figure is a weighted average: every dollar you spent counts, so a large purchase at a low price pulls the average down more than a small one. The calculator always uses the weighted figure.

The inputs

  • Purchases 1 and 2: price per share and number of shares for each buy. The defaults are 100 shares at $100 and 150 shares at $85.
  • Purchases 3 and 4 (advanced): two more buys, set to 0 shares by default so they are skipped. Their default prices are $75 and $70.
  • Commission per purchase (advanced): the brokerage fee charged on each buy, $0 by default. It is added once to every purchase that has shares.
  • Current market price: today's price per share, $90 by default.

The formula

For each purchase, cost = price × shares + commission. Then:

Average cost per share = total cost ÷ total shares

Current value = total shares × current price, and unrealised gain or loss = current value − total cost, also shown as a percentage of total cost. The break-even price is the average cost per share: above it the position is in profit, below it at a loss, before any selling costs. Including purchase commissions in the cost follows the CRA's definition of adjusted cost base, which counts outlays such as commissions as part of what you paid.

Worked example: the default inputs

Purchase 1 is 100 shares at $100, costing $10,000. Purchase 2 is 150 shares at $85, costing $12,750. Together that is $22,750 for 250 shares:

  • Average cost: $22,750 ÷ 250 = $91.00 per share
  • Total investment: $22,750
  • Current value at $90: 250 × $90 = $22,500
  • Unrealised loss: $250, or 1.10% of cost
  • Break-even price: $91.00

The second purchase did its job. Before it, the break-even was $100 and the position was $1,000 under water at $90. After it, the stock needs to rise just $1.00 to break even. The cost is that you now have $22,750 riding on this one company instead of $10,000.

Adding commissions

Set the commission to $9.99 a purchase and the two buys cost $19.98 more. Total investment becomes $22,769.98, the average cost rises to $91.08 and the unrealised loss at $90 grows to $269.98, or 1.19%. On a large position a flat commission barely moves the average, but on small, frequent purchases it adds up, and leaving it out understates your ACB.

Averaging down further

Open the advanced section and enter 100 shares in purchase 3 at its default price of $75. You now own 350 shares for $30,250, an average of $86.43. At $90 the position shows a profit of $1,250, or 4.13%. If the price instead slid to $80, the same three purchases would show a loss of $2,250, or 7.44%, with $30,250 at risk. Compare that with stopping after two purchases: at $80 those 250 shares would be down $2,750, or 12.09%. Averaging down lowers the percentage loss and the break-even price, but it increases the dollars exposed to a stock that has been falling. Whether that is sensible depends on why the price fell, not on the arithmetic.

Average cost and the Canadian ACB

In Canada, when you own identical shares bought at different times, the CRA requires you to use their average cost, not the cost of a particular lot. That average, including commissions, is your ACB per share. When you sell, the capital gain or loss is the proceeds minus the ACB of the shares sold minus selling costs, and only half of a capital gain is included in income. For straightforward purchases the calculator's average cost is the ACB per share. It does not apply the adjustments that change ACB over time, such as return of capital distributions, reinvested distributions from funds, or superficial losses. Shares held in a TFSA or RRSP are not subject to capital gains tax, so ACB matters only for non-registered accounts; the TFSA calculator shows how tax-free growth compounds. In the United States the rules differ: you may identify specific lots when you sell, and first-in, first-out is the default for shares when you don't.

What the calculator leaves out

It handles up to four purchases of a single security with the same commission on each. It does not include selling commissions, currency conversion, dividends received, stock splits, return of capital or superficial-loss adjustments, and it shows an unrealised gain or loss, not tax. To judge the result as a return over time, enter the total cost and current value in the ROI calculator, or the start and end values and the holding period in the CAGR calculator.

More questions

What happens to my average cost when I sell some of the shares?

Under the Canadian average-cost method, nothing. Selling part of a position removes shares at the current ACB per share, so the remaining shares keep the same per-share cost. If you own 250 shares at $91.00 and sell 100, the other 150 still have an ACB of $91.00 each. The average changes only when you buy more, or when an event such as a return of capital adjusts the cost base.

How does a stock split change my average price?

A split changes the number of shares, not what you paid. In a 2-for-1 split, 250 shares at $91.00 become 500 shares at $45.50, and the total cost of $22,750 stays the same. To keep using the calculator after a split, divide each past purchase price by the split ratio and multiply the share counts by it.

Do reinvested dividends change my average cost?

Yes. Each dividend reinvestment buys new shares at that day's price, so it is a purchase like any other and adds to your cost base. Leaving reinvested dividends out understates your ACB, which means paying tax on a larger gain than you really made when you sell. Add DRIP purchases as separate purchases, or keep a running record.

How do I handle shares bought in US dollars?

For Canadian tax, each purchase is converted to Canadian dollars at the exchange rate on the day you bought it, and each sale at the rate on the day you sold. Enter the Canadian-dollar cost of each purchase (price per share in CAD) to get an ACB that matches what the CRA expects. Averaging the US-dollar prices and converting once at the end gives a different, incorrect figure.

Is averaging down the same as dollar-cost averaging?

No. Dollar-cost averaging means investing a fixed amount on a fixed schedule whatever the price, which is how regular TFSA or RRSP contributions to an index fund often work. Averaging down is a decision to buy more of one holding specifically because its price has fallen. Dollar-cost averaging is a habit; averaging down is a bet that the price will recover.

Can I average down to claim a loss and keep the shares?

Not in a way the CRA will accept. If you sell shares at a loss and you, or someone affiliated with you, buy identical shares in the 30 days before or after the sale and still own them 30 days after it, the loss is a superficial loss and is denied. The denied loss is added to the ACB of the new shares instead, so it is deferred rather than lost.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy