
How is Cost Per Sale Calculated? Complete Formula & Examples
Learn how to calculate Cost Per Sale (CPS) with our comprehensive guide. Discover the formula, real-world examples, and optimization strategies for affiliate ma...
Cost per sale (CPS) is a performance marketing metric that measures how much advertising spend it takes to generate one completed sale.
Cost per sale (CPS) is a performance marketing metric that measures how much advertising spend it takes to generate one completed sale. Whether you are an affiliate program manager, an advertiser running paid campaigns, or a publisher earning commissions, understanding CPS tells you exactly how efficiently your marketing dollars turn into revenue. Unlike models that pay for clicks or impressions, CPS ties cost directly to a confirmed purchase — tying payment to a sale rather than a click or impression. Validation, returns and attribution still create risk.
CPS stands for cost per sale.
In practice, CPS is used two ways:
For example, if an advertiser runs a Facebook campaign spending $2,000 and tracks 80 sales directly attributed to those ads, the CPS is $25. The advertiser spent $25 to acquire each paying customer. If the average profit margin per sale is $40, the campaign is profitable before other costs.
The formula to calculate CPS is straightforward:
CPS = Total campaign spend ÷ Total number of sales generated
Imagine an ecommerce brand runs a Google Ads campaign with the following numbers:
Plugging those into the formula: $5,000 ÷ 200 = $25 CPS.
Marketers often use a cost per sale calculator to model scenarios before launching campaigns. You enter two numbers — projected ad spend and estimated sales — and the calculator returns the expected CPS instantly. This is useful for budget forecasting and comparing channels. For instance, if a TikTok campaign is projected to cost $3,000 with an estimated 120 sales, the forecast CPS of $25 can be compared against an Instagram campaign forecast at $18 CPS before any budget is committed.
There is no universal “good” CPS because it depends entirely on your margin structure and average order value.
CPS matters because it is one of the few marketing metrics tied directly to revenue. Here is why affiliate program managers, advertisers, and publishers each pay close attention to it:
| Stakeholder | Why CPS matters |
|---|---|
| Advertisers | CPS shows whether a campaign is profitable. If CPS exceeds the margin per sale, the campaign loses money. Advertisers compare CPS across channels to allocate budget toward the most efficient ones. |
| Affiliate program managers | CPS-based commissions align incentives. Affiliates are paid only when a sale occurs, which reduces fraud risk and keeps marketing costs tied to real revenue generation. |
| Publishers & affiliates | Publisher earnings depend on the offer, commission rate, conversion quality and approved sales. |
Measuring CPS also reveals problems early. A sudden spike in CPS might mean ad fatigue, rising competition in the auction, or a landing page that stopped converting. Tracking CPS week over week lets teams catch these issues before they burn through the budget.
Every CPS is a CPA, but not every CPA is a CPS. The distinction matters when choosing a pricing model and evaluating campaign performance.
| Model | Definition | Payment trigger | Risk to advertiser |
|---|---|---|---|
| CPA (cost per action) | Advertiser pays for any defined action | Sign-up, form submit, app install, free trial, or purchase | Depends on the qualifying action |
| CPS (cost per sale) | Advertiser pays only for a completed purchase | Confirmed sale transaction | Payment is tied to a sale; refunds and attribution still matter |
| CPL (cost per lead) | Advertiser pays per lead captured | Email sign-up, demo request, contact form | Payment precedes a sale; lead quality matters |
| CPC (cost per click) | Advertiser pays per click | Clicks on an ad | Payment is for traffic, whether or not it converts |
In ecommerce and affiliate marketing, CPS is the strictest subtype of CPA. When someone says “CPA campaign” in a retail context, they often mean CPS in practice — but the distinction is critical when contracts and payouts are involved. A publisher paid on a CPA basis for “sign-ups” faces a different incentive structure than one paid on CPS for completed purchases.
Several variables affect CPS, and understanding them helps advertisers and program managers diagnose why costs shift:
The fastest path to a lower CPS is converting more of the traffic you already pay for.
Exclude audiences that have already purchased recently, add negative keywords in search campaigns, and use first-party data to build lookalike audiences rather than relying on platform defaults.
Not all inventory produces the same CPS. Run split tests across formats, measure CPS per format, and reallocate spend accordingly. Kill placements that deliver CPS above your margin threshold.
If your affiliate program operates on CPS and your per-sale cost is squeezing margins, consider tiered commission structures. For example, pay 10% on the first 50 sales a publisher drives and 15% thereafter — this rewards high performers while protecting margins on baseline volume.
Email marketing, SEO and referrals can reduce reliance on paid media, but content, staff, software and commissions still have costs. Include the relevant costs when comparing channels. While they require upfront investment, growing these channels reduces dependence on paid advertising and lowers blended CPS over time.
CPS is the dominant pricing model in several specific contexts:
CPS is rare in brand-awareness campaigns, where the goal is reach and recall rather than immediate transactions. Long sales cycles require an agreed attribution window and a way to reconcile completed purchases. A B2B program can use CPS, but immediate daily sales may be a poor measure of a campaign that influences a longer pipeline.
Discover how Cost Per Sale can maximize your affiliate marketing profits while minimizing risks. Start leveraging CPS today!

Learn how to calculate Cost Per Sale (CPS) with our comprehensive guide. Discover the formula, real-world examples, and optimization strategies for affiliate ma...

Learn the differences between CPL (Cost Per Lead) and CPS (Cost Per Sale) affiliate marketing models. Discover which model works best for your business and how ...

What is CPS, how do you use it in Post Affiliate Pro and how does it benefit your business, all this can be found in this article.
Cookie Consent
We use cookies to enhance your browsing experience and analyze our traffic. See our privacy policy.