Stock Average Price Calculator
Calculate the weighted average buy price of your stock holdings across multiple purchases. Enter buy prices and quantities to instantly see total shares, total investment, and average cost basis.
Purchase Entries
Average Price Summary
Enter buy price and quantity for at least one purchase entry to see your total shares, total amount invested, and weighted average price.
Key takeaways
- Computes the exact weighted average price per share across multiple transactions.
- Formula: Total Amount Invested ÷ Total Shares Held = Weighted Average Buy Price.
- Supports adding multiple purchase entries (Share 1, Share 2, Share 3, etc.) for averaging down or building positions.
- Allows entering the Current Market Price (LTP) to track your live portfolio value, unrealised P&L, and return percentage.
About the Stock Average Price Calculator
A Stock Average Price Calculator helps investors and traders track their true cost basis when buying shares of the same stock at different prices over time. Whether you are averaging down during market dips or accumulating shares via SIP, knowing your exact weighted average price is essential for risk management and exit planning.
Instead of a simple arithmetic mean, which ignores transaction quantities, this calculator computes the weighted average price. Each purchase’s price is multiplied by the number of shares bought in that trade to give the total money spent, which is then divided by the overall quantity of shares.
You can also enter the stock’s Current Market Price (LTP) to see your live portfolio value, current unrealised profit or loss in rupees, and overall percentage return — giving you a complete view of your holding.
| Metric | Formula | What it tells you |
|---|---|---|
| Total Shares | Q1 + Q2 + Q3 + ... | Total quantity of shares held across all buy trades |
| Total Investment (₹) | (P1 × Q1) + (P2 × Q2) + ... | Total capital invested in the stock |
| Average Price (₹) | Total Investment ÷ Total Shares | Your exact weighted average cost per share |
| Current Value (₹) | LTP × Total Shares | Present market value of your total holding |
| Unrealised P&L (₹) | Current Value − Total Investment | Your net profit or loss in rupees at current price |
| P&L (%) | (Unrealised P&L ÷ Total Investment) × 100 | Percentage gain or loss on your total investment |
Worked example
- Trade 1: Bought 100 shares of Tata Motors at ₹900 → Investment = ₹90,000.
- Trade 2: Bought 200 shares at ₹840 (averaging down) → Investment = ₹1,68,000.
- Total Shares = 100 + 200 = 300 shares.
- Total Investment = ₹90,000 + ₹1,68,000 = ₹2,58,000.
- Weighted Average Price = ₹2,58,000 ÷ 300 = ₹860 per share.
Frequently Asked Questions
What is a stock average price calculator?
A stock average price calculator works out the weighted average price per share when you purchase the same stock at different prices over multiple transactions.
How is weighted average stock price calculated?
Multiply the buy price by quantity for each trade to get the total amount spent for that trade. Sum the amounts of all trades to get Total Investment, sum the quantities to get Total Shares, and divide Total Investment by Total Shares.
What is averaging down in stock trading?
Averaging down means buying additional shares of a stock after its price has fallen. This lowers your overall average cost per share, allowing you to reach profitability at a lower market price when the stock recovers.
How many buy trades can I enter in the calculator?
You can enter as many purchase entries as you need. Click "Add Share Entry +" to add additional rows for Share 3, Share 4, and beyond.
Can I calculate my current P&L with this tool?
Yes. Enter the Current Market Price (LTP) of the stock, and the calculator automatically computes your total Current Value, Unrealised P&L in rupees, and P&L percentage.
Is the calculator free to use?
Yes, the ATS Stock Average Price Calculator is completely free to use, works live in your browser, and requires no login or installation.