The conversion rate is calculated by dividing the number of specific actions by the total number of site visits, providing insights into customer behavior.