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.

Stock Profit Calculator Results

$0.00

Net Profit

  • Return on Investment —
  • Total Buy Cost —
  • Total Sell Revenue —

What This Means

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.

It computes the buy cost as shares times the buy price plus the buy commission, and the sell proceeds as shares times the sell price minus the sell commission. The net profit is sell proceeds minus buy cost.

It divides the net profit by the total buy cost (including the buy commission) and expresses it as a percentage. That ties the return to the actual capital you committed, fees included.

The number of shares and the buy price must both be greater than zero, or the calculator stops with 'Enter the number of shares.' or 'Enter the buy price.' Commissions are optional and default to nothing.

Yes. If the sell proceeds after commission are below the buy cost, the net profit is negative and the ROI is negative, reflecting a losing trade including all fees.

Free to use, no account needed. Calculations run in your browser, so nothing you type is sent to a server. Results are estimates — how we build and check our calculators.