ROI measures the return on the investment relative to its cost, while Return on Equity (ROE) assesses the profitability of an investment relative to the shareholders' equity. ROE focuses specifically on the return generated for the shareholders.