Stock Calculator
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!
What Is a Stock Calculator?
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.
How to Use This Calculator
- Enter the purchase price per share (Buy Price) and the total number of shares bought.
- Enter the anticipated or actual exit price per share (Sell Price).
- Specify any buy or sell brokerage commission fees charged by your broker.
- Review your total purchase cost, total sale proceeds, net profit or loss, ROI, and required break-even price.
Stock Profit & Break-Even Formula
\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.
Worked Example
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.
Tips & Key Notes
- Always account for commission and exchange fees, especially when executing frequent high-volume day trades.
- Consider tax implications: holding stocks longer than one year typically qualifies for lower long-term capital gains tax rates.
- Use stop-loss orders to automatically limit downside risk if a stock moves against your thesis.
Frequently Asked Questions
What is a break-even stock price?
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.
How do commissions impact stock profitability?
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.
What is the difference between realized and unrealized stock profit?
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.
Does this stock calculator account for dividend payments?
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).
Related Calculators
Explore similar toolsROI Calculator
Calculate Return on Investment (ROI), Compound Annual Growth Rate (CAGR), and total wealth multiplier for any asset or project.
LTP Calculator
Calculate Last Traded Price (LTP) unrealized P&L, position risk-to-reward ratio, potential gains, and stop-loss targets for active traders.
SIP Calculator
Calculate long-term wealth accumulation and compound returns from monthly Systematic Investment Plans in mutual funds and index funds.