Investing & Wealth

Stock Profit Calculator

Calculate net profit, percentage return, trade commission fees, and capital gains tax on stock, ETF, and options trades.

What this calculator does

The Stock Profit Calculator estimates your result instantly from the values you enter, using standard investing & wealth formulas. Calculate net profit, percentage return, trade commission fees, and capital gains tax on stock, ETF, and options trades. Calculations run in your browser, so nothing you type is sent to a server, and the output is an estimate for planning rather than financial advice.

About Stock Profit Calculator

The Stock Profit Calculator computes your net profit or loss on stock trades, taking into account buying and selling prices, share quantities, brokerage commission fees, and short/long-term capital gains tax estimates.

Formula & Mathematical Calculation

Total Buy Cost = ( Shares × Buy Price ) + Buy Commission

Total Sell Revenue = ( Shares × Sell Price ) - Sell Commission

Net Profit ($) = Total Sell Revenue - Total Buy Cost

ROI (%) = ( Net Profit / Total Buy Cost ) × 100

Calculation Example

Buy 200 Shares @ $150 ($30,000) → Sell @ $210 ($42,000): Net Profit = +$12,000 (+40.0% ROI).

Key Benefits

  • Calculates exact dollar profit and percentage ROI on stock trades
  • Includes brokerage commissions and SEC transaction fees
  • Estimates capital gains tax liability (short-term vs. long-term)
  • Supports fractional shares and penny stocks
  • Instant and private trading tool

How to Use this Calculator

  1. Enter Share Quantity
    Input number of shares bought.
  2. Enter Buy and Sell Prices
    Input purchase price and exit price per share.
  3. Include Brokerage Fees (Optional)
    Enter commissions or transaction fees.
  4. Calculate Profit
    Click Calculate to view net profit, total payout, and ROI percentage.

Assumptions & Limitations

What the calculation assumes

  • Every value you enter is treated as an exact, known amount.
  • Rates and contributions are assumed to stay constant for the whole period unless the form asks for them separately.
  • Results use standard financial formulas and ignore fees, penalties and promotional terms that are not entered above.
  • Inflation, tax changes and market volatility are not modelled unless a field for them is provided.
  • Amounts are unit-agnostic: results are returned in the same currency you enter.

What it does not cover

  • Stock Profit Calculator produces estimates for education and planning, not a quote, offer or professional advice.
  • Real-world outcomes differ when fees, taxes, rounding rules or provider-specific terms apply.
  • Local regulations and tax rules vary by country and change over time; verify current rules for your jurisdiction.
  • Figures are only as accurate as the inputs you supply — check them before acting on the result.
  • For decisions with lasting financial impact, confirm the numbers with a qualified professional.

Frequently Asked Questions

Multiply the number of shares by the selling price, subtract the purchase cost, and subtract any trading commissions or fees.