Unit Economics

How to Calculate CAC for Ecommerce (With Examples)

Calculate ecommerce CAC the right way: the formula, what costs to include or exclude, paid vs blended CAC, worked examples, and how to judge your number.

Quick answer

Real CAC formulas for DTC, subscription, and marketplaces, including which costs to actually include.

Charu Khanchandani
Ecommerce Management
Published April 20, 20266 min
Quick answer

Customer acquisition cost (CAC) is your total acquisition spend divided by the number of new customers acquired in the same period. For ecommerce, acquisition spend should include ad spend, agency and freelancer fees, marketing tools, creative production and the marketing team's time. The arithmetic is easy; the accuracy depends on counting the right costs and only new customers.

What is the CAC formula?

Customer acquisition cost (CAC) is what it costs, on average, to win one new customer. The formula fits on one line:

CAC = total acquisition costs in a period / new customers acquired in that period

The hard part is not the division. It is deciding what counts as an acquisition cost, counting only genuinely new customers, and keeping the method consistent so the number means something over time. Many brands understate CAC by counting only ad spend, which hides acquisition that is actually unprofitable.

Three definitions to settle before you calculate anything:

  • →Who counts as a new customer? Usually someone placing their first order, identified by email or customer ID in your store. Guest checkouts with different emails can inflate the count, so deduplicate where you can.
  • →Which period? A calendar month is simplest. Quarterly views smooth out seasonal swings and promotions.
  • →Which costs? Decide your include and exclude list once, then keep it stable so month-to-month changes reflect performance, not accounting.

A worked example

Take a hypothetical ecommerce brand with these monthly costs:

CostMonthly amount
Paid media (Meta, Google, TikTok)$50,000
Marketing tools used for acquisition$5,000
Marketing team time spent on acquisition$10,000
Total acquisition cost$65,000
New (first-time) customers1,200
CAC$54.17

If the same brand counted only ad spend, CAC would be $41.67. That 30% gap is the difference between a business that looks comfortably profitable and one that might not be.

What costs should you include and exclude?

Include

  • →Paid media across all channels, including marketplace ads if they drive new customers.
  • →Agency, freelancer and consultant fees for acquisition work.
  • →Creative production: photography, video, UGC creators, design.
  • →Marketing tools used for acquisition, such as attribution software, landing page builders and the acquisition share of email platforms like Klaviyo.
  • →Influencer and affiliate fees and commissions on new customers.
  • →The share of marketing salaries spent on acquiring customers.

Exclude

  • →Product cost, fulfillment, shipping and packaging.
  • →Payment processing fees.
  • →Customer service and returns.
  • →One-time setup costs, such as a website rebuild, which you may prefer to track separately.

These excluded costs still matter. They belong in contribution margin, which you compare against CAC.

Judgment calls

Influencer gifting, PR, organic social production and retention-focused email can go either way. Decide once, write the rule down, and apply it every month. Consistency matters more than which side you choose.

Paid CAC vs blended CAC: which should you use?

Report both, because they answer different questions.

MetricFormulaWhat it tells you
Paid CACPaid media spend / new customers attributed to paid channelsEfficiency of your paid channels
Blended CACAll marketing costs / all new customers from every sourceTrue business-level acquisition economics
Channel CACChannel spend / new customers attributed to that channelWhere to shift budget, with attribution caveats

Watch the relationship between them. If paid CAC rises but blended CAC holds steady, paid ads may be losing credit to organic demand they helped create. If blended CAC rises while paid CAC looks fine, attribution may be double counting customers across platforms.

How to calculate CAC step by step

  1. →Pick a period. Monthly is common. Use the same period for costs and customers.
  2. →Export new customers from your store. Count first-time buyers only, from Shopify or your ecommerce platform, not from ad platform reports.
  3. →Collect costs. Pull ad spend from each platform, then add fees, tools, creative and salary share from your accounts.
  4. →Apply your inclusion rules consistently with previous months.
  5. →Divide total acquisition costs by new customers.
  6. →Calculate paid CAC separately, using paid spend and paid-attributed customers.
  7. →Record the result in a monthly sheet alongside AOV, margin and repeat rate.

If your sales cycle is longer, for example customers who first visit and buy weeks later, a rolling three-month view smooths out timing mismatches.

How do you know if your CAC is good?

CAC on its own does not tell you much. Judge it against what customers are worth:

  • →First-order contribution margin: revenue minus product cost, shipping, payment fees and discounts on the first order. If CAC is below this, you profit on the first purchase.
  • →Customer value over time: contribution margin from a customer over 6 to 12 months. A common rule of thumb is an LTV to CAC ratio of about 3:1, but treat it as a guide, not a law.
  • →Payback period: how many months until a cohort's cumulative margin covers its CAC. Shorter is better because it frees cash to reinvest.

Generic CAC benchmarks by industry vary wildly between sources and businesses. Your own margin structure is the only reliable yardstick.

Payback example (hypothetical)

CAC is $54. First-order contribution margin is $30. Customers who return spend another $25 in margin within 90 days on average across the cohort. The cohort pays back in about three months. If the cash flow can fund three months, this CAC is workable. If not, the brand needs to lower CAC or raise first-order margin.

How to calculate CAC by channel

Channel CAC tells you where to shift budget, but it depends entirely on attribution, so handle it with care. Here is a practical method:

  1. →Choose one attribution source for all channels, such as your analytics platform or a dedicated attribution tool, rather than adding up each ad platform's own claims.
  2. →Assign each new customer to one channel using that source, so customers are not counted twice.
  3. →Allocate costs per channel: media spend plus channel-specific fees and creative.
  4. →Divide each channel's cost by its attributed new customers.
  5. →Cross-check that channel customers add up to your total new customers from the store. If they add up to more, something is double counting.

Remember that some channels are under-credited by click-based attribution. Video and upper-funnel social often create demand that converts later through branded search or direct visits. Use channel CAC to compare similar channels, and use blended CAC and controlled tests to judge the overall mix.

A post-purchase survey asking "How did you first hear about us?" is a cheap and useful check. It often reveals channels, such as podcasts, creators or word of mouth, that attribution tools miss entirely.

Adjustments for subscriptions, marketplaces and wholesale

Subscription brands

Count a customer when they start their first paid subscription, not when they sign up for a free trial. Track trial-to-paid conversion separately, and consider calculating CAC per retained subscriber after the first billing cycle, because early cancellations can make CAC look lower than reality.

Marketplace sellers

On Amazon and other marketplaces, you often cannot identify every new customer, so most sellers use proxies: advertising cost of sales, total advertising cost of sales against total revenue, and new-to-brand metrics where the marketplace reports them. Treat marketplace and direct-to-consumer CAC as separate numbers, since the economics and data available differ. Our guide to Amazon product listing optimization covers the conversion side of marketplace selling.

Wholesale and retail partners

Customers bought through retailers are not your direct customers, so leave them out of direct CAC. Track trade marketing and retail promotion costs against wholesale revenue instead.

Common CAC calculation mistakes

  • →Counting only ad spend, which understates true cost.
  • →Including returning customers in the denominator, which inflates customer count.
  • →Adding up platform conversions, which often double count the same buyer.
  • →Mixing periods, such as quarterly spend with monthly customers.
  • →Changing inclusion rules month to month, which makes trends meaningless.
  • →Ignoring discounts used to win first orders, which reduce margin even if CAC looks fine.

What to do with your CAC number

Once you trust the number, use it to make decisions:

  • →Set a target CAC per channel based on contribution margin and payback.
  • →Review monthly alongside conversion rate, AOV and repeat rate.
  • →Investigate any month where CAC jumps more than your usual variation.
  • →Test the biggest levers first: creative, offer, landing page conversion and retention.
  • →Share one agreed CAC definition with your finance team, agency and in-house marketers, so everyone argues about the same number.

A simple monthly sheet with columns for total acquisition cost, new customers, blended CAC, paid CAC, AOV, first-order margin and 90-day repeat rate is enough for most brands. Patterns become obvious within a few months.

Our free marketing tools include calculators that help with CAC and LTV math. If your CAC is rising and you want help finding why, our performance ads team can audit spend, creative and tracking, and our email and retention service works on the customer value side. You can also start with a Google Ads wasted spend audit.

Frequently asked questions

How do I calculate CAC?

Add up everything you spent to acquire customers in a period, such as ad spend, agency fees, creative, tools and marketing salaries, then divide by the number of first-time customers in that same period. For example, $65,000 in acquisition costs and 1,200 new customers gives a CAC of about $54.17. Use the same period for both numbers.

What should be included in CAC?

Include paid media across all channels, agency and freelancer fees, creative production, marketing software, influencer fees used for acquisition, and the share of marketing salaries spent on acquisition. Exclude product cost, fulfillment, shipping, payment fees, customer service and returns, which belong in contribution margin. Be consistent month to month so trends stay comparable.

Why is my CAC misleadingly low?

Usually because only ad spend is counted, or because returning customers are included in the denominator. Both make CAC look healthier than it is. Other causes include ignoring agency fees and creative costs, or using platform-reported conversions that double count the same buyer across channels. Count first-time customers from your store data, not from ad platforms.

What is the difference between paid CAC and blended CAC?

Paid CAC divides paid media spend by new customers attributed to paid channels and shows channel efficiency. Blended CAC divides all marketing spend by all new customers, including organic and referral, and shows overall business economics. Report both. If paid CAC rises while blended CAC holds steady, paid ads may be getting credit for organic demand, or the reverse.

What is a good CAC for ecommerce?

A good CAC is one your customer value can support. Compare it with first-order contribution margin and customer value over 6 to 12 months. A common rule of thumb is a lifetime value to CAC ratio of about 3:1 and a payback period you can fund from cash flow. Generic industry averages are less useful than your own margins.

QUICK REFERENCE

Who is this article for?

Marketing operators, founders, and in-house teams looking for tactical guidance, not generic high-level advice. Particularly useful if you have hands-on responsibility for execution.

What's the source of these recommendations?

The GrowwithBA team, with offices in Nagpur, India and Dover, Delaware, USA, plus official documentation and pricing pages from the platforms covered.

When was this last updated?

2026. The web is full of outdated marketing advice; we update guides as platforms and best practices change.

How can I get help implementing this?

Book a free 30-minute audit with our team. We'll review your current setup and give you a prioritized action list, no sales pitch, no obligation.

More in Unit Economics

All posts
RELATED TOOLS, NICHES & SERVICES

Continue your growth toolkit.

Free audit · No sales pitch

Want us to apply this to your business?

Share your website and what you want to fix. A specialist reviews it and sends you a prioritized action list. Free, no sales pitch, 48-hour turnaround.

We reply within one business day
Starting prices in your market

From🇺🇸United States·USD

Minimums shown · Stage-adjusted pricing · no long contracts · Senior-led work

Pricing calculator