Calculate Ecommerce CAC
For ecommerce CAC, add marketing, agency and other new-customer acquisition costs; divide by unique first-time paying customers in the same cohort. Do not count repeat purchases as new customers.
Calculate ecommerce CAC for new customers using marketing, agency and other acquisition costs. Includes a formula, full-cost example and Shopify guidance.
For ecommerce CAC, add marketing, agency and other new-customer acquisition costs; divide by unique first-time paying customers in the same cohort. Do not count repeat purchases as new customers.
Customer acquisition cost for ecommerce measures the average fully loaded cost of bringing in one new paying customer. The calculator adds the three acquisition expense fields, then divides by the number of first-time buyers attributed to that acquisition period. It is useful for Shopify stores, direct-to-consumer brands, and online retailers that can distinguish new from returning shoppers.
Example: $19,000 in new-customer marketing, $5,000 in agency and personnel costs, and $2,000 in other acquisition expenses total $26,000. If that investment acquired 400 unique new customers, ecommerce CAC is $65 per new customer. The result is not your advertising-only CPA, order acquisition cost, ROAS, or store profit.
A $65 CAC cannot be called high or low without comparing first-order contribution, expected repeat-purchase contribution, acquisition channel, margin and time to recover spend. For methodology and cost examples, see the Ecommerce CAC guide.
Formula: Ecommerce CAC = (New-customer marketing + acquisition personnel/agency + other eligible acquisition costs) ÷ new paying customers. Use one coherent currency, customer cohort and acquisition window; document attribution lag if campaigns generate purchases after the spend period.
Include eligible paid media, new-customer-focused creative or agency work and acquisition tools where the cost can reasonably be allocated. If agency or employee time serves both acquisition and retention, include only the documented new-customer portion. Do not automatically treat all sales revenue, fulfillment, retention email costs or returning-customer orders as acquisition inputs.
Shopify reports can help distinguish first-time from returning buyers, but the number of new buyers and your chosen cost attribution must use matching definitions. This calculator does not connect to Shopify or automatically import ads or customer data. Enter reconciled figures yourself. For decisions about profitability, compare CAC alongside Ecommerce Profit Margin and Ecommerce Customer Lifetime Value.
Start by separating inefficient campaigns, improving landing-page relevance and measuring conversion quality - not simply excluding real costs from the numerator. A lower reported CAC obtained by dropping agency costs or adding repeat buyers to the denominator is not a genuine improvement. Evaluate the first-order margin and retention outcomes when experimenting with discounts, referrals or new channels.
Read the matching guide for assumptions, worked examples, interpretation and common mistakes.
Disclaimer: This calculator provides planning estimates, not accounting, tax, financial, investment or legal advice. Actual results depend on your pricing, reporting definitions, costs and business conditions.