Stock Average Calculator
Input Parameters
Computed Results
This stock average calculator determines your average cost per share when buying the same stock at different prices. By entering the quantity and price of your first and second purchases, you can quickly find your new average price, total shares, and total investment amount.
This calculator is for informational purposes only and does not constitute financial or investment advice.
Practical Use Cases
Investors often purchase shares of the same company at different times and prices. This average price calculator is useful for tracking your overall cost basis. Common scenarios include averaging down (buying more shares when the price drops to lower your average cost) or scaling into a position over time.
Formula & Explanation
The calculator uses a weighted average formula to determine your new cost per share. It multiplies the number of shares by the purchase price for each transaction, adds those totals together, and divides by the total number of shares owned.
Verified Scenario Walkthroughs
Here are examples of how the calculator determines the average price in different situations:
Small Entry-Level Stock Purchase
If you buy 5 shares at $15.50 and later buy 5 more shares at $12.25, your total investment is $138.75 for 10 shares. Your new average price is $13.88 per share.
Significant Average Down Strategy
If your first purchase is 100 shares at $50.00 and your second purchase is 200 shares at $30.00, your total investment is $11,000 for 300 shares. This brings your average price down to $36.67.
High Volume Institutional Trade
For a large trade of 5,000 shares at $125.75 and a subsequent purchase of 2,500 shares at $140.25, the total amount invested is $979,375 for 7,500 shares. The resulting average price is $130.58.
Zero Quantity Edge Case
If you enter 0 for the first purchase and 50 shares at $20.00 for the second purchase, the calculator correctly identifies the total amount as $1,000 for 50 shares, resulting in an average price of $20.00.
How to Use the Calculator
Follow these steps to calculate your average stock price:
- Enter the number of shares bought in your first transaction into the First Purchase - Stock Quantity field.
- Enter the price paid per share for that transaction into the First Purchase - Price per Share field.
- Input the number of shares for your second transaction into the Second Purchase - Stock Quantity field.
- Input the price paid per share for the second transaction into the Second Purchase - Price per Share field.
- Review the results to see your new average price, total shares, and total amount invested.
Inputs & Outputs
| Field | Type | Description |
|---|---|---|
| First Purchase - Stock Quantity | Input | Number of shares purchased in the first transaction. |
| First Purchase - Price per Share | Input | Purchase price per share in the first transaction. |
| Second Purchase - Stock Quantity | Input | Number of shares purchased in the second transaction. |
| Second Purchase - Price per Share | Input | Purchase price per share in the second transaction. |
| Average Price | Output | The calculated weighted average cost per share. |
| Total Stocks | Output | The combined number of shares from both purchases. |
| Total Amount | Output | The total capital invested across both purchases. |
Frequently Asked Questions
Does this calculator account for trading commissions or fees?
No, this calculator determines the raw average price based strictly on the share quantity and the price per share entered. It does not factor in brokerage fees or taxes.
What does it mean to average down?
Averaging down occurs when an investor buys additional shares of a stock they already own at a lower price than their original purchase, which reduces the overall average cost per share.