The conversion rate is calculated by dividing the number of successful conversions by the total number of visitors to a website or app, then multiplying this result by 100 to express it as a percentage. For instance, if 1,000 people visit your website and 50 complete an action, your conversion rate would be 5%.