Calculate stock profit or loss, return on investment (ROI), break-even price, and total trading commissions for share trades.
Did this calculation save you time?
Student ProjectHi! I'm a student developer building Calculat in my spare time. I was tired of searching for basic math tools and having to click through 10 spammy popups, loan ads, and cookie trackers.
I keep this website 100% free, private, and ad-free. If this helped you with your homework, project, or finances today, bookmarking this page or telling a friend helps me keep building more free tools!
A stock calculator computes the financial outcome of buying and selling shares of stock. It factors in your purchase price, selling price, number of shares, and broker commission fees on both legs of the trade to give you exact net profit or loss, net percentage return (ROI), and the break-even selling price required to avoid losses.
\text{Net Profit} = (Q \times P_{\text{sell}} - C_{\text{sell}}) - (Q \times P_{\text{buy}} + C_{\text{buy}})Where Q is share quantity, P_buy and P_sell are share prices, and C_buy and C_sell are broker commissions. The break-even price equals (Total Buy Cost + Sell Commission) ÷ Q.
Scenario: Purchasing 100 shares of tech stock at $150/share with a $5 commission and selling at $180/share with a $5 commission.
Total Buy Cost: (100 × $150) + $5 = $15,005.00.
Total Sell Revenue: (100 × $180) - $5 = $17,995.00.
Net Profit: $17,995 - $15,005 = $2,990.00.
ROI: ($2,990.00 ÷ $15,005.00) × 100 = 19.93%. Break-Even Price: $150.10/share.
The break-even stock price is the exact price per share at which you can sell your holdings without incurring a loss or gaining a profit, after fully covering all buy and sell broker commission charges.
Brokerage fees and platform transaction fees raise your initial cost basis and reduce your final sale proceeds. Even a 5% share gain can result in a net loss if commissions exceed the spread.
Unrealized profit (paper gain) represents the potential profit of currently held shares based on market price. Realized profit is the actual cash gain locked in once the shares are sold.
This calculator calculates capital gains from price appreciation. If you received cash dividends during your holding period, you can add that income to your net profit for total shareholder return (TSR).
Calculate Return on Investment (ROI), Compound Annual Growth Rate (CAGR), and total wealth multiplier for any asset or project.
Calculate Last Traded Price (LTP) unrealized P&L, position risk-to-reward ratio, potential gains, and stop-loss targets for active traders.
Calculate long-term wealth accumulation and compound returns from monthly Systematic Investment Plans in mutual funds and index funds.