Skip to content

How much did your shares cost on average?

Add each purchase and see the average price per share with fees, and the price you need to break even.

Purchases

  1. €

    €

  2. €

    €

  3. €

    €

€,

The total fee for selling all the shares. It raises the break-even price.

Average price per share

€20.63

3 purchases of 230 shares for €4,745.00 in all. Selling at €20.63 a share breaks even.

Cost details

Average price without fees
€20.5652
Shares in all
230
Total cost with fees
€4,745.00
Fees paid
€15.00
Break-even sell price
€20.6304

Add each purchase and see the average price per share with fees, and the price you need to break even.

How to use

  1. Enter each purchase: how many shares, the price per share and the fee you paid. Add a row for every buy.
  2. Optionally enter the fee you expect to pay when you sell.
  3. Read the average price per share and the price you need to sell at to break even.

How it works

If you buy the same share several times at different prices, your average purchase price is what each share cost you on average. It is the number to compare with today's price: sell above it and you have a gain, below it a loss. Fees are part of what you paid, so they belong in the average.

The average is the total cost divided by the total shares: (Σ shares × price + Σ fees) ÷ Σ shares. For example, 10 shares at 10 and 10 shares at 20 cost 300 for 20 shares, an average of 15. Buying more shares when the price is low pulls the average down, because shares at each price are weighted by how many you bought. The break-even sell price adds the selling fee: (total cost + selling fee) ÷ shares. Source: Investopedia, "Average cost basis".

This is the weighted average cost method. Some countries and brokers use other rules for tax, such as first in, first out, and then the cost of the shares you sell can differ. The tool does not calculate tax or currency changes.

Worked example

What is the average price after buying 10 shares at €10 and 10 shares at €20?

  1. Total cost: 10 × €10 + 10 × €20.
  2. Divide by all the shares bought.

The average price is €15 a share.

Method

No outside data is used: the result is worked out directly from the formula p̄ = (Σ n × p + Σ f) / Σ n, explained under How it works.

Sources and methods

Frequently asked questions

Why is the average price not just the average of the prices?

Because you bought different numbers of shares at each price. A big purchase should count for more than a small one, so the prices are weighted by shares.

Should fees be included?

Yes. Fees are part of what you paid, so including them gives the price at which you really break even. The tool shows the average with and without fees.

What is the break-even sell price?

The price per share at which selling everything returns exactly what you put in, including the fees you paid to buy and the fee to sell.

Does buying more at a lower price help?

It lowers your average price, so you break even sooner if the price recovers. It also means putting more money into the same share, which adds risk.

Can I use it for funds, crypto or fractional shares?

Yes. Enter the number of units, even a fraction, the price per unit and the fee for each purchase.

Send feedback