Weighted Average Price Formula:
| From: | To: | 
The weighted average stock price calculates the average price per share when shares are purchased at different prices and quantities. It provides a more accurate cost basis than simple averaging by accounting for the number of shares bought at each price level.
The calculator uses the weighted average formula:
Where:
Explanation: This method weights each purchase price by the number of shares bought at that price, giving more importance to larger purchases in the final average calculation.
Details: Calculating weighted average price is essential for determining cost basis, tracking investment performance, calculating capital gains/losses, and making informed buying/selling decisions.
Tips: Enter up to three different purchase transactions with their respective prices and share quantities. At minimum, one transaction with positive price and shares is required. Prices should be in currency per share, shares should be whole numbers.
                    Q1: Why use weighted average instead of simple average?
                    A: Weighted average accounts for the quantity of shares purchased at each price level, providing a more accurate representation of your actual cost basis.
                
                    Q2: How many transactions can I calculate?
                    A: The calculator supports up to three transactions. For more transactions, you can calculate in batches and then average the results.
                
                    Q3: What if I have fractional shares?
                    A: While the calculator uses whole numbers for shares, you can enter decimal values for fractional shares if needed by adjusting the input step attribute.
                
                    Q4: Is this the same as dollar-cost averaging?
                    A: Dollar-cost averaging is the strategy of investing fixed amounts regularly, while weighted average price is the mathematical result of that strategy.
                
                    Q5: How does this help with tax calculations?
                    A: Weighted average cost basis is used in many jurisdictions for calculating capital gains when selling portions of your holdings.