Average Buy Price Calculator

Find the average price of shares bought in two lots at different prices, and where the holding stands at today’s price.

Inputs

Results update as you type.

Result

Information only. Nothing on this page is advice to buy, sell or hold any instrument.

Verify before relying on it. Results depend on the figures you enter and can contain rounding or arithmetic slips. Check important numbers with a second method or a qualified adviser.

Detailed guide, with an example

How to use it

  1. Enter the quantity and price of each buy.
  2. Enter the current price to see the profit or loss on the holding.
  3. Enter each figure in the Inputs box. The result cards update as you type.
  4. Read the result cards. Where a year-by-year table is shown, it lists the path year by year.
  5. Change one input at a time to see how much it matters, then cross-check the result with your own calculation.

Worked example

Inputs: First buy: quantity 100; First buy: price 1000; Second buy: quantity 50; Second buy: price 900; Current price 1100.

  • You bought 100 shares at ₹1,000 and 50 more at ₹900.
  • Your average buy price is ₹967, for 150 shares and ₹1,45,000 invested.
  • At ₹1,100 the holding is worth ₹1,65,000, an unrealised profit of ₹20,000 (13.79%).

Calculated by the same formulas as this page, from the values above.

Things to watch

  • Buying more at a lower price lowers the average, but it adds money to a share that has fallen; it does not reduce the risk by itself.
  • Unrealised figures change with the price and become real only when you sell.
  • Add brokerage to the total invested if you want the true cost.

About this calculator

When you buy the same share more than once, your average price is the total amount paid divided by the total quantity, so each lot counts in proportion to its size. The unrealised profit shows the gain or loss if you sold at the current price.

How it is worked out

Average price = (q₁ × p₁ + q₂ × p₂) ÷ (q₁ + q₂). Unrealised profit = current price × total quantity − total invested.

Frequently asked questions

Does the average include brokerage?

No. Add charges to the total amount paid if you want the true cost.

Can I add more than two buys?

Repeat the calculation with the average and quantity of the first two buys as one lot.

Other calculators