Stock Profit Calculator
Calculate stock trading profit and loss with commission fees. Get instant ROI percentage, total investment, proceeds, and detailed breakdowns. 100% free and private.
How many shares did you trade?
Price you paid per share
Price you sold per share
Transaction fee when buying
Transaction fee when selling
Complete Analysis
Get profit/loss, ROI, total investment, proceeds, and per-share metrics.
Include Commissions
Factor in buy and sell commission fees for accurate profit calculations.
100% Private
All calculations happen in your browser. Your trading data never leaves your device.
How to Use Stock Profit Calculator
Enter Trade Details
Input the number of shares, buy price per share, and sell price per share. These are required fields.
Add Commission Fees (Optional)
If your broker charges commission fees, enter the buy and sell commission amounts for accurate profit calculations.
Calculate Results
Click "Calculate Profit/Loss" or press Enter to see your complete trade analysis with profit/loss, ROI, and breakdowns.
Review and Copy
Review your results with color-coded profit/loss indicators. Copy the results to your clipboard for record keeping.
Frequently Asked Questions
How do I calculate stock profit?
Stock profit is calculated as Total Proceeds minus Total Investment. Total Investment = (Shares × Buy Price) + Buy Commission. Total Proceeds = (Shares × Sell Price) - Sell Commission. Enter your trade details and click Calculate to see your profit or loss.
What is ROI percentage in stock trading?
ROI (Return on Investment) percentage shows your profit or loss as a percentage of your initial investment. It's calculated as (Profit/Loss ÷ Total Investment) × 100. A positive ROI means profit, negative means loss.
How do commissions affect stock profit?
Commissions reduce your overall profit. Buy commission is added to your total investment, and sell commission is subtracted from your proceeds. Both reduce your net profit, which is why it's important to factor them into your calculations.
What is per-share profit?
Per-share profit is your total profit or loss divided by the number of shares. It shows how much profit or loss you made on each individual share, making it easier to compare different trades.
Can I use this for cryptocurrency or forex trading?
Yes! While designed for stocks, this calculator works for any trading where you buy and sell units at different prices with transaction fees. Just enter your buy/sell prices and fees.
Is my trading data kept private?
Yes! All calculations happen entirely in your browser. Your stock prices, quantities, and profits are never sent to any server or saved anywhere.