Price Per Share

Calculate the average price per share for multiple stock purchase lots. Find your weighted average cost basis for portfolio valuation and tax reporting with instant results.

Calculate average cost basis and portfolio valuation

Lot 1

Lot 2

Lot 3 (Optional)

Current Valuation (Optional)

About This Calculator

The Price Per Share Calculator helps investors calculate the average cost basis when purchasing the same stock in multiple lots at different prices. Whether you are a long-term value investor accumulating shares over time or a trader managing multiple entries, knowing your weighted average price per share is essential for portfolio tracking and tax reporting.

This calculator uses the weighted average formula: Average Price = Total Cost ÷ Total Shares. Enter up to three purchase lots with shares and price per share for each. Optionally, add the current market price to see your total portfolio value and unrealized gain or loss. The results include a per-lot breakdown table showing each lot's cost contribution and allocation percentage, plus interactive charts.

Regional Notes

India: Capital gains on stocks held over 12 months are classified as long-term (LTCG) taxed at 10% over ₹1 lakh under Section 112A. Short-term gains (STCG) are taxed at 15% under Section 111A. The Securities Transaction Tax (STT) applies to both buying and selling. Average cost basis is widely used for mutual fund redemptions.

US: The IRS allows several cost basis methods including average cost, FIFO, specific identification, and LIFO. Once elected for a fund, the method must remain consistent. Form 8949 and Schedule D require accurate cost basis reporting. Brokers now report cost basis to the IRS for shares purchased after 2011.

UK: HMRC requires accurate cost basis records for Capital Gains Tax (CGT) calculations. The share identification rules use a "pooling" method for same-class shares, effectively calculating an average cost basis. The annual CGT exemption for 2025-26 is £3,000 for individuals.

Frequently Asked Questions

How do I calculate average price per share for multiple stock purchases?

To calculate average price per share when buying stock in multiple lots, divide the total cost of all shares by the total number of shares. For example, if you buy 100 shares at ₹10 and 200 shares at ₹15, your total cost is ₹4,000 for 300 shares, giving an average price of ₹13.33 per share. Our calculator automates this weighted average calculation for up to 3 purchase lots.

Why is average cost basis important for tax reporting?

Average cost basis determines the purchase price used to calculate capital gains when you sell shares. A higher cost basis means lower taxable gains. In India, the Securities Transaction Tax (STT) and capital gains tax rules require accurate cost basis tracking. In the US, the IRS allows the average cost method for mutual funds and certain stocks. In the UK, HMRC requires accurate cost basis reporting for Capital Gains Tax.

What is the formula for weighted average price per share?

The weighted average price per share formula is: Total Cost ÷ Total Shares. Total Cost = (Shares₁ × Price₁) + (Shares₂ × Price₂) + ⋯ + (Sharesₙ × Priceₙ). This gives the average cost basis reflecting the proportion of shares bought at each price level.

Is the Price Per Share calculator free to use?

Yes, this calculator is completely free to use with no registration or sign-up required. Your inputs are saved in the URL so you can bookmark and share your calculations with others.

How many purchase lots can I enter in this calculator?

The calculator supports up to 3 purchase lots — two are required and a third is optional. Each lot requires the number of shares purchased and the price per share at the time of purchase. You can also enter the current market price to see your portfolio value and unrealized gain or loss.

What is the difference between average cost and FIFO for shares?

Average cost calculates the mean price across all shares regardless of purchase order. FIFO (First-In-First-Out) assumes the oldest shares are sold first. Average cost is simpler for tracking but may have different tax implications. In India, average cost is commonly used for mutual funds. In the US and UK, investors can choose between methods, but must remain consistent once selected.

Does reinvesting dividends affect my average price per share?

Yes, reinvesting dividends increases your total shares and total cost basis. Each dividend reinvestment creates a new purchase lot at the then-current market price. Our calculator can help you track the blended average when you add reinvested dividends as additional lots.

How do stock splits affect average price per share?

A stock split reduces the price per share proportionally without changing total cost or investment value. For example, in a 2-for-1 split, your shares double and the price per share halves. The average cost per share must be adjusted by dividing by the split factor. Our calculator handles this when you enter the post-split lot details.