Calculate the total return on your investment by adding the amount the asset was sold for and any payments, such as dividends, made to you while you owned it and subtracting the costs associated with the sale.