Stock Profit/Loss Calculator
Calculate your trading P&L including commission, tax, and annualized return.
Report a Problem
Found a bug or have a suggestion? Help us improve this tool.
Understanding Stock Profit Calculation
How is Stock Profit Calculated?
Stock profit (or loss) is the net gain or loss from buying and selling shares, after accounting for all transaction costs including commissions, fees, and taxes. Understanding your true profit requires considering every cost involved in the trade.
Profit Formulas
Buy Cost: Entry Price × Shares + Buy Commission. Your total cash outflow when buying.
Sell Revenue: Exit Price × Shares - Sell Commission. Your total cash inflow when selling.
Net Profit: Sell Revenue - Buy Cost - Taxes. Your actual take-home profit.
Tips for Maximizing Profit
📉 Watch Transaction Costs
High frequency trading with high commissions can eat into profits significantly.
⏰ Consider Holding Period
Long-term holdings (1+ year) may qualify for lower capital gains tax rates in many countries.
Frequently Asked Questions
How is stock profit calculated?
Stock profit = (Sell Price × Shares) - (Buy Price × Shares) - Buy Commission - Sell Commission - Tax. Our calculator handles all of this automatically.
What is annualized return?
Annualized return smooths your profit/loss over a 1-year period using the formula: (1 + Return)^(365/Days) - 1. It lets you compare trades of different holding periods.
Should I include commission and tax?
Yes! Commission and tax significantly impact your real returns. Even small fees (0.1%) can eat into profits on short-term trades.
What is this tool?
A stock profit calculator computes your gains or losses from a stock trade. It calculates profit/loss based on purchase price, sell price, and number of shares. Also accounts for trading fees, commissions, and taxes to show your net profit. Helps you evaluate trade performance and plan future investments.
How to use
- 1
Enter buy price and shares
Input your purchase price per share and quantity.
- 2
Enter sell price
Input your selling price per share.
- 3
Enter fees
Input any trading commissions, fees, or taxes.
- 4
View profit/loss
See gross profit, net profit after fees, and ROI percentage.
Frequently Asked Questions
How are stock profits taxed?
In many jurisdictions, short-term capital gains (held less than 1 year) are taxed at your ordinary income tax rate, while long-term gains receive preferential rates. Tax rules vary by country—check local regulations.
Should I include fees in my profit calculation?
Yes. Trading fees and commissions significantly impact returns, especially for frequent traders. A trade that looks profitable gross may actually be a loss after fees. Always calculate net profit for accurate performance evaluation.
How do I calculate return on investment for stocks?
ROI = (Current Value - Purchase Price - Fees) / (Purchase Price + Fees) × 100%. For example, if you bought 100 shares at $50 each with $10 in fees, and sold at $65 with $10 in fees: ROI = (($6,500 - $5,000 - $20) / ($5,000 + $10)) × 100% = 29.78%. Always include fees for the most accurate calculation.