Finance, Investing and Stock Market

Stock Average Calculator

Work out your new weighted average purchase price after buying more shares, with optional brokerage fees, a target-average planner and a profit and loss estimator. Your figures stay in your browser.

Enter the shares you already hold, then add one or more purchases. The average is weighted by the money spent, never a simple average of the prices.

Brokerage fees (optional)

Fees are included in the average only when this box is ticked. The break-even price always includes all fees.

Additional purchases

Saved scenarios (on this device only)

Save up to 3 buying scenarios in this browser to compare their new average and total investment side by side. Scenarios never leave your device.

Target average (optional)

Calculated from your existing holding only. This is a mathematical scenario, not investment advice.

Profit / loss estimator (optional)

Share link: the link contains only the numbers you entered, in the address bar. It is never sent to our server.

How to Use

Enter the shares you already hold and their average purchase price, then add one or more purchases with a price and a share count — use Add purchase for extra rows and Remove to take one away. Optionally set brokerage fees and choose whether they count in the average. Optionally enter a target average with the price you would buy at, or a market price to estimate profit or loss. Press Calculate; the result updates whenever you change a value after the first calculation.

Formula and Methodology

Existing value = existing shares x existing average price. Each purchase value = shares bought x purchase price. Total shares = existing shares + all shares bought. Total investment = existing value + all purchase values, plus brokerage fees only when you enable that option. New average price = total investment / total shares. The average is weighted by the money spent, never a simple average of the prices. Percentage change in the average = (new average - existing average) / existing average x 100. Break-even price = (existing value + all purchase values + all fees) / total shares, so it includes fees even when they are excluded from the average itself. Target average: required shares = (target average x existing shares - existing value) / (purchase price - target average), calculated from your existing holding only. Profit and loss: portfolio value = total shares x market price; unrealised profit or loss = portfolio value - total investment. This is a mathematical scenario, not investment advice.

Examples

Press "Try an example" in the calculator above to fill in these values.

Exshares
100
Exprice
50
Price
40
Shares
100

Tips

Averaging down only lowers your average when the new purchase price is below your existing average. Buying above it raises the average, even if the price later recovers.

Fees matter more on small purchases. A fixed brokerage fee on a small order can push your break-even price noticeably above your average price.

The target-average planner uses your existing holding only. If you have already added purchases in the form, the target result describes the holding before those purchases.

Frequently Asked Questions