Customer acquisition cost (CAC)
Customer acquisition cost (CAC) is what you spend on sales and marketing to win one new customer: total acquisition spend in a period divided by the new customers won in that period.
Formula
- Sales and marketing spend
- Ads, tools, agencies and the share of salaries spent on winning customers.
- New customers acquired
- First-time paying customers in the same period.
Try it with your numbers
Change any value and the result updates. Nothing you type leaves your browser.
Worked example
In Q3 you spent $45,000 on ads, tools and sales time and won 300 new customers. CAC = $45,000 ÷ 300 = $150.
How to read it
Report blended CAC for the business and paid CAC per channel. On its own, CAC says little: compare it with customer lifetime value and with how quickly a customer pays it back.
How to calculate CAC in SQL, Power BI and Excel
Copy, rename the tables and columns to match yours, and run. The SQL is written for PostgreSQL and works with small changes in BigQuery, Snowflake or SQL Server.
SELECT s.month,
s.marketing_spend + s.sales_cost AS acquisition_spend,
n.new_customers,
ROUND((s.marketing_spend + s.sales_cost) / NULLIF(n.new_customers, 0), 2) AS cac
FROM monthly_spend s
JOIN (
SELECT date_trunc('month', first_order_date)::date AS month, COUNT(*) AS new_customers
FROM customers
GROUP BY 1
) n USING (month)
ORDER BY s.month;CAC =
DIVIDE ( SUM ( Spend[Amount] ), [New Customers] )=B2/B3Excel: B2 = sales and marketing spend, B3 = new customers in the same period.
Common mistakes
- Counting ad spend only. That is paid CAC; blended CAC includes salaries and tools too. Say which one you report.
- Counting returning customers as new.
- Ignoring the lag between spend and sale. With long sales cycles, compare spend with customers won one or two months later.
Questions people ask
What is the difference between CAC and CPA?
Cost per acquisition (CPA) usually counts any conversion, such as a sign-up or lead. CAC counts paying customers only.
Should salaries be included in CAC?
For blended CAC, yes: the share of sales and marketing time spent on new customers. For paid CAC per channel, use ad spend only.
Want CAC measured the same way everywhere?
We define it with your team, build it into your data and dashboards, and keep it right. See Marketing attribution & channel ROI, or start with a two-week Data Health Check.