Guide LTV:CAC
How to calculate customer acquisition cost (CAC) for an online store
Lilou & Ben6 min read
Most CAC guides are written for software sales teams, with salaries and commissions in the formula. A store often wins most of its customers through ads, search and social, and many of its orders come from people who have bought before. So we count CAC a little differently on the ecommerce accounts we work on, and this guide shows how.
What is the customer acquisition cost (CAC) formula?
CAC = what you spent to win new customers ÷ new customers won, over the same period.
- What you spent. Ad spend on every channel, plus what it costs to run those ads: agency or freelancer fees, creative and content, influencer and affiliate payments, and the wages of anyone on your own team who works on winning customers. Choose your list once and keep it the same each month, so one month can be compared with the next.
- New customers. People who placed their first order in that period. Returning customers stay out of the count, because the spend was there to find people who hadn’t bought yet. Because we count every first-time customer in Shopify, whichever channel they came from, this is a blended CAC.
Two versions are worth knowing. Paid CAC uses ad spend on its own and is quick to check each week. Fully loaded CAC adds everything else in that list, and it’s the one to use when you decide what you can afford to pay for a customer. Our LTV:CAC work uses the fully loaded number.
How do you calculate CAC for your store?
To calculate CAC, divide what you spent winning customers by the new customers you won in the same period. Here’s a made-up store’s March. It spent $9,000 on ads and $3,000 on agency fees and creative. It took 500 orders from 500 customers, and 300 of them were ordering for the first time.
| Spend counted | Customers counted | CAC |
|---|---|---|
| Ads only, $9,000 | 300 first‑time | $30 |
| Ads and fees, $12,000 | 300 first‑time | $40 |
| Ads and fees, $12,000 | All 500 | $24 |
Which of those three rows is closest to the number your dashboard shows? The last row gives the lowest figure, and it’s the one that misleads. Two hundred of those customers had already bought, so dividing by them spreads the spend over people the ads didn’t need to find. It’s like a pub counting its regulars as new faces because the band was playing. The middle row is what each new customer cost this store in March.
How do you find your CAC numbers in Shopify?
You need a count of new customers and your spend for the month:
- New customers. Shopify’s reports can split customers into first-time and returning, and the report names vary by plan. For an exact count, export your orders, use the email column to tell customers apart, mark each customer’s first order, and count the first orders that fall in the month.
- Spend. Each ad platform’s spend for the month, plus the invoices for fees, creative and influencers in the same month.
Take the customer count from Shopify. Meta and Google each count conversions their own way, and both can claim the same customer, so adding their numbers together counts some people twice. Two kids both claiming they did the dishes doesn’t mean the dishes got done twice. Meta also stopped returning its 7-day and 28-day view windows in its reporting API from January 2026, so a Meta figure from before then may not match one from after, which is one more reason to count customers in Shopify.
Which month should you count for CAC?
Count a rolling three months next to each single month. Someone might see an ad in March and place their first order in April, so a single month can jump around. The rolling figure is the last three months of spend divided by the last three months of new customers, and it smooths out launches, slow weeks and the odd big sale.
A sale period such as Black Friday is worth reading on its own. Spend and new customers both rise, and the customers it wins can reorder at a different rate from the rest of the year.
What is a good customer acquisition cost?
A good CAC is one your customers pay back, and the figure alone can’t tell you that. Forty dollars can pay back quickly for a customer who reorders a $70 product every month, and take a long time for one who buys a $50 product once.
So we judge CAC against the profit a customer brings in. Our customer lifetime value calculator works out the most you can pay from your margin and repeat orders, and our LTV:CAC ratio guide shows how to read the two together. How soon that profit comes back is the CAC payback period.
How do you bring CAC down?
CAC falls when the same spend wins more first orders. Better ads, offers and landing pages do that from the ad side. Email and SMS work on the visits you’ve already paid for, because many visitors leave without buying, and winning them back with another ad means paying for them twice:
- A sign-up form that captures visitors who aren’t ready to buy yet
- A welcome series that turns new subscribers into first‑time buyers
- Abandoned cart and checkout reminders for shoppers who got close
- Mail that reaches the inbox, covered in why Klaviyo emails land in Promotions or spam
Our food and beverage case study shows email and automation carrying a product launch for one brand.
We’ve worked with 60+ businesses. If you’d like to count your CAC with us, bring a month of ad spend and an orders export, rough is fine, and we’ll work it out the same way with you and look at where email and SMS could win more first orders. Book an LTV:CAC Gameplan.
What mistakes make CAC look lower than it is?
Four mistakes make CAC look lower than it is:
- Dividing by every customer. Returning customers bring the number down without telling you anything about what it costs to win a new one.
- Adding up the platforms’ conversions. Meta and Google can both claim the same order, so the total counts some customers twice.
- Leaving out fees, creative and wages. If the agency fee, the content budget or your team’s time is missing, CAC looks cheaper than what each customer costs you.
- Reading a single week. A launch or a sale can swing it a long way, and judging CAC on Black Friday week is like weighing yourself on Boxing Day. Read the month, with a rolling three months beside it.