ROI vs. CAGR
Return on investment (ROI) is the total gain divided by the amount invested. It ignores time, so 50% over two years and 50% over ten years look the same.
Compound annual growth rate (CAGR) fixes that by finding the steady yearly rate that turns the starting value into the ending value: CAGR = (end ÷ start)^(1 ÷ years) − 1.