To calculate return on investment, divide net profit (present value — initial investment) by the cost of investment and multiply that by 100.