RecruitAffiliates.ai, home Start free

How to calculate customer acquisition cost for a Shopify brand

Customer acquisition cost (CAC) is what you spend to win one first-time customer. The formula is total acquisition spend divided by the number of new customers in the same period.

Shopify's guide gives a plain example. $500 of marketing spend that wins 10 first-time buyers is a CAC of $50 (Shopify, customer acquisition cost, 29 July 2024, checked 9 November 2026). Two rules matter most. Count only first-time buyers. And put every acquisition cost in the top line, not just ad spend.

What is the CAC formula?

Use the same date range for both numbers.

CAC = total acquisition spend ÷ new customers

A new customer is someone who placed their first order with your store. Shopify's customer reports define it that way. A returning customer already has at least one earlier order (Shopify Help Center, customers reports, checked 9 November 2026).

Pull the count from the "New vs returning customers" report. It shows first-time and returning customers for the period you pick. A returning buyer who clicked an ad is not an acquisition, so leave them out.

Which costs go in the top line?

Shopify's guide lists these costs as part of acquisition spend:

  • Advertising fees, such as pay-per-click, social ads and traditional media
  • Marketing software and tools, such as email and analytics
  • Marketing staff pay, including freelance and contract work
  • Content creation, such as blog posts and videos
  • Discounts and offers used to win new customers
  • Sales costs that support marketing

For a brand that uses creators and affiliates, add these lines of our own. Add commissions paid on first orders. Add the cost of gifted product, meaning what the item and its shipping cost you, not the retail price. Add the monthly fee for your affiliate tool and any recruitment tool too. The example below leaves those fees out to keep the maths short, which flatters the affiliate line a little. Shopify's list doesn't name these. A brand that runs affiliates has to count them anyway.

Shopify's customer reports count people, not ad spend. Take Meta and Google costs from your ad accounts and add them yourself.

A worked example you can copy

This is a made-up store for one month. Swap in your own numbers. The sources for the formulas are listed at the end of the post.

Cost lineAmount
Meta and Google ads$8,000
Agency retainer$1,500
Creative production$800
Affiliate commissions on first orders$900
Gifted product (cost to you)$300
Total acquisition spend$11,500

Shopify shows 230 first-time buyers for the month. Of those, 120 came from a paid ad click and 30 from an affiliate or creator link. The other 80 came from search, email or direct visits. The 120, 30 and 80 add up to 230.

VersionFormulaResult
Blended CAC$11,500 ÷ 230 first-time buyers$50.00
Paid CAC$8,000 ads ÷ 120 paid new customers$66.67
Fully loaded paid CAC($8,000 + $1,500 + $800) ÷ 120$85.83
Affiliate CAC($900 + $300) ÷ 30 affiliate new customers$40.00

Blended CAC spreads all spend over all new customers. It reads lower than either paid version because it includes customers you did not pay for that month. Paid CAC judges the ad account alone. Fully loaded paid CAC adds the agency and creative costs that sit behind the ads. Affiliate CAC is our label for the cost of the creator and affiliate channel by itself.

The blended, paid and fully loaded versions follow a split used in a Shopify agency's guide (see "Where the three-way split comes from" below). The affiliate line is our own addition.

How do you split the 230? Shopify's customer reports count people, not channels. Use the source on each first order: UTM tags on ad links, discount codes, and your affiliate tool's own count of sales. One buyer can be claimed by an ad and an affiliate link. Give each buyer to one channel only, or the split will add up to more than 230.

Look at the gap. Blended says $50. The paid ads, with their agency costs, say $85.83. If you only read the blended number, a weak ad account can hide behind free customers.

How long until a customer pays you back?

CAC alone doesn't say if the number is good. Payback does. Shopify's formula divides CAC by average monthly gross profit per customer. The answer is in months (Shopify, CAC payback period, published 1 August 2026, checked 9 November 2026).

Gross profit is revenue minus the cost of goods sold and other direct costs. Shopify's example: a $100 product that costs $40 to make, pack and ship leaves $60 of gross profit. Use gross profit and not revenue. Revenue makes payback look shorter than it is.

To keep the maths short, we use one figure for every channel. Say each new customer brings $12 of gross profit a month. That figure is made up too.

VersionCACMonthly gross profitPayback
Blended$50.00$124.2 months
Fully loaded paid$85.83$127.2 months
Affiliate$40.00$123.3 months

Here the affiliate channel pays back first, but only because its CAC is lowest. Channels differ in repeat rate, so use each channel's own gross profit when you have it. Your own split will differ.

One catch. If you pay commission on repeat orders too, the affiliate cost keeps growing. Count those later payments against that customer's gross profit. Our guide to what commission a Shopify program should pay covers rates and what a repeat-order rule costs. For what an affiliate program costs besides commission, see Shopify affiliate marketing: how the money flows. We read 168 Shopify affiliate programs on 23 October 2026. Of those, 137 named a base rate, the lowest rate a program promises. The middle rate was 10%, so on a made-up $60 first order, a typical commission is about $6 of the cost (see the research page for what that reading can and can't tell you).

Is my CAC good?

Compare it with what a customer is worth. Shopify's lifetime value guide uses this formula: average order value × purchase frequency × average customer lifespan. It names a 3:1 ratio of lifetime value to CAC as the benchmark. It adds that your target depends on your margins and costs (Shopify, customer lifetime value, page dated 8 October 2026, checked 9 November 2026).

Shopify's CAC guide gives a wider range of 3:1 to 5:1. Above it, you may be underinvesting in growth. Below it, raise lifetime value or cut CAC (Shopify, customer acquisition cost, as above). The two pages differ, so treat 3:1 as a floor and test from there.

That lifetime value figure is revenue-based in Shopify's formula. If you can, run the same ratio on gross profit. It is stricter and closer to cash.

This post leaves out market averages. For a creator-side view, read our guide to measuring creator ROI, and see the Shopify affiliate benchmarks for 2026 for program figures.

Where the three-way split comes from

The blended, paid and fully loaded split is a common way to cut CAC, and one Shopify agency's guide sets it out. Its example used $42,000 of Meta and Google spend, a $5,000 retainer, $3,000 of creative and $2,000 of affiliate payouts. It reports 1,000 first-time buyers, 640 of them from a paid click. That gives $52.00 blended, $65.63 paid and $78.13 fully loaded (Shero Commerce, 11 September 2026, checked 9 November 2026).

Shero Commerce is an agency, so read the guide as a seller's view. Its fully loaded total of $50,000 looks like it leaves out the $2,000 of affiliate payouts. The guide otherwise lists them as a cost that is always in. We use the idea, not its figures.

Five mistakes that skew CAC

  1. Counting returning customers. Use first-time buyers only.
  2. Mixing date ranges. A spend month and a customer month must match. If your ads take weeks to convert, use a longer window.
  3. Leaving out the hidden costs. Agency fees, creative, gifted product and commissions all belong in the top line.
  4. Reading only blended CAC. Free customers pull the average down. Report blended and paid side by side.
  5. Trusting each ad platform's count. Two platforms can claim the same buyer. Use Shopify's new-customer count as the base.

Where RecruitAffiliates.ai fits

Affiliates only help your CAC if you have some. RecruitAffiliates.ai finds the people already covering shops like yours and sends the first email. Our guide to how many affiliates a Shopify brand should recruit helps set the target.

You enter your website. It finds websites, blogs, review sites, newsletters, podcasts, YouTube channels, and Instagram and TikTok creators. Each one comes with the page that shows it, so you can judge the fit. It looks for each person's email and checks what it finds, so you get a verified email.

AI drafts a personal first email. You approve it, and it sends from your own inbox. It doesn't pay anyone or track sales. You still need an affiliate tool, an app that tracks sales and works out what you owe. See the Shopify page for the steps.

Launch is $79 a month for one brand, with a 7-day free trial and no card.

Frequently asked questions

How do you calculate customer acquisition cost?

Divide total acquisition spend by the number of new customers in the same period. Shopify's example: $500 of spend and 10 first-time buyers is a CAC of $50.

What is the difference between blended and paid CAC?

Blended CAC divides all spend by all new customers, including those who came from search, email or direct visits. Paid CAC divides paid media spend by new customers who came from a paid click. Blended usually reads lower.

Do affiliate commissions count in CAC?

Yes. Commissions paid on first orders are a cost of winning that customer. Add the cost of any gifted product too. Both are real acquisition spend for a brand that uses affiliates, though Shopify's list leaves them out.

How do I get the new customer count in Shopify?

Use the "New vs returning customers" report. It counts first-time customers, meaning people placing their first order with your store, for the dates you choose.

What is a good CAC to LTV ratio?

Shopify's lifetime value guide names 3:1 as the benchmark. Its CAC guide gives 3:1 to 5:1 as a target range. Your margins decide where you should land.

How is CAC payback worked out?

Divide CAC by the average monthly gross profit per customer. A $100 CAC and $25 of monthly gross profit means four months, which is Shopify's own example in its payback guide.

Sources

Keep reading

Build your affiliate army.

Start free and see who's out there today.