CAC is calculated as the total cost of acquiring customers, divided by the total customers acquired over a given period. The 'cost' is your total spend on sales and marketing costs. For example, if you spend $1000 acquiring new customers in Q1 and acquire 500 customers, then your CAC is $2.