# How to Calculate Customer Acquisition Cost on Shopify

Source: https://recruitaffiliates.ai/blog/how-to-calculate-cac-shopify

# How to calculate customer acquisition cost for a Shopify brand

By the RecruitAffiliates.ai team · 9 November 2026 · 9 min read

Facts about other tools come from their own sites, with the date we checked. [Our editorial policy](https://recruitaffiliates.ai/editorial-policy) · [About us](https://recruitaffiliates.ai/about).

In short

Customer acquisition cost is what you spend to win one first-time customer: total acquisition spend divided by new customers in the same period. A worked example shows four versions side by side (blended, paid, fully loaded and affiliate), plus payback in months, with Shopify's own pages as the sources.

**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](https://www.shopify.com/blog/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.

**On this page 10 sections**

1. [What is the CAC formula?]
2. [Which costs go in the top line?]
3. [A worked example you can copy]
4. [How long until a customer pays you back?]
5. [Is my CAC good?]
6. [Where the three-way split comes from]
7. [Five mistakes that skew CAC]
8. [Where RecruitAffiliates.ai fits]
9. [Frequently asked questions]
10. [Sources]

## 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](https://help.shopify.com/en/manual/reports-and-analytics/shopify-reports/report-types/default-reports/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 line | Amount |
|---|---|
| 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.

| Version | Formula | Result |
|---|---|---|
| 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](https://www.shopify.com/blog/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.

| Version | CAC | Monthly gross profit | Payback |
|---|---|---|---|
| Blended | $50.00 | $12 | 4.2 months |
| Fully loaded paid | $85.83 | $12 | 7.2 months |
| Affiliate | $40.00 | $12 | 3.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](https://recruitaffiliates.ai/blog/what-commission-should-my-shopify-affiliate-program-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](https://recruitaffiliates.ai/blog/shopify-affiliate-marketing-money). 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](https://recruitaffiliates.ai/research/shopify-affiliate-commission-rates-2026) 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](https://www.shopify.com/blog/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](https://recruitaffiliates.ai/blog/measure-influencer-marketing-roi), and see the [Shopify affiliate benchmarks for 2026](https://recruitaffiliates.ai/blog/shopify-affiliate-benchmarks-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](https://sherocommerce.com/blogs/insights/customer-acquisition-cost-shopify), 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](https://recruitaffiliates.ai/blog/how-many-affiliates-should-a-shopify-brand-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](https://docs.recruitaffiliates.ai/credits#what-each-result-means).

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](https://recruitaffiliates.ai/for/shopify) for the steps.

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

Try it on your store

See who would promote a shop like yours.

Type your store's website. We find the bloggers, review sites and creators who already cover shops like yours, and show the page we found each one on. Keep the affiliate app you use now.
