Stock Profit Calculator

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

$

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.

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