To calculate cost per acquisition, simply take the entire cost of marketing over a given period of time and divide it by the total number of new customers in that same time period.