Stock Calculator
Calculate your stock profit or loss, including commissions and taxes. Enter purchase price, sale price, number of shares, and optional fees to see net profit/loss and return percentage.
Was this calculator helpful?
How to use this tool?
Stock Profit Calculator Guide
- Enter Purchase Price (per share) – e.g., 50.00. Must be a positive number.
- Enter Sale Price (per share) – e.g., 75.00. Must be a positive number.
- Enter Number of Shares – e.g., 100. Must be a positive whole number.
- Enter Commission (total, optional) – e.g., 9.99. Leave blank if none.
- Enter Tax Rate (%) (optional) – e.g., 15 for 15%. Leave blank if none.
- Click "Calculate" to see results.
Results explained:
- Gross Profit/Loss: (Sale Price - Purchase Price) × Shares
- Net Profit/Loss: Gross minus commission
- ROI: Net profit divided by total investment (purchase cost + commission), shown as percentage
- Net Return: Net profit after applying tax rate
All values in USD. Positive results shown in green, negative in red.
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
Subtract the total purchase cost (price per share times number of shares plus commission) from the total sale proceeds (sale price per share times number of shares minus commission). The result is your net profit or loss.
ROI (Return on Investment) is the net profit divided by the total investment cost, expressed as a percentage. It measures the efficiency of your investment.
Yes, you can optionally enter a tax rate to calculate net return after taxes. The tax is applied to the net profit (after commission).