Grow your ecommerce store · Ads · 4 min read
How to Calculate Customer Acquisition Cost for an Online Store
Short answer
Customer acquisition cost (CAC) is your total sales and marketing spend for a period divided by the number of new customers you won in that period; for example, $6,000 spent and 150 new customers gives a CAC of $40, which you then compare with the gross profit a customer brings in.
Key takeaways
- CAC = sales and marketing costs in a period / new customers acquired in that period.
- Blended CAC uses all spend and all new customers; paid CAC uses ad spend and customers from ads only.
- Count new customers, not orders, or repeat buyers will make CAC look better than it is.
- CAC only means something next to margin: compare it with first-order gross profit and with lifetime gross profit.
Most store owners know their ad spend to the dollar and have only a rough idea of what a new customer costs. Customer acquisition cost, or CAC, closes that gap. It tells you what you pay to win a first-time buyer, and next to your margin, whether growth is making money or quietly burning it. This guide is educational and not financial advice.
What is customer acquisition cost?
Customer acquisition cost is the average amount you spend on sales and marketing to win one new customer.
The formula is short:
CAC = sales and marketing costs in a period / new customers acquired in that period
If you spent $6,000 on marketing in March and 150 people placed their first order, your March CAC is $40. The hard part isn't the division. It's deciding which costs go on top and making sure the bottom counts only new customers.
What costs should you include?
Include everything you spend to attract and convert new buyers: ads, agency and freelancer fees, creative, influencer payments and the marketing share of your tools.
| Cost | Paid CAC | Fully loaded CAC |
|---|---|---|
| Ad spend (Meta, Google, TikTok, etc.) | Yes | Yes |
| Influencer and affiliate payouts | Optional | Yes |
| Agency or freelancer fees | No | Yes |
| Photo, video and ad creative | No | Yes |
| Marketing software | No | Share used for acquisition |
| Your own or staff time on marketing | No | Yes, at a fair hourly value |
| Discounts on first orders | No | Yes, if they're an acquisition offer |
Use paid CAC to judge ad channels week to week. Use fully loaded CAC once a month to see the real cost of growth. Leaving out the costs that are hard to measure, especially your own time, is how stores convince themselves a channel works when it doesn't.
How do you count new customers correctly?
Count customers whose first-ever order fell in the period, not total orders or total customers.
Repeat buyers didn't cost acquisition money this month, so including them makes CAC look lower than it is. Shopify's reports can split first-time and returning customers; most other platforms have a similar report. Also leave out:
- Test orders and staff orders.
- Wholesale accounts, which usually come through a different sales process.
- Orders that were refunded in full.
What's the difference between blended and paid CAC?
Blended CAC divides all marketing spend by all new customers; paid CAC divides ad spend by the new customers your ads brought in.
Blended CAC is the honest overall number, because it includes customers who found you through search, word of mouth or social posts. Paid CAC tells you whether the ads themselves pay off. The two can tell very different stories. A store with strong word of mouth might have a $25 blended CAC and a $70 paid CAC, which means the ads are expensive even though the business looks healthy overall.
Ad platforms' own "cost per purchase" figures are different again, since they include repeat buyers and use their own attribution windows. Treat them as hints, and trust your store data for CAC.
How do you know if your CAC is too high?
Compare CAC with the gross profit from a customer's first order and with the gross profit you expect over their lifetime.
Work through one example. Average first order: $80. Gross margin after product cost, shipping and payment fees: 45%. First-order gross profit: $36. With a $40 CAC, you lose $4 on the first order and need a second purchase to profit.
That can be fine if customers reliably come back. Our guide to increasing ecommerce customer lifetime value shows how to calculate margin-based LTV. A common rule of thumb is lifetime gross profit of about three times CAC, along with a payback period of a few months, so cash doesn't run out while you wait for repeat orders.
| Situation | What it suggests |
|---|---|
| First-order profit covers CAC | Room to scale spend carefully |
| CAC recovered within 3 to 6 months | Workable if you have the cash |
| CAC recovered only after a year or more | Risky; improve margin or retention first |
| CAC never recovered | Cut or rework the channel |
How can you lower CAC?
Raise conversion and order value before you cut spend, because both lower the cost of each customer you win.
The strongest levers are usually on your own site, not in the ad account:
- Fix the product page and checkout, so more of the traffic you already pay for buys. See how to increase your conversion rate.
- Raise average order value with bundles or a sensible free shipping threshold.
- Capture emails from visitors who don't buy, and convert them later with a welcome flow.
- Cut ad sets whose paid CAC stays above first-order profit for more than a few weeks.
- Invest in channels with low marginal cost, such as search content and referrals.
What should you track each month?
Track blended CAC, paid CAC by channel, first-order gross profit and the share of revenue from returning customers.
Four numbers in a simple spreadsheet are enough. When CAC rises, you'll see whether it's ads getting pricier, conversion falling or fewer people coming back, and you can fix the right thing.
Frequently asked questions
What is a good customer acquisition cost for ecommerce?
There's no single good number, because it depends on your margin and how often customers come back. A useful test is whether first-order gross profit covers CAC, or whether repeat purchases recover it within a few months. Many stores aim for lifetime gross profit of around three times CAC.
Should CAC include salaries and software?
For a full picture, yes: include marketing staff or freelancers, agency fees, creative costs and marketing tools. Many store owners track a simpler paid CAC from ad spend alone for day-to-day decisions, and a fully loaded CAC monthly.
How is CAC different from cost per acquisition in ads?
Ad platforms report cost per purchase or cost per acquisition, which counts conversions they attribute to themselves, including repeat buyers. CAC is your own number, based on new customers in your store data and the spend you choose to include.
How often should I calculate CAC?
Monthly is enough for most stores. Weekly figures swing too much with timing, and quarterly figures hide problems for too long. Look at it by channel when you change budgets.
Sources and further reading
Platform features, prices and policies change. Check the official help pages linked above before you act on a detail that matters to your store.