Skip to content
Built in Lahore, PakistanHow we check the math
mathbehind

Customer Acquisition Cost (CAC) Calculator

Work out what each new customer costs you from your sales and marketing spend, and how long it takes to earn that cost back.

By Muhammad Ahmad, Software EngineerLinkedIn· figures checked

Your numbers

$

Ads, tools, salaries and commissions for the same period.

In the same period as the spend.

$

Used to work out payback.

%

Customer acquisition cost

$300.00

Months to earn it back
7.5 months
Gross margin per customer per month
$40.00
The math behind it
  1. CAC

    $30,000 ÷ 100 customersequals$300.00

  2. Margin per customer

    $50.00 × 80%equals$40.00/mo

  3. Payback

    $300.00 ÷ $40.00equals7.5 months

Customer acquisition cost (CAC) is what you spend, on average, to win one new customer. On its own it is just a cost. Compared with what a customer earns you each month, it tells you how quickly your growth pays for itself.

Figures checked by Muhammad Ahmad against SaaSRise: The 2026 SaaS Benchmarks Report. Prices and rules change, so confirm with the official source before relying on them. How we check the math

How it works

Add up everything you spent on sales and marketing in a period: advertising, marketing tools, and the salaries and commissions of the people doing sales and marketing. Divide by the number of new customers you won in that same period.

CAC payback is CAC divided by the gross margin each customer brings in per month. It is the number of months before a new customer has repaid what it cost to acquire them.

Use gross margin rather than revenue for payback. Only the margin is available to recover acquisition costs, because the rest goes on serving the customer.

A worked example

Spending $30,000 to win 100 customers gives a CAC of $300. If each customer pays $50 a month at an 80% gross margin, they bring in $40 of margin a month, so it takes 7.5 months to earn back the $300.

More examples

If the same $30,000 wins 60 customers instead of 100, CAC rises from $300 to $500 and payback from 7.5 to 12.5 months.

Common mistakes

  • Counting only ad spend.
  • Mixing customers from one period with spend from another when sales cycles are long.
  • Using blended CAC to judge a single channel.
  • Ignoring gross margin in payback.

Questions people ask

Should salaries be included in CAC?

For a true picture, yes. Leaving out the cost of your sales and marketing team makes CAC look much lower than it really is. Some teams track paid CAC (ad spend only) separately, which is useful as long as it is labelled clearly.

What is a good CAC payback period?

Under 12 months is widely treated as healthy for SaaS businesses selling to small and mid-size customers. Businesses selling larger contracts often accept longer payback.

What about customers who found us on their own?

Including them lowers your blended CAC, which can hide how expensive paid channels are. If you can, calculate CAC per channel as well as overall.

How do you calculate customer acquisition cost?

Divide total sales and marketing spend in a period by the number of new customers won in that period. $50,000 of spend and 100 new customers is a CAC of $500.

What is the difference between blended and paid CAC?

Blended CAC divides all acquisition spend by all new customers, including those who found you organically. Paid CAC counts only customers from paid channels. Blended looks lower; paid shows what ads really cost.