To calculate return on investment, divide the amount you earned from an investment—often called the net profit, or the cost of the investment minus its present value—by the cost of the investment and multiply that by 100. The result should be represented as a percentage.