The ROI is calculated by subtracting the initial value of the investment from the final value of the investment (which is equal to the net return), then dividing this new number (the net return) by the cost of the investment. investment, and, finally, multiplied by 100.