How to use the Stock Average Calculator
- Enter your stock purchases using the shares and price format, such as 100 shares at 10 and 50 shares at 8.
- Add additional purchase lots if you bought the stock on multiple occasions at varying market prices.
- Input the current price of the stock optionally to calculate your real-time profit or loss.
- Review your outputs instantly, including average cost per share, total shares, and overall profit or loss percentage.
How it works
The average cost output represents the weighted mean price paid per share across all your purchase lots. Larger share purchases carry more weight in the final calculation, meaning a batch with more shares impacts your break-even point significantly more than smaller fractional buys. This total cost forms the baseline for evaluating your overall financial exposure in that specific company.
The calculation strictly follows standard weighted average principles recognized in financial accounting and reporting guidelines. According to standard financial mathematics, the formula divides the sum of all money invested across every purchase by the total number of accumulated shares. This exact methodology ensures your break-even metrics align with standard brokerage accounting practices.
While this tool provides precise mathematical averages and profit tracking, it does not account for brokerage transaction fees, commissions, or tax implications unless you manually add those costs into your share purchase prices. Dividends and ongoing corporate actions are also excluded. Use this output as a foundational guide for monitoring your holdings rather than definitive tax advice.
Formula
Average = Σ(shares × price) ÷ Σ shares
Worked example
100 at 10, 50 at 8 and 50 at 7 average 8.75; at 9 that is a 50 profit.
Frequently asked questions
What is averaging down?+
Averaging down is an investment strategy where you buy more shares of a stock after its price has fallen. This lowers your average cost per share, but it also increases your overall financial exposure to that specific company.
Are dividends included in the calculation?+
No, dividends are not included in this tool. While dividends effectively reduce your net cost basis over time by returning cash to you, they are calculated separately from your initial share purchase prices.
How do I calculate stock average manually?+
You multiply the number of shares in each purchase by its respective purchase price, add all those totals together to find the cumulative amount spent, and then divide that sum by your total number of shares.
Should I include brokerage fees in the price?+
Yes, including transaction fees or commissions directly within your purchase price inputs will give you a more accurate break-even point and true cost basis for your investment portfolio.
Can this tool calculate profits and losses?+
Yes, if you provide the optional current market price, the calculator will automatically display your total monetary profit or loss as well as the percentage gain or loss on your total investment.
Sources and references
- U.S. Consumer Financial Protection Bureau (CFPB)
- Investor.gov – U.S. Securities and Exchange Commission
✓ Written and reviewed by the Calcumia editorial team · Last updated: · How we build and check our calculators
Results are estimates for information only and are not financial, medical or legal advice.