Return on Investment (ROI) is calculated using the following formula:
ROI = ((Final Value - Initial Investment) / Initial Investment) × 100
Annual ROI calculation:
Yearly ROI = ROI / Year Count