Average price calculator for shares and other purchases
When you buy the same share in several lots at different prices, your cost per share is the weighted average. This calculator finds it.
How to use this calculator
- Enter the quantity and price of each buy (up to four).
- Leave unused rows at zero.
- Optionally enter the current market price.
- Read the average price, total cost and profit or loss.
Worked examples
Example 1
100 shares at ₹500 and 100 more at ₹420, now trading at ₹450.
You enter
| Buy 1: quantity | 100 |
|---|---|
| Buy 1: price | ₹500 |
| Buy 2: quantity | 100 |
| Buy 2: price | ₹420 |
| Buy 3: quantity (optional) | 0 |
| Buy 3: price | ₹0 |
| Buy 4: quantity (optional) | 0 |
| Buy 4: price | ₹0 |
| Current market price (optional) | ₹450 |
You get
| Average buy price | ₹460.00 |
|---|---|
| Total quantity | 200 |
| Total cost | ₹92,000 |
| Value at the current price | ₹90,000 |
| Profit or loss | −₹2,000 (-2.17%) |
| Price must rise by this much to break even | 2.22% |
Example 2
Three buys: 50 at ₹300, 100 at ₹260 and 150 at ₹240, now at ₹255.
You enter
| Buy 1: quantity | 50 |
|---|---|
| Buy 1: price | ₹300 |
| Buy 2: quantity | 100 |
| Buy 2: price | ₹260 |
| Buy 3: quantity (optional) | 150 |
| Buy 3: price | ₹240 |
| Buy 4: quantity (optional) | 0 |
| Buy 4: price | ₹0 |
| Current market price (optional) | ₹255 |
You get
| Average buy price | ₹256.67 |
|---|---|
| Total quantity | 300 |
| Total cost | ₹77,000 |
| Value at the current price | ₹76,500 |
| Profit or loss | −₹500 (-0.65%) |
| Price must rise by this much to break even | 0.65% |
How it works
The average is total cost divided by total quantity, so larger purchases count for more. Buying more at a lower price pulls the average down.
Averaging down lowers your cost per share but increases the money at risk in one stock. Decide in advance how much you are willing to hold.
Formula
Average price = sum of (quantity x price) / sum of quantity.
Common questions
Does it include brokerage and taxes?
No; add them to your price if you want the true cost.
Is averaging down a good idea?
It depends; it can turn a small mistake into a large one.
Can I use it for mutual fund units?
Yes, with units as quantity and NAV as price.
Calculators give estimates for learning and planning. They are not financial, tax, legal or medical advice, and results depend entirely on the numbers you enter. Check rates, limits and rules with an official source or a qualified professional before acting.