Churn is calculated using the churn rate formula which is the number of customers lost during a defined period of time divided by the total number of customers left at the end of that period.