Stock Average Calculator

This free stock average calculator works out the weighted average price you've paid for a stock after buying it at different prices and quantities over time. Add each purchase — the number of shares and the price you paid — and the calculator instantly totals your shares, your total investment, and your weighted average buy price. Buying more shares at a different price naturally shifts this average, and the amount of shift depends on how many shares you buy relative to what you already hold, not just the price itself. This is a calculation tool based entirely on the purchases you enter; it does not use live market data, does not calculate brokerage, taxes or other charges, and does not provide investment advice or recommendations.

Add New Purchase

Number of shares in this purchase
The price you paid per share for this purchase

Your Purchase Lots

✨ No purchases added yet. Add your first lot above.

Portfolio Summary

Total Shares

0

Total Cost (₹)

0.00

Avg. Price/Share (₹)

0.00

💡 Click on any shares or price value to edit directly

Stock Average Formula — Quick Answer

Average Price = Total Investment ÷ Total Shares

Example: ₹25,000 invested in 100 shares, plus ₹55,000 invested in 200 more shares → Total Investment = ₹80,000, Total Shares = 300, Average Price = ₹80,000 ÷ 300 = ₹266.67 per share.

Purchase Lot History

This table breaks down every lot you've entered, showing what share of your total investment each purchase represents.

How Does a Stock Average Calculator Work?

  1. Enter the number of shares and the price for your first purchase, then click "Add Purchase Lot."
  2. Add each subsequent purchase the same way — different prices and quantities are fine.
  3. The calculator adds up your total shares across every lot.
  4. It adds up your total investment (shares × price, summed across every lot).
  5. It divides total investment by total shares to give your weighted average purchase price.
  6. Click any shares or price value in a lot to edit it directly, or use the remove button to delete a lot.

Stock Average Calculator Formula

This calculator uses the standard weighted-average formula:

Average Price = Total Investment ÷ Total Shares

For multiple purchases, that expands to:

Average Price = [(Price₁ × Qty₁) + (Price₂ × Qty₂) + ... + (Priceₙ × Qtyₙ)] ÷ (Qty₁ + Qty₂ + ... + Qtyₙ)

This is a weighted average, not a simple average of the prices — it's weighted by how many shares you bought at each price, so a larger purchase pulls the average toward its price more than a smaller one does.

Stock Average Calculation Example

Here's a worked example, calculated using this calculator's own logic:

Example stock average calculation across two purchases
PurchasePrice per ShareQuantityInvestment
1₹250100₹25,000
2₹275200₹55,000
Total—300₹80,000

Average Price = ₹80,000 ÷ 300 = ₹266.67 per share. Enter these same two lots into the calculator above and it will show this exact figure. This is an illustrative example only.

What Happens to Your Average Price When You Buy More Shares?

Buying additional shares at a price above your current average generally pulls the average up; buying at a price below your current average generally pulls it down. How much the average moves depends heavily on the size of the new purchase relative to what you already hold — a small additional purchase has a modest effect, while a large one can shift the average significantly, even at the same price. This is simply the mechanics of a weighted average; it isn't a recommendation to buy more or less of anything.

What Is Averaging Down?

Averaging down describes buying additional shares of a stock you already hold at a price lower than your existing average, which reduces the combined weighted average purchase price. For example, if you hold 100 shares at an average of ₹200 and buy 100 more shares at ₹150, your new average becomes (100×200 + 100×150) ÷ 200 = ₹175. Reducing the average purchase price does not guarantee a profit — the market price can rise or fall independently of your calculated average cost, and a lower average simply changes the price at which you'd break even, not the future direction of the stock.

What Is Averaging Up?

Averaging up is the opposite situation: buying additional shares at a price above your existing average, which increases the combined weighted average. For example, if you hold 100 shares at an average of ₹150 and buy 100 more at ₹200, your new average becomes (100×150 + 100×200) ÷ 200 = ₹175 — the same mathematical mechanism as averaging down, just moving the average in the other direction.

How Many Shares Would I Need to Reach a Target Average?

This is a different, reverse calculation from what this calculator performs — instead of computing the average from known purchases, it works backward from a desired average to find the required additional quantity. This calculator does not include that reverse-calculation feature; the tool above takes your actual purchases as input and computes the resulting average, rather than solving for a target. If you want to explore this mathematically, it generally involves setting up the weighted-average formula above with the target average as a known value and solving for the unknown additional quantity.

Average Buy Price vs Current Market Price

Your average buy price (what this calculator computes) is the weighted cost of the shares you've purchased. The current market price is simply what the stock is trading at right now — a completely separate figure that this calculator does not fetch or display. Comparing the two can give a sense of unrealized gain or loss: broadly, (Current Market Price − Average Buy Price) × Total Shares gives an approximate unrealized profit or loss figure, but you would need to look up the current market price yourself and enter it manually if you want to work this out — this calculator does not connect to live NSE, BSE or any other market data.

Does Stock Average Price Include Brokerage and Taxes?

No. This calculator computes a weighted average based purely on the price per share and quantity you enter for each lot. It does not include brokerage, Securities Transaction Tax (STT), exchange charges, GST on charges, stamp duty, or any other transaction-related costs, unless you choose to build them into the price you enter for a given lot yourself. Your actual cost basis, once these charges are included, will generally be somewhat higher than the average price this calculator shows. Applicable charges and tax rules can change and vary by broker, so check your broker's contract note or current official guidance for exact figures rather than relying on this calculator for tax reporting.

Stock Average Calculator for Indian Shares

The weighted-average calculation this tool performs applies equally to shares purchased on Indian exchanges such as NSE and BSE, and works regardless of which broker you use to place your trades — this calculator isn't affiliated with, and doesn't pull data from, any specific broker, exchange or market-data provider. It's simply a calculation tool: you enter the purchases you've made, in rupees, and it computes your weighted average. It does not provide live NSE or BSE prices, and results are only as accurate as the purchase data you enter.

When Should You Use a Stock Average Calculator?

  • You've bought the same stock more than once, at different prices, and want to know your combined average cost.
  • You're keeping your own record of purchases and want a quick weighted-average calculation without a spreadsheet.
  • You want to see how a potential additional purchase, at a given price and quantity, would move your average.
  • You're comparing a few different purchase-quantity scenarios before recording a transaction.
  • You invest through recurring purchases (such as a stock SIP) and want to track your true average cost across installments.

About This Stock Average Calculator

This calculator takes the shares and price you enter for each purchase lot, multiplies them to get that lot's investment, sums the investment and shares across all lots, and divides total investment by total shares to give your weighted average price — exactly the formula shown above. It does not include brokerage, taxes, exchange charges or other transaction costs; it does not use live market data from NSE, BSE or any other source; and it does not calculate unrealized profit or loss unless you separately look up and factor in a current market price yourself. Results depend entirely on the purchase data you enter and are only as accurate as that data.

Disclaimer

This calculator is provided for educational and informational purposes. It calculates a weighted average based on the prices and quantities entered by the user. It does not provide investment, trading or financial advice, and does not recommend buying, selling or holding any security. Actual portfolio costs may differ once brokerage, taxes and other transaction charges are included. Reducing your average purchase price does not guarantee a profit, since the market price can move independently of your average cost. ToolPlex is not affiliated with any stock exchange, broker or regulatory body.

Explore Our Other Tools

Vehicle & Insurance Tools
If you work with vehicle insurance, claims, or survey-related tasks, you may also find these tools useful. The Vehicle Depreciation Calculator makes it easy to calculate vehicle depreciation, while the Complete Survey Report can help with preparing survey reports. For estimate and assessment work, you can also try the Maruti Estimate to Assessment Converter, Hyundai Estimate to Assessment Converter, TATA Estimate to Assessment Converter, and Toyota Estimate to Assessment Converter. For quick claim-related calculations Quick Claim Calculator can save you time. You can also use Group & Merge File by Name to organise files and Marking on Image when you need to add markings or notes to an image.

Business Document Generators
If you are managing invoices, estimates, or payment records, take a look at the Invoice Generator, Estimate Generator, and Payment Receipt Generator. These tools are useful for creating common business documents without having to format everything from scratch.

Investment & Financial Calculators
For investment and financial calculations, you can explore the SIP Calculator, EMI Calculator, and FD Calculator. You can also check your numbers with the Profit Margin Calculator, Lumpsum Calculator, Compound Interest Calculator, and SWP Calculator. For other common financial needs, the GST Calculator, RD Calculator, PPF Calculator, Inflation Calculator, and Stock Average Calculator are also available.

Conversion Tools
For everyday conversions, you can use the Unit Converter, Currency Converter, or Time Zone Converter. If you need to convert numbers between words and digits, try the Number to Word Converter or Word to Number Converter. The Color Converter is also handy when working with different colour formats.

Text, Coding & Utility Tools
For text, coding, and other small online tasks, ToolPlex has several handy options. You can use the Base64 Encoder & Decoder, QR Code Generator, or Barcode Generator when you need to create or work with encoded information. For passwords and text work, try the Password Generator, Word Counter, Case Converter, or Text Repeater. You can also create placeholder text with the Lorem Ipsum Generator, style text with the Fancy Text Generator, or work with HTML using the HTML Encoder/Decoder. For random values and office work, you can also try the Random String Generator and Attendance Sheet Generator.

Frequently Asked Questions

Weighted vs Simple Average

A simple average would just average the prices you paid. A weighted average — what this calculator uses — also accounts for how many shares you bought at each price, giving your true average cost.

Editing Your Lots

Click any shares or price value in your purchase list to edit it directly, then press Enter or click away to save. Each lot also has its own remove button, or use "Reset All Lots" to start over.