Stock average calculator
Buying the same share more than once at different prices leaves you with one average price, the figure your gain or loss is measured from.
The average price paid for shares bought at different prices
- Shares
- 100
- Total paid
- ₹1,34,000
- Worth today
- ₹1,35,000
- Gain
- ₹1,000
- Gain as a share of cost
- +0.75%
Each buy against the average and today's price
A larger dot is a larger buy. Bought at ₹1,185.00 to ₹1,420.00 a share.
How it is worked out
Average price = total paid ÷ total shares
where total paid adds each buy's shares × price.
Brokerage, taxes and charges are not added; your contract notes carry them.
About stock average calculator
The stock average calculator gives the average price of a share bought in several lots at different prices. It adds up what was paid, divides by the shares held, and then compares that average with today's price to show the gain or loss.
The average price formula
Average price is total paid divided by total shares. Total paid is each buy's shares multiplied by its price, added across all buys. This is a weighted average: a larger buy pulls the average toward its price more than a smaller one.
Three buys averaged
Take three buys: 100 shares at ₹450, 50 shares at ₹380 and 75 shares at ₹420. Total paid is ₹45,000 + ₹19,000 + ₹31,500 = ₹95,500 for 225 shares. Dividing gives an average price of ₹424.44 a share.
A simple mean of the three prices would give ₹416.67, which ignores the size of each buy.
What the page shows
The page starts with three buys, each a number of shares and a price a share, and more buys can be added. A price today is entered to price the holding. It shows the average price, total shares, total paid, what the holding is worth today, the gain or loss in rupees, and the gain as a share of cost: the gain divided by the total paid.
A chart places each buy against the average and today's price. A larger dot marks a larger buy, so it is visible which buys set the average.
Averaging down and averaging up
Averaging down means buying more of a share after its price has fallen, which lowers the average price. Averaging up means buying more at a higher price, which raises it. The average price is the level the share has to trade at for the holding to show no gain or loss, before charges. The calculator shows how a new buy moves that level.
What the average leaves out
Brokerage, securities transaction tax, stamp duty and other charges are not included. Adding them to the total paid would raise the average, and the contract notes carry the actual amounts. Dividends received and shares already sold are also left out.
A broker's own average may differ for the same reasons. Tax on a sale is worked out lot by lot by the rules in force, not from one average price, so the gain shown here is a view of the holding, not a tax computation.