Skip to main content

Stock Profit Calculator

Calculate your stock trading profit or loss, return on investment, and net gains after commissions.

Advertisement
$

The price you paid per share.

$

The price you sold (or plan to sell) per share.

Total shares bought and sold.

$

Commission or fee paid when buying.

$

Commission or fee paid when selling.

AI Financial Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general information, not financial advice. Always consult a qualified professional.

About This Calculator

Calculating stock trading profits involves more than subtracting the purchase price from the sale price. This calculator accounts for the number of shares, broker commissions, and fees to compute your net gain or loss and overall return on investment. It helps investors evaluate trade performance and make better decisions about when to sell.

Quick Tips

  • 1 Subtract purchase price from sale price, then deduct broker fees for net profit.
  • 2 Holdings over one year qualify for lower long-term capital gains tax rates.
  • 3 Factor in dividends received when calculating total return on a stock.

Example Calculation

Scenario

Bought 50 shares at $142.50, sold at $178.30, $9.99 commission each trade.

Result

Net profit: $1,770.02 | Return: 24.84% | Commissions: $19.98

How Stock Profit Is Calculated

Stock profit is the difference between the total sale proceeds and the total cost basis. The cost basis includes the purchase price of all shares plus any buying commissions. Net profit subtracts selling commissions as well. The formula is: Profit = (Sell Price - Buy Price) × Shares - Buy Commission - Sell Commission.

Understanding Return on Investment (ROI)

ROI measures the percentage return relative to your total investment. It is calculated as (Net Profit / Total Cost) × 100. A positive ROI means you gained money; a negative ROI means a loss. ROI helps compare the profitability of different investments regardless of the dollar amounts involved.

Frequently Asked Questions