Stock Profit Calculator
Enter trade details to get profit, ROI, and breakeven.
How do I calculate stock profit and ROI?
Total Cost = (Buy Price * Shares) + Buy Fee. Total Proceeds = (Sell Price * Shares) − Sell Fee. Profit = Proceeds − Cost. ROI = Profit / Cost * 100%.
What is the breakeven sell price?
Breakeven Sell Price = (Total Cost + Sell Fee) / Shares. With equal buy/sell fees and same share count, breakeven ≈ buy price.
Should I include taxes?
Broker commissions/spreads are supported via fees. Taxes vary by jurisdiction and are not calculated here. Consider them separately if needed.
Does this work for ETFs and crypto?
Yes. The same arithmetic applies for any asset priced per unit. Just use the applicable fees and prices.
Can I model short selling?
This version targets long trades. For shorts, invert the logic (proceeds from the short sale less buy-to-cover cost and fees). A short-sell mode can be added on request.
How is profit calculated?
Profit = (Sell Price * Shares − Sell Fee) − (Buy Price * Shares + Buy Fee).
What is ROI?
Return on investment (ROI) = Profit / Total Cost * 100%.
Can I enter zero fees?
Yes. Fees are optional. Set buy/sell fees to 0 if not applicable.