How are CPM, CPC and cost per purchase calculated?
Each metric is one division on the numbers for the same period and the same ads. Use the spend, impressions, clicks and purchases for one date range, not a mix of ranges.
- CPM
- ad spend ÷ impressions × 1,000
- CTR
- clicks ÷ impressions × 100
- CPC
- ad spend ÷ clicks
- Cost per purchase
- ad spend ÷ purchases
- Cost of a target reach
- target impressions ÷ 1,000 × CPM
Blank is not zero. If you leave clicks or purchases blank the calculator says “Not entered” instead of inventing a cost; enter 0 and it says there were none. A cost with no clicks or no purchases has no ratio, so none is shown.
What does the result not tell you?
It shows what happened, not why. A higher CPM can come from the audience, the placement, the season or the creative, and a lower CTR makes the same CPM more expensive per click. Compare equal-length periods and the same ads before you change anything, and check the cost per purchase against your break-even CPA.
Worked example: $500 of spend
Illustrative
Illustrative numbers, not a benchmark for any shop.
| Step | Value |
|---|---|
| Ad spend | $500.00 |
| Impressions | 40,000 |
| Clicks | 600 |
| Purchases | 12 |
| CPM | $500 ÷ 40,000 × 1,000 = $12.50 |
| CTR | 600 ÷ 40,000 = 1.5% |
| CPC | $500 ÷ 600 = $0.83 |
| Cost per purchase | $500 ÷ 12 = $41.67 |
To buy 100,000 impressions at the same $12.50 CPM would cost 100,000 ÷ 1,000 × $12.50 = $1,250. Real CPM moves with audience, placement and season, so treat that as a planning figure.
Facebook Ad Cost FAQ
What does CPM mean in Facebook ads?
CPM is the cost per 1,000 impressions: what you paid for every thousand times your ads were shown. It measures the price of attention, not of results.
Is a high CPM bad?
Not by itself. A high CPM with a high click-through and a good conversion rate can still give a low cost per purchase. Judge CPM beside CTR and cost per purchase, never alone.
Which spend and impressions should I use?
The same ads and the same dates for every number. Mixing a 7-day spend with a 30-day impression count gives a CPM that means nothing.
Why is my cost per purchase different in my store?
Ads Manager and your store count purchases differently (attribution window, modelled conversions, returns). Use the figure you trust for decisions and say which one it is.
Where should you read next?
- What is a good CPM for Facebook ads?
- How much do Facebook ads cost?
- A CPM spike: auction pressure or account fault?
- Meta ads glossary
More free tools: Break-even ROAS Calculator · CAC Payback Calculator · MER vs ROAS Calculator · Creative Testing Budget Calculator · UTM Builder for Meta and Google · Target CPA Calculator · LTV:CAC Calculator · Ad Spend Calculator · Learning Phase Calculator
Drafted with AI. The formulas are standard arithmetic on the numbers you enter; no outside statistic is used on this page.
Who made this calculator?
Bach.ai is our product. It connects to your Meta and Google Ads accounts, audits them and proposes fixes; on a paid plan it applies a change, by default, only after you approve it. Free is a 7-day trial with no card. Start the free trial.