Step-by-Step Instructions
The Stock Average Calculator helps you find the average buying price per share when you purchase
the same stock multiple times at different prices. This is essential for tracking your cost
basis and understanding your investment performance.
Step 1: Enter Your Stock Purchases
The calculator starts with 3 purchase rows by default. For each purchase, enter:
- Share Price per Unit (₹): The price at which you bought each share in that
purchase
- Number of Shares: How many shares you bought in that purchase
For example, if you bought 10 shares at ₹100 per share, enter:
- Share Price per Unit: 100
- Number of Shares: 10
Step 2: Add More Purchases (If Needed)
If you made more than 3 purchases, click the "+ Add Purchase" button to add
additional rows. You can add as many purchases as needed. Each purchase can be removed
individually using the "Remove" button.
Step 3: Calculate Average Price
Click the Calculate button to see your results. The calculator will
automatically:
- Calculate the total investment amount (sum of all purchases)
- Calculate the total number of shares (sum of all shares bought)
- Display the average price per share (weighted average)
Understanding the Calculation
The average price is calculated using a weighted average formula:
Average Price = Total Investment Amount ÷ Total Number of Shares
Where:
- Total Investment Amount = (Price₁ × Shares₁) + (Price₂ × Shares₂) + ... +
(Priceₙ × Sharesₙ)
- Total Number of Shares = Shares₁ + Shares₂ + ... + Sharesₙ
Example Calculation
If you purchase:
- 10 shares at ₹100 per share = ₹1,000
- 5 shares at ₹120 per share = ₹600
- 8 shares at ₹90 per share = ₹720
Then:
- Total Investment = ₹1,000 + ₹600 + ₹720 = ₹2,320
- Total Shares = 10 + 5 + 8 = 23 shares
- Average Price = ₹2,320 ÷ 23 = ₹100.87 per share
Using the Fill Example Button
Click the Fill Example button to see a sample calculation with pre-filled data.
This helps you understand how the calculator works and what information is needed.
Tips for Accurate Calculation
- Use Actual Purchase Prices: Enter the exact price at which you bought each
batch of shares
- Include All Purchases: Make sure to include all purchases of the same stock
to get an accurate average
- Check Share Counts: Verify the number of shares matches your transaction
records
- Track Over Time: Update your average price after each new purchase to keep
your cost basis current
- Real-time Updates: The calculator updates automatically as you enter or
modify purchase information
Understanding Your Results
The calculator provides three key metrics:
- Total Investment Amount: The total money you've invested in purchasing all
shares. This is the sum of (price × shares) for each purchase.
- Total Number of Shares: The total quantity of shares you own across all
purchases.
- Average Price per Share: Your weighted average cost per share. This is your
cost basis and is important for calculating gains/losses when you sell.
Why Average Price Matters
Knowing your average buying price helps you:
- Track Performance: Compare your average price to the current market price
to see if you're in profit or loss
- Calculate Gains/Losses: When selling, you can calculate profit or loss by
comparing selling price to average cost
- Tax Planning: Your average cost basis is important for tax calculations on
capital gains
- Investment Decisions: Helps decide whether to buy more shares to lower your
average cost (dollar-cost averaging)
Common Use Cases
- Dollar-Cost Averaging: Track your average price when buying stocks
regularly over time
- Portfolio Management: Calculate cost basis for multiple purchases of the
same stock
- Tax Reporting: Determine your average cost basis for tax purposes
- Performance Analysis: Compare your average buying price to current market
price