To calculate the long-term value of a customer, you first need to calculate the average value of the purchases they have made and then multiply that number by the average frequency of purchases. This is how you determine the customer's value. In the next step, you have to multiply it by the client's life expectancy.