Calculators

Stock Profit Calculator

Calculate stock trading profit and loss with our free calculator. Includes commission fees, dividend income, short-term vs long-term capital gains tax comparison, and ROI percentage for accurate investment returns.

Use Stock Profit Calculator to get instant results without uploads or sign-ups. Everything runs securely in your browser for fast, reliable output.

Your results will appear here.

Ready to run.

About this tool

Calculate your stock trading profits and losses with our comprehensive stock profit calculator. Whether you're day trading, swing trading, or long-term investing, knowing your exact gains, fees, and tax liability is crucial. Our calculator shows gross profit, trading fees, capital gains taxes, net profit, and return on investment (ROI) percentage, giving you a complete picture of your trade performance.

Understanding true profit after all costs is essential for successful trading. Many traders focus only on price changes but forget trading commissions, exchange fees, and taxes can significantly impact returns. A 10% price gain might only net 7% after a $10 commission and 15% capital gains tax. Our calculator factors in all costs so you know your real bottom line before making trade decisions.

Perfect for evaluating potential trades before execution, tracking historical trade performance, calculating tax liability for reporting, and comparing broker fee impacts. Use it for stocks, ETFs, and equity investments. The calculator handles both profits (gains) and losses, showing how much you made or lost on each position. Essential tool for serious traders and investors.

Your trading information stays completely private - all calculations happen in your browser with no data sent to servers. Use the calculator as many times as needed to analyze different scenarios. Works on all devices and can be used offline after the first visit.

Usage examples

Profitable Stock Trade

100 shares bought at $50, sold at $60, $10 commission

Buy: $5,000. Sell: $6,000. Gross profit: $1,000. After $20 fees: $980. After 15% tax: $833. ROI: 16.7%. Net gain per share: $8.33.

Day Trading with Multiple Trades

500 shares at $25, sold at $26, $5 commission per trade

Buy: $12,500. Sell: $13,000. Gross: $500. Fees: $10. Tax (short-term 24%): $118. Net: $372. ROI: 3.0%. Small % but $372 in one day.

Long-Term Investment Gains

50 shares bought at $100, sold at $175 after 2+ years

Buy: $5,000. Sell: $8,750. Gross: $3,750. Fees: $20. Long-term cap gains (15%): $560. Net: $3,170. ROI: 63.4%. Hold 1+ year saves taxes.

Loss Scenario

200 shares bought at $30, sold at $25

Buy: $6,000. Sell: $5,000. Loss: -$1,000. After fees: -$1,020. No tax on losses (deductible). ROI: -17%. Lessons: cut losses early.

Impact of High Commission Fees

10 shares at $50, sold at $55, $10 vs $0 commission

With $10 fees: $50 gross, $30 net after $20 fees, 6% ROI. With $0 fees (Robinhood): $50 net, 10% ROI. Low fees critical for small trades.

How to use

  1. Select a Quick Start preset or choose Custom for manual entry
  2. Enter the number of shares purchased
  3. Enter the buy price per share
  4. Enter the sell price per share
  5. Add any dividend income received (optional)
  6. Enter buy and sell commission fees (if any)
  7. Select tax rate type: short-term (22%), long-term (15%), or custom
  8. Optionally choose a scenario comparison (hold longer, higher price, more shares)
  9. Optionally enter holding period in months for annualized return
  10. Click "Run Tool" to see comprehensive profit analysis
  11. View gross profit, net profit after fees/taxes, ROI, and break-even price
  12. Review tax strategy recommendations and scenario comparisons

Benefits

  • Calculate exact profit or loss on stock trades
  • Include commission and trading fees in calculations
  • Estimate capital gains tax liability (short and long-term)
  • See net profit after all costs
  • Calculate return on investment (ROI) percentage
  • Compare trades with different fee structures
  • Evaluate trades before execution
  • Track and analyze past trade performance
  • Understand break-even price points
  • No registration or personal information required
  • 100% private - calculations done in your browser
  • Free forever with instant calculations

FAQs

How do you calculate stock profit or loss?

Stock profit = (Sell Price - Buy Price) × Number of Shares - Trading Fees. For example, buying 100 shares at $50 and selling at $60: ($60 - $50) × 100 = $1,000 gross profit. Subtract $20 in commissions = $980. Then subtract capital gains tax for net profit. Always include ALL costs - commissions, exchange fees, and taxes - for accurate profit calculation.

What is the difference between gross and net profit?

Gross profit is the price difference (sell - buy) before any costs. Net profit is what you actually keep after commissions, fees, and taxes. Example: $1,000 gross profit - $20 fees - $147 taxes (15%) = $833 net profit. Net profit is your real gain. Many traders mistakenly calculate gross and are disappointed by actual returns. Always plan using net profit.

How much are stock trading commissions and fees?

Major brokers like Fidelity, Schwab, Robinhood, and Webull now offer $0 commissions on stock trades. However, some still charge: $5-10 per trade, $0.005-0.01 per share for active traders, or foreign transaction fees. Options trades typically cost $0.50-0.65 per contract. Mutual funds may charge $50+ per trade. Also consider SEC fees (~$5 per $1M sold) and potential margin interest.

What is capital gains tax on stocks?

Short-term capital gains (held <1 year) are taxed as ordinary income at your tax bracket (10-37%). Long-term gains (held 1+ year) are taxed at preferential rates: 0% (low income), 15% (most people), or 20% (high income). Example: $10,000 profit held 6 months = $2,400 tax at 24%. Same profit held 13 months = $1,500 tax at 15%. Holding 1+ year saves significant tax.

How do you calculate stock return percentage (ROI)?

ROI = (Net Profit ÷ Initial Investment) × 100. Example: Invest $5,000, sell for $6,000, $20 fees, $147 tax, net $833 profit. ROI = ($833 ÷ $5,000) × 100 = 16.7%. This shows efficiency of the trade. A $100 profit on $1,000 invested (10% ROI) is better than $100 profit on $5,000 invested (2% ROI) - the first used capital more efficiently.

What is a good stock return percentage?

The S&P 500 averages about 10% annually long-term, so beating that is good. Day/swing traders target 1-2% per trade but make many trades. Long-term investors are happy with 8-15% annually. A 20%+ return in under a year is excellent. However, consistency matters more than individual big wins - consistently making 1-2% monthly beats occasionally making 50% then losing 30%. Factor in risk and time invested.

When should I sell a stock for profit?

Common strategies: 1) Set profit target (e.g., sell at 20% gain), 2) Use trailing stop-loss (e.g., sell if drops 10% from peak), 3) Sell when fundamentals change, 4) Hold long-term (years) for compounding. Avoid emotional selling. Taking 10-20% profits consistently often beats holding for bigger gains that may never come. Use our calculator to model your exact profit at different sell prices before deciding.

How do trading fees affect small vs large trades?

Fees hurt small trades more. A $10 commission on a $500 trade is 2% - you need 2% gain just to break even. The same $10 on a $10,000 trade is 0.1%. This is why day traders need $0 commission brokers and why experts say don't invest amounts under $1,000 if paying commissions. With $0 commissions, small trades become viable, democratizing trading.

Can you deduct stock losses on taxes?

Yes! Capital losses offset capital gains dollar-for-dollar. If you have $10,000 in gains and $4,000 in losses, you only pay tax on $6,000 net gain. You can also deduct up to $3,000 in net losses against ordinary income per year. Unused losses carry forward indefinitely. This is "tax-loss harvesting" - selling losers to offset winners. Always keep records of all trades for tax reporting.

What is the break-even price for a stock trade?

Break-even is the sell price where you neither profit nor lose after all costs. Formula: Break-even = (Buy Price × Shares + All Fees) ÷ Shares. Example: Buy 100 shares at $50 with $10 buy commission = $5,010 total. Need to sell at $50.10 + $10 sell fee = $50.20 break-even. Must sell above $50.20 to profit. Factor this in when setting targets - your buy price isn't your break-even.

What is the difference between short-term and long-term capital gains tax?

Short-term capital gains (assets held ≤1 year) are taxed as ordinary income at your tax bracket (10-37%, typically 22% for middle income). Long-term gains (held >1 year) get preferential rates: 0%, 15%, or 20% depending on income. Example: $10,000 profit held 11 months = $2,200 tax at 22% rate. Same profit held 13 months = $1,500 tax at 15% rate. Holding just 2 months longer saves $700 (32% tax savings). This is why buy-and-hold investing is tax-advantaged.

What is the wash sale rule and how does it affect stock losses?

The wash sale rule prevents you from claiming a tax deduction if you sell a stock at a loss and buy the same or "substantially identical" stock within 30 days before or after the sale (61-day window total). Example: Sell Stock A at $1,000 loss on Dec 15, buy it back Dec 20 = wash sale, can't deduct the $1,000 loss in current year. The loss gets added to the cost basis of the new purchase instead. To avoid: Wait 31+ days before repurchasing, or buy a similar but different stock (e.g., sell Apple, buy Microsoft).

How are dividends taxed differently from capital gains?

Qualified dividends (from stocks held 60+ days) are taxed at long-term capital gains rates (0%, 15%, or 20%) - same favorable treatment. Non-qualified dividends are taxed as ordinary income (10-37%). Example: $1,000 qualified dividend = $150 tax at 15% rate. $1,000 non-qualified = $220 at 22% rate. Dividends from REITs, money market funds, and stocks held <60 days are typically non-qualified. Most dividends from US corporations held long-term are qualified. This tax advantage makes dividend stocks attractive for long-term portfolios.

Related tools

View all tools