Cost per action, also known as CPA or cost per lead, is a metric used to measure how much it costs to generate a single lead or action. It is calculated by dividing the total cost of acquiring a lead or action (including acquisition costs and fulfillment costs) by the number of leads or actions generated.