Formula
Profit = (Shares × Sell price − Sell commission) − (Shares × Buy price + Buy commission). ROI = Net profit ÷ Total cost.
About this calculator
Enter prices in the currency the share trades in, on any exchange (NYSE, NASDAQ, LSE, NSE, PSX and others). Commissions and taxes differ by broker and country, so enter your own figures. To compare trades in different currencies, convert the results with the currency converter.
Amounts are shown without a currency symbol, so the calculator works for any currency: enter all values in the same one.