Customer lifetime value (CLV) is calculated by multiplying the average purchase value per customer by the average number of repeat purchases they make in a given time period, minus the cost to acquire and serve the customer. The formula is: (Average Purchase Value * Average Repeat Purchases) - Cost to Acquire and Serve the Customer.