Calculate your Cost Per Purchase.
Calculate how much advertising spend is required to generate each purchase. Compare acquisition cost with order value, product margin and revenue to understand whether your Shopify campaigns are creating profitable sales.
Your campaign numbers
Cost Per Purchase
A low cost per purchase does not always mean high profit.
MarginLab connects acquisition costs with product margins, discounts, refunds and real Shopify profit so you can scale purchases without sacrificing profitability.
How to use this cost per purchase calculator
Enter your advertising spend and the number of purchases generated during the same reporting period. The calculator instantly shows your Cost Per Purchase (CPP), helping you understand how much you spend to acquire each order and whether your marketing campaigns are financially sustainable.
Add the total amount spent on advertising across Google Ads, Meta Ads, TikTok Ads or any other marketing channel.
Input the number of purchases generated by those campaigns during the same period to calculate your acquisition cost per order.
Compare your Cost Per Purchase with your gross profit per order to determine whether your campaigns generate profitable customers.
Cost per purchase formula
Cost Per Purchase (CPP) measures the average advertising cost required to generate one purchase. It is one of the most important ecommerce marketing metrics because it shows whether customer acquisition costs are sustainable compared with your product margins.
Cost per purchase equation
A lower Cost Per Purchase means your marketing campaigns acquire customers more efficiently, leaving more profit from every order.
Compare CPP with gross profit
If your acquisition cost exceeds the gross profit generated by each order, your campaigns may become unprofitable before operating expenses are considered.
Cost per purchase example
What is a good cost per purchase?
A good Cost Per Purchase (CPP) depends on your product margins, average order value and business model. The key objective is to keep your acquisition cost well below the gross profit generated by each purchase so your campaigns remain profitable.
Critical
Your acquisition cost consumes nearly all of your gross profit, leaving little or no room for business expenses.
Average
Campaigns may still be profitable, but there is limited margin available after advertising costs.
Healthy
Your marketing spend leaves enough gross profit to cover operating expenses and generate sustainable growth.
Excellent
Your customer acquisition cost is highly efficient, maximizing the profit retained from every purchase.
- Always compare Cost Per Purchase with gross profit—not just revenue.
- A lower CPP increases the profitability of every new customer acquired.
- Higher average order value can support a higher acquisition cost.
- MarginLab combines acquisition costs with product margins and real Shopify profit to measure true campaign performance.
Common cost per purchase mistakes
Cost Per Purchase is one of the most important acquisition metrics, but it is often interpreted incorrectly. Avoid these common mistakes when evaluating your marketing performance.
Looking only at acquisition cost
A low Cost Per Purchase is not automatically good. It should always be compared with your gross profit per order and overall business profitability.
Comparing different time periods
Advertising spend and purchases must refer to the same reporting period. Mixing weekly ad spend with monthly purchases produces misleading results.
Ignoring customer quality
Not every purchase has the same value. Customers with higher lifetime value can justify a higher Cost Per Purchase than one-time buyers.
Ignoring business costs
Advertising is only one expense. Shipping, discounts, refunds and operating costs also affect whether your campaigns generate real profit.
Why cost per purchase matters in ecommerce
Cost Per Purchase helps Shopify merchants understand how much advertising investment is required to generate each order. Monitoring this metric is essential because acquisition costs directly affect how much profit remains after every sale.
What affects cost per purchase?
- Advertising costs across different platforms.
- Landing page and product page conversion rates.
- Audience targeting and traffic quality.
- Campaign creative and offer performance.
- Checkout friction and abandoned purchases.
Efficient purchases must still be profitable
A lower Cost Per Purchase is usually positive, but it should never be analyzed alone. Product costs, discounts, payment fees, shipping, refunds and operating expenses determine how much profit actually remains from every acquired purchase.
MarginLab combines customer acquisition costs with product margins, discounts, refunds and store profitability, helping Shopify merchants identify which sales generate real profit and which campaigns quietly reduce margins.
Related free calculators
Explore more free Shopify and ecommerce calculators to optimize advertising costs, customer acquisition and store profitability.
Customer Acquisition Cost Calculator
Calculate how much it costs to acquire each new customer across all of your marketing channels.ROAS Calculator
Measure how much revenue your advertising campaigns generate for every dollar spent.Break-even ROAS Calculator
Calculate the minimum advertising return needed to cover your product costs and remain profitable.MER Calculator
Evaluate the overall efficiency of your marketing investment across your entire Shopify store.Revenue Per Visitor Calculator
Understand how much revenue each website visitor generates and improve traffic quality.Shopify Profit Calculator
Measure your real Shopify profit after advertising, product costs, refunds, shipping and operating expenses.Frequently asked questions
These are some of the most common questions about Cost Per Purchase, advertising efficiency and ecommerce profitability.
What is Cost Per Purchase?
Cost Per Purchase is the average amount of advertising spend required to generate one purchase. It helps ecommerce businesses understand how efficiently paid campaigns convert marketing investment into orders.
How do you calculate Cost Per Purchase?
Cost Per Purchase is calculated by dividing total advertising spend by the number of purchases generated during the same reporting period. For example, $10,000 in ad spend divided by 250 purchases equals a Cost Per Purchase of $40.
What is a good Cost Per Purchase?
A good Cost Per Purchase depends on your gross profit per order, product margins and customer lifetime value. Your CPP should remain below the profit available before advertising costs.
What is the difference between Cost Per Purchase and CAC?
Cost Per Purchase measures the advertising cost required to generate an order, while Customer Acquisition Cost measures the total sales and marketing cost required to acquire a new customer. Repeat customers can generate purchases without being newly acquired customers.
Can a low Cost Per Purchase still be unprofitable?
Yes. A low CPP can still produce unprofitable sales if product costs, shipping, discounts, payment fees, refunds or operating expenses consume the remaining revenue.
How can I reduce Cost Per Purchase?
You can reduce CPP by improving audience targeting, advertising creative, landing pages, product offers, conversion rate and checkout performance. Increasing campaign efficiency should not come at the expense of customer quality or profit.
Does MarginLab track purchase profitability automatically?
MarginLab helps Shopify merchants connect acquisition costs with product margins, discounts, refunds and real store profit, making it easier to identify which purchases and products generate sustainable profit.
Lower acquisition costs matter.
Profitable purchases matter more.
Cost Per Purchase shows how much you spend to generate each order, but it does not reveal how much profit remains afterward. MarginLab connects acquisition costs with product margins, discounts, refunds, shipping and operating expenses, helping Shopify merchants scale campaigns based on real profitability—not purchases alone.
Purchase Cost Tracking
Understand how much every acquired purchase costs and compare campaign efficiency across your marketing channels.
Profit After Acquisition
See how product costs, payment fees, shipping, discounts and refunds affect the profit retained from every order.
AI Profit Insights
Receive intelligent recommendations to reduce acquisition costs, protect product margins and scale campaigns more profitably.
✓ No credit card required
✓ Built exclusively for Shopify merchants