Stock Gain Calculator
Calculate your net profit, ROI, and total cost basis for stock market trades.
Understanding Stock Gains
Calculating your exact gain on a stock trade requires factoring in not just the buy and sell prices, but the number of shares and any commissions or fees charged by your brokerage.
Cost Basis and Proceeds
Your Cost Basis is the total amount you paid to acquire the shares, including buy commissions. Your Proceeds are the total amount you received from selling, minus any sell commissions. Your net gain is Proceeds minus Cost Basis.
Worked Example
- Shares: 100
- Buy Price: $50 ($5,000 total)
- Sell Price: $75 ($7,500 total)
- Total Fees: $20 ($10 to buy, $10 to sell)
- Cost Basis = $5,010
- Proceeds = $7,490
- Net Gain = $7,490 - $5,010 = $2,480.
Frequently Asked Questions
Do I have to pay taxes on this gain?
Yes, if the stock is held in a standard taxable brokerage account, you will owe capital gains tax. If held inside a Roth IRA, the gains are tax-free.
Disclaimer: This calculator is for educational and informational purposes only. It is not a substitute for professional financial advice. Results are estimates based on the information provided and may not reflect actual outcomes. Please consult with a qualified financial advisor, accountant, or tax professional before making any financial decisions. Past performance does not guarantee future results.