Most pages that rank for the formula of CTR, CPM, and CPC hand you three one-line equations and a calculator, then stop. That is the easy 20%. This guide gives you the exact formulas with units, shows how they chain together, and — the part every calculator skips — walks the math all the way to per-order profit so you can tell a "cheap" click from a profitable one.
The three formulas
Each metric measures a different slice of the same ad: how many people saw it, how many clicked, and what each of those cost you. Keep the denominators straight and the rest follows.
CTR (click-through rate)
CTR is the share of impressions that turned into a click.
CTR = Clicks ÷ Impressions × 100
The unit is a percent. Say your ad served 1,000,000 impressions and earned 20,000 link clicks: 20,000 ÷ 1,000,000 × 100 = 2.0% CTR. Use link clicks, not the platform's "clicks (all)" figure, which also counts likes and profile taps and will flatter your CTR.
CPM (cost per mille)
CPM is what a platform charges to show your ad one thousand times ("mille" is Latin for thousand).
CPM = (Ad spend ÷ Impressions) × 1,000
The unit is dollars per 1,000 impressions. Spend $10,000 across those 1,000,000 impressions and you get ($10,000 ÷ 1,000,000) × 1,000 = $10.00 CPM. CPM is a buying-cost metric — it tells you the price of attention, not whether the attention converted. Our companion piece on how CPM works in advertising digs into why CPM rises and falls.
CPC (cost per click)
CPC is the average cost of one click.
CPC = Ad spend ÷ Clicks
The unit is dollars per click. That same $10,000 over 20,000 clicks is $10,000 ÷ 20,000 = $0.50 CPC. Unlike CPM, CPC only charges you when someone acts — but a low CPC on clicks that never buy is still wasted money.
How CTR, CPM, and CPC connect
The three are not independent. Because CPM prices impressions and CTR converts impressions into clicks, you can derive CPC from the other two:
CPC = (CPM ÷ 1,000) ÷ (CTR ÷ 100)
Check it with the numbers above: ($10.00 ÷ 1,000) ÷ (0.02) = $0.01 ÷ 0.02 = $0.50. Same $0.50 CPC. This identity is the whole reason media buyers obsess over creative: at a fixed CPM, doubling CTR halves your CPC. You are not paying for clicks directly — you are paying for impressions and hoping the creative earns clicks cheaply.
That relationship is the ceiling of what the calculators teach. The floor — whether any of it is profitable — needs two more steps.
A worked example, end to end
Say you run a print-on-demand apparel store. Here is one month, from impressions all the way to the click cost, using consistent numbers so the arithmetic ties out.
| Metric | Inputs | Result |
|---|---|---|
| Impressions | 1,000,000 | — |
| CTR | 20,000 clicks ÷ 1,000,000 | 2.0% |
| CPM | $10,000 ÷ 1,000,000 × 1,000 | $10.00 |
| CPC | $10,000 ÷ 20,000 | $0.50 |
So far, so calculator. Now push further. Of those 20,000 clicks, say 800 became orders. That is a click-to-order conversion rate of 800 ÷ 20,000 = 4%, and it converts CPC into cost per order:
Cost per order = CPC ÷ Conversion rate = $0.50 ÷ 0.04 = $12.50
That $12.50 is the same as your cost per acquisition when one order equals one conversion — the metric our CPA calculator walkthrough breaks down in full. It is also the first number in this whole chain that touches profit.
From CPC to profit — the part the calculators skip
A $0.50 CPC feels cheap. Whether it is cheap depends entirely on what an order earns you. Here is the per-order economics for the same example store.
| Line | Amount |
|---|---|
| Revenue (average order value) | $40.00 |
| − Product cost (blank + print) | −$16.00 |
| − Shipping | −$5.00 |
| − Payment processing (4%) | −$1.60 |
| − Pick / pack | −$1.40 |
| = Contribution margin before ads | $16.00 |
| − Cost per order (from above) | −$12.50 |
| = Profit per order | $3.50 |
Every order clears $16.00 before ads and $3.50 after. Now the CPC question has a real answer: your break-even cost per order is $16.00, so a $12.50 acquisition cost leaves $3.50 of margin per sale. If a fatigued audience pushed CPM up and CTR down, CPC could climb from $0.50 to $0.64, cost per order to $16.00, and profit to exactly zero — same "successful" campaign, no money made.
This is why CTR, CPM, and CPC are leading indicators, not the scoreboard. They tell you how efficiently you are buying attention; only margin tells you whether the attention was worth buying. The ecommerce metrics guide maps how all of these metrics fit together, and if your margin is too thin to absorb a normal CPC, the fix is upstream — see how to improve gross profit.
One more layer worth knowing: this per-order profit only holds for a single purchase. If buyers come back, the true payoff is their customer lifetime value, which can justify a higher CPC than a one-order view ever would.
What counts as a "good" CTR, CPM, or CPC
There is no universal "good" number — it varies by platform, industry, and objective — but published benchmarks give you a sanity check. Treat these as reference points for your own math, not targets to chase.
For Meta, WordStream's 2025 analysis puts the median CTR for traffic campaigns at 1.71% with a $0.70 CPC, while lead-generation campaigns run a 2.59% CTR at a $1.92 CPC (WordStream Facebook Ads benchmarks). On Google, WordStream reports an average search CPC of $1.31 and cross-industry search CTRs roughly in the 3.5% to 6% range (WordStream Google Ads benchmarks).
A benchmark only matters if the click converts, though. With online shopping cart abandonment averaging 70.22% across 50 documented studies (Baymard Institute), a great CTR can still bleed profit downstream — which loops you right back to the cost-per-order math above.
Common mistakes when calculating CTR, CPM, and CPC
Mixing "clicks (all)" with link clicks. Meta's "clicks (all)" includes non-site actions. Divide spend by that and your CPC looks lower than it truly is; compute CTR off it and it looks higher.
Using two different denominators for conversion rate. Ad platforms measure conversion per click; your own analytics measures it per session. Never divide a platform's conversion count by your session count — you are blending two different universes.
Stopping at CPC. A cheap click is not a cheap customer. Always carry the math to cost per order and then to margin, or you will scale a campaign that loses money on every sale.
Ignoring returns and fees. Day-one revenue overstates profit. Net out refunds, shipping, and payment processing before you call a CPC "profitable."
Meet Victor, who does this math on live data
Running these formulas by hand once is easy; keeping them accurate across every order, every day, is not. PodVector connects your Shopify, Meta Ads, Google Ads, Printify, and Printful accounts and computes your true per-order profit — the full chain from CPM down to profit per order, on your real numbers rather than a spreadsheet estimate.
Victor is an AI operator, not a dashboard. He reads your ad data and proposes moves; the changes he executes are on the Shopify side, always with your approval, and he does not touch your ad account. Start free with PodVector and see what each click is actually costing you.
FAQs
What is the formula for CTR, CPM, and CPC?
CTR = clicks ÷ impressions × 100 (a percent), CPM = ad spend ÷ impressions × 1,000 (dollars per thousand impressions), and CPC = ad spend ÷ clicks (dollars per click). They share inputs, so they move together — the same spend and impressions that set your CPM, combined with your CTR, determine your CPC.
How do you calculate CPC from CPM and CTR?
Use CPC = (CPM ÷ 1,000) ÷ (CTR ÷ 100). For example, a $10 CPM at a 2% CTR gives ($10 ÷ 1,000) ÷ 0.02 = $0.50 CPC. This shows why improving creative (higher CTR) lowers your cost per click even when the platform's CPM stays flat.
Is a low CPC always good?
No. A low CPC only helps if those clicks convert into orders at a cost your margin can absorb. A $0.50 CPC that produces a $12.50 cost per order is great on a $16 contribution margin and terrible on a $10 one — the click cost is meaningless without the profit math behind it.
What's the difference between CPC and CPM?
CPM charges you per thousand impressions whether or not anyone clicks, so it prices raw attention. CPC charges you only when someone clicks, so it prices engagement. Platforms often run on a CPM auction internally and report an effective CPC on top, which is why the two are linked through CTR.
How do CTR, CPM, and CPC affect profit?
They set your cost to acquire a click, which becomes your cost per order once you divide by conversion rate. Profit per order is your contribution margin minus that cost per order — so cheaper clicks or a higher conversion rate both raise profit, while a rising CPM with a falling CTR can quietly push a winning campaign to break even.