Stock Profit Calculator

Calculating stock profit isn't just buy price vs sell price. You need to account for commissions on both sides, dividends received during the holding period, and the impact of holding time on annualized return. Our calculator handles all of this — enter buy and sell prices, share count, commissions, dividends, and holding days to get net profit, profit %, total return %, annualized return %, and the break-even sell price needed to cover all costs.

star 4.9
auto_awesome AI
New

candlestick_chartTrade Details

trending_upProfit / Loss

Net Profit
$2,000
20.00% return
Buy Value
$10,000
Sell Value
$12,000
Gross Profit
$2,000
Commissions
$0
+ Dividends
$2,000
Annualized
N/A
Break-Even Sell Price
$100.00

tips_and_updates Tips

  • Always include commissions in P&L calculations, even with zero-commission brokers
  • Dividends can add 2-4% per year to total return on income stocks
  • Annualized return matters more than total return for short holds
  • Break-even price = total cost basis ÷ shares (helps set stop-loss)
  • Long-term capital gains (>1 year) get preferential tax rates
  • Wash sale rule: can't claim loss if you rebuy same stock within 30 days
  • Track total return (with dividends) not just price return for income strategies

How to Use This Calculator

1

Enter buy + sell prices

Per share.

2

Enter share count

Number of shares traded.

3

Add commissions if any

Most US brokers are free now.

4

Optional: dividends + holding days

For total return + annualized.

5

Review profit + percentages

Net + total + annualized return.

The Formula

Always include both buy and sell commissions in your cost analysis. Even with $0 commission brokerages today, there are still spreads, SEC fees, and FINRA TAF fees on sells. Dividends boost total return — for dividend stocks, ignoring them understates returns by 2-4% per year.

Net Profit = (Sell × Shares − Sell Commission) − (Buy × Shares + Buy Commission)

lightbulb Variables Explained

  • Buy Value Buy Price × Number of Shares
  • Sell Value Sell Price × Number of Shares
  • Total Cost Basis Buy Value + Buy Commission
  • Net Profit Sell Value − Sell Commission − Total Cost Basis
  • Total Return Net Profit + Dividends Received

tips_and_updates Pro Tips

1

Always include commissions in P&L calculations, even with zero-commission brokers

2

Dividends can add 2-4% per year to total return on income stocks

3

Annualized return matters more than total return for short holds

4

Break-even price = total cost basis ÷ shares (helps set stop-loss)

5

Long-term capital gains (>1 year) get preferential tax rates

6

Wash sale rule: can't claim loss if you rebuy same stock within 30 days

7

Track total return (with dividends) not just price return for income strategies

Calculating Stock Trading Profits, Losses, and Returns

Stock profit calculation seems simple — sell price minus buy price — but accurately determining your real return requires accounting for trading commissions, taxes, dividend income, holding period, and the opportunity cost of capital. A stock purchased at $50 and sold at $65 shows a 30% gross gain, but after $10 in round-trip commissions on a small lot and 15% long-term capital gains tax, the after-tax profit drops significantly. Our stock profit calculator computes your complete return picture: gross profit or loss, percentage return, annualized return (critical for comparing investments held for different periods), commission impact, estimated tax liability based on holding period (short-term vs long-term capital gains), and total net profit after all costs. Whether you are evaluating a completed trade, planning a sell decision, or comparing the performance of multiple positions, this calculator provides the full financial picture that your brokerage's simple P&L statement doesn't show.

Gross vs net profit and the impact of fees

Gross stock profit is straightforward: (Sell Price - Buy Price) × Shares. But net profit must account for commissions, SEC fees, and taxes. While most major brokers now offer zero-commission stock trades, options still carry per-contract fees ($0.50-0.65), and some brokers charge for OTC stocks, foreign shares, or large block trades. The SEC regulatory fee (currently $8 per $1,000,000 of sales) is negligible for small trades but visible on large transactions. For active traders, the bid-ask spread is effectively a hidden cost — buying at $50.10 and selling at $49.90 on a $50 stock costs 0.4% round-trip even with zero commissions. On 100 shares, that spread costs $20 in implicit transaction costs.

Annualized return vs total return

Total return shows the percentage gain over the entire holding period, but annualized return enables fair comparison across investments held for different durations. A 50% gain over 5 years equals approximately 8.4% annualized (using the formula: (1 + total return)^(1/years) - 1), while a 20% gain over 6 months annualizes to 44%. This distinction matters enormously for portfolio analysis — a stock that doubles in 10 years (7.2% annualized) has underperformed one that gains 50% in 3 years (14.5% annualized). When comparing against benchmarks, always use annualized figures. Including dividends in total return (total return = price appreciation + dividends received / cost basis) gives a more accurate picture, especially for income stocks where dividends contribute 30-50% of total return.

Tax implications of stock profits

The holding period determines your tax rate on stock profits. Shares held over one year qualify for long-term capital gains rates: 0% for taxable income under $47,025 (single), 15% for income up to $518,900, and 20% above that threshold. High earners also pay a 3.8% Net Investment Income Tax. Short-term gains (held under one year) are taxed as ordinary income — potentially 22-37% federal. This difference is substantial: on a $10,000 profit, long-term treatment saves $700-1,700 compared to short-term rates. Tax-loss harvesting — selling losing positions to offset gains — can reduce your tax bill, but watch the wash-sale rule that disallows losses if you repurchase substantially identical securities within 30 days. Consider holding winning positions past the one-year mark when possible.

Frequently Asked Questions

sell

Tags

verified

Data sourced from trusted institutions

All formulas verified against official standards.