basic

Stock Profit Calculator

Profit, return percentage, and per-share gain on a stock trade.

Compute the profit, total return, and percentage return on a stock trade after factoring in commissions and fees on both the buy and sell sides.

Published Last reviewed 1 min read

Inputs

$
$
$

Results

Enter values and click Calculate to see results.
Was this helpful?

How to use this calculator

  1. Fill in the inputs above using the units you already have.
  2. Values update automatically as you type — no submit button needed.
  3. Hover any result row for the underlying formula and intermediate values.

Formula

Profit = (Sell price − Buy price) × shares − fees. Return % = profit / total cost basis.

In depth

Compute the profit, total return, and percentage return on a stock trade after factoring in commissions and fees on both the buy and sell sides.