Calculate profit or loss from stock trades quickly. This tool helps individual investors, financial planners, and budget-conscious savers track returns on equity investments. It accounts for purchase price, sale price, and trading fees for accurate results.
📈 Stock Profit Calculator
Calculation Results
How to Use This Tool
Enter the number of shares you bought and sold in the corresponding field. Input the purchase price per share and any commission or fees paid when buying the stock. Repeat the same for the sale price per share and associated sale fees.
Optionally add your holding period and select the unit (days, months, years) to calculate annualized returns. Choose your preferred currency from the dropdown to display results in your local format.
Click the Calculate button to see a detailed breakdown of your profit or loss. Use the Reset button to clear all fields and start a new calculation. You can copy all results to your clipboard using the copy button in the results section.
Formula and Logic
The calculator uses standard stock profit formulas used by individual investors and financial planners:
- Total Purchase Cost = (Number of Shares × Purchase Price Per Share) + Purchase Commission
- Total Sale Proceeds = (Number of Shares × Sale Price Per Share) - Sale Commission
- Total Fees = Purchase Commission + Sale Commission
- Net Profit/Loss = Total Sale Proceeds - Total Purchase Cost
- Return on Investment (ROI) = (Net Profit / Total Purchase Cost) × 100
- Annualized ROI = [(Total Sale Proceeds / Total Purchase Cost) ^ (1 / Holding Period in Years) - 1] × 100 (only calculated if holding period is provided)
All calculations account for trading fees, which are often overlooked in basic profit estimates. ROI measures the total return relative to your initial investment, while annualized ROI adjusts returns for the time you held the stock.
Practical Notes
Keep these finance-specific considerations in mind when using this tool:
- Trading commissions vary by broker: some brokers charge flat fees per trade, while others charge a percentage of the trade value. Enter the exact fee you paid for accurate results.
- This tool does not account for taxes: capital gains tax may apply to your profits depending on your jurisdiction and how long you held the stock. Consult a tax professional for tax-specific calculations.
- Dividends are not included in this calculation: if you received dividend payments while holding the stock, add those to your net profit manually for a full return estimate.
- Fractional shares are supported: enter the exact number of shares (including decimals) if you bought partial shares of a stock.
- For long-term holdings, annualized ROI gives a better sense of performance than raw profit, as it normalizes returns to a yearly rate.
Why This Tool Is Useful
Individual investors often track stock performance manually, which can lead to errors when accounting for fees and multiple trades. This tool automates calculations for quick, accurate profit estimates without complex spreadsheets.
Financial planners can use it to model client portfolio returns, while budget-conscious savers can track how their equity investments contribute to their overall financial goals. It removes guesswork from calculating returns and helps you make informed decisions about buying or selling stocks.
Frequently Asked Questions
Does this calculator account for stock splits?
No, this tool assumes the number of shares you enter matches the shares sold. If you held the stock through a split, adjust the number of shares to reflect the split ratio before entering values (e.g., a 2-for-1 split means your original 10 shares become 20 shares).
How do I calculate profit for multiple trades of the same stock?
This tool calculates profit for a single buy-sell transaction. For multiple trades, calculate each separately and sum the net profits, or use the average cost method by entering your total shares, average purchase price, and total purchase fees.
Why is my annualized ROI different from my regular ROI?
Regular ROI measures total return over the entire holding period, while annualized ROI adjusts that return to a yearly rate. For example, a 10% ROI over 2 years is an annualized ROI of ~4.88%, while a 10% ROI over 6 months is an annualized ROI of ~21.55%.
Additional Guidance
Always save records of your trade confirmations to verify the exact purchase price, sale price, and fees entered into the tool. Compare your results with your brokerage statements to ensure accuracy.
If you are calculating profit for tax purposes, check if your jurisdiction requires adjusting for inflation or has different rules for short-term vs long-term capital gains. This tool is for estimation purposes only and does not constitute financial or tax advice.