To calculate customer retention rate take the number of customers at the end of the period and subtract the number of new customers. Then divide that number by the customers from the beginning of that same period and multiply the remainder by 100%.