en

Average Stock Price

Work out your average stock entry price from several buys locally - with share count, total cost and gain or loss, no upload.

This calculator gives a non-binding, model-based estimate and is not financial, tax or legal advice. More in the disclaimer
Quantity buy 1
Price buy 1
Quantity buy 2
Price buy 2
Quantity buy 3
Price buy 3
Quantity buy 4
Price buy 4
Current price (optional)

Result

€90.00
Average price
100
Total shares
€9,000.00
Total cost
5.56%
Gain / loss

Year by year

Year by year
BuyQuantityPriceAmount
150€100.00€5,000.00
250€80.00€4,000.00
No upload100% local
Your content stays with youno third-party access
Servers in GermanyGDPR by design
Independently auditedTLS A+ · HTTP headers A+
Is my file uploaded?

No. Everything runs in your browser - your file never leaves your device. How this is verifiable

If you buy a share or an ETF in several steps, you no longer have a single purchase price but an average. This average price is the volume-weighted mean of all buys: a large buy counts more than a small one. That is exactly what you need to know the price at which your position turns positive. When you buy more at lower prices ("averaging down") the average falls; buying at higher prices raises it. This calculator takes up to four buys with quantity and price and shows the average price, the total number of shares and the total acquisition cost.

The calculation runs entirely locally in your browser, in pure JavaScript - nothing is uploaded and nothing is stored. The average price is the sum of all purchase amounts divided by the sum of all quantities. If you also enter a current price, the calculator works out the value change of your position in percent - the unrealized gain or loss against your average price. Buys with a quantity of zero are skipped, so you can enter just two or three buys too. Change an input and the result and table update instantly.

An honest note: this is plain averaging, not financial or investment advice. Trading fees, spreads, taxes and accrued interest are deliberately not included - your real entry is usually a little higher because of fees. The calculator says nothing about whether buying more makes sense; averaging down a falling position can increase risk. The amounts are shown in euros as an example; the underlying maths applies to any currency. For binding decisions, consult a qualified adviser.

Specifications

Specifications
Input formatsForm inputs (no file)
ProcessingLocally in your browser (JavaScript)
File uploadNone

In 3 steps

  1. Enter the quantity and price of your buys (up to four, leave empty ones out).
  2. Optionally enter the current price for the gain or loss.
  3. Read off the average price, share count and total cost.

Limitations: Plain volume-weighted averaging over up to four buys; buys with a quantity of zero are skipped. Fees, spreads, taxes and accrued interest are not included, so the real entry is usually a little higher. The gain or loss only appears once you enter a current price. Amounts are in euros as an example - the maths applies to any currency. Not financial or investment advice.

FAQ

Are my inputs uploaded?

No. The calculation runs entirely locally in the browser (pure JavaScript); nothing is sent or stored.

How is the average price calculated?

Volume-weighted: the sum of all purchase amounts (quantity times price) is divided by the sum of all quantities. So a large buy counts more than a small one. Worked example: 10 shares at 100 euros plus 20 shares at 70 euros are 2,400 euros for 30 shares - an average price of 80 euros.

What does averaging down mean?

If you buy more at a lower price, your average price and break-even fall. But it can increase risk if the price keeps falling.

Are fees and taxes included?

No, deliberately not. Trading fees, spreads and taxes are left out, so your real entry is usually a little higher.

Can I use other currencies?

The amounts are shown in euros as an example; the figures hold unchanged for any other currency.

Related tools