ROI for CRM software is calculated by comparing the net profit generated from the CRM investment to the cost of implementing and maintaining the software. This calculation considers factors such as customer retention, sales growth, and efficiency gains.