Stock Average Calculator

Free stock average calculator: average buy price across any number of purchases, profit at the current price, and shares needed to reach a target average.

When you buy the same stock or mutual fund units at different prices, your average cost is the total amount paid divided by the total quantity. This calculator adds up any number of purchases, shows the profit or loss at the current market price, and works out how many more shares to buy at a given price to bring your average down (or up) to a target. Traders use it before averaging a falling stock.

Runs entirely in your browser and works offline. Nothing you enter or upload leaves your device. Free, no sign-up.

Features

How to use Stock Average Calculator

  1. Enter the price and quantity of each purchase; add rows as needed.
  2. Optionally enter the current market price to see profit or loss.
  3. To average down, enter the price you can buy at now and the average you want.
  4. Read the shares needed, the extra money required and the new average.

Frequently asked questions

How is the average stock price calculated?

Average price = (Price1 × Qty1 + Price2 × Qty2 + …) ÷ (Qty1 + Qty2 + …). Buying 100 shares at 200 and 50 shares at 170 gives (20,000 + 8,500) ÷ 150 = 190 per share.

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

Shares needed = Current quantity × (Current average − Target) ÷ (Target − New price). The target must lie between the new buying price and your current average, otherwise no quantity can reach it.

Is averaging down a good idea?

It lowers your break-even price but also puts more money into a position that is falling. It can make sense when the business is sound and the fall is temporary, and it can magnify losses when it is not. This calculator does the arithmetic only and is not investment advice.

Should brokerage and taxes be included?

For an exact cost basis, add brokerage, STT, exchange charges, GST and stamp duty to the price you paid per share, or enter the effective price from your contract note. Brokers usually show an average that may or may not include these charges.

Does selling some shares change the average buy price?

Under the usual FIFO method used for tax in India, selling removes the oldest shares first, so the average of the remaining shares can change. Brokers often show a simple weighted average that does not change on a sale; for tax use your broker's capital gains statement.

Related tools

All free tools · This tool as Markdown