How to calculate
Subtract purchase cost and both sets of fees from sale proceeds plus dividends. Divide the profit by total purchase cost for percentage return.
Worked example
Use Shares bought and sold 100 · Purchase price per share (USD) 18 · Sale price per share (USD) 22 · Purchase fees (USD) 5 · Sale fees (USD) 5 · Cash dividends received (USD) 40. The result is 430.00 USD.
Input and result notes
Enter numbers using the same units. Rounded results are marked with ≈.