How to use the Stock Average Price Calculator
- Enter the number of shares and the buy price per share for your first purchase.
- Press Add another purchase for every further buy of the same share. You can add as many rows as you need, and remove any row you do not want.
- Read the total shares, total investment and weighted average buy price. They update as you type.
- Optionally enter the current market price to see the current value and an estimated profit or loss.
How stock average price works
The calculator uses a weighted average. Each purchase counts in proportion to the number of shares bought at that price, so a large purchase moves the average more than a small one.
Average Buy Price = Total Purchase Value ÷ Total Number of Shares
Example: 100 shares at ₹120 and 50 shares at ₹90 cost ₹12,000 and ₹4,500, so the total investment is ₹16,500 for 150 shares. The average buy price is ₹16,500 ÷ 150 = ₹110. A simple average of the two prices would give ₹105, which is wrong because the two purchases are different sizes.
Averaging down and averaging up
Averaging down means buying more shares after the price has fallen, which lowers your average cost. For example, 100 shares at ₹100 plus 100 shares at ₹80 gives an average of ₹90. If the market price is ₹85, your current value is ₹17,000 against an investment of ₹18,000, an estimated loss of ₹1,000 or 5.56%. Without the second purchase the same ₹85 price would be a 15% loss on the first lot, so the lower average reduces the loss percentage, but it also puts more money into the same share.
Averaging up means buying more at a higher price. Buying 100 shares at ₹100 and 50 shares at ₹130 gives an average of ₹110. Use the calculator to see how each additional purchase changes the break-even level before you decide. This tool only does the arithmetic and does not suggest whether you should buy.
Tips for an accurate result
- Use the actual buy price and quantity from your contract notes or broker statement for every purchase of the same share.
- Enter each purchase as a separate row. Do not combine different prices into one row unless you have already worked out their average.
- Treat the current market price as optional. Leave it empty if you only need the average.
- After a stock split or bonus issue, enter the adjusted quantity and price. For example, after a 2-for-1 split your quantity doubles and the price per share halves, while the total investment stays the same.
- To include brokerage and charges in your cost, add them to the purchase value yourself, or enter an adjusted price that covers them.
- To track several different stocks together, use the Stock Portfolio Calculator.
What the result does not include
The calculator uses only the quantity and buy price you enter. It does not include brokerage, exchange charges, taxes, dividends, splits or bonus shares unless you adjust the inputs yourself. Your broker’s app may show a slightly different average because of charges or the way it records corporate actions. For tax reporting, use your official statements, and speak to a qualified tax professional. This tool is for calculation and learning and does not provide investment advice.
All calculation happens in your browser. The numbers you enter are not uploaded to PraxTools, and nothing is saved after you close or reset the page. See the Privacy Policy.
Frequently asked questions
How is stock average price calculated?
Multiply each purchase price by its quantity, add all purchase values, and divide by the total number of shares.
Does this calculator give investment advice?
No. It is a calculation tool for educational and informational use only.
Can I add more than two purchases?
Yes. You can add as many purchase rows as needed.
Does the result include brokerage and taxes?
No. The calculator uses only the quantity and buy price you enter. Add charges to the purchase value yourself if you want them included.
Why is the average price not the simple average of my prices?
Because purchases of different sizes carry different weight. The weighted average divides the total money invested by the total number of shares.
What is a good way to handle a stock split or bonus?
Enter the quantity and price after adjustment. The total investment should stay the same while the quantity and price per share change.
Does averaging down reduce my loss?
It lowers your average cost, so the break-even price falls. It also increases the amount you have invested in the same share, so it carries its own risk. The calculator shows the numbers only.
Is my data uploaded?
No. This version performs the calculation in your browser and does not require a stock-market API.