Ad metrics calculator (CPM, CPC, CTR, CPA, ROAS)

Turn campaign spend and results into CPM, CPC, CTR, CPA and ROAS, each with its arithmetic shown.

Free. No sign-up. Runs in your browser. Checked 2026-09-09.

What you spent

Media spend only, excluding your fee.

Allowed range 0 to 1000000000.

What it delivered

Times shown, including repeat views.

Allowed range 0 to 10000000000.

Link clicks, not all clicks.

Allowed range 0 to 100000000.

What it was worth

Purchases, leads, installs. Enter 0 to skip CPA.

Allowed range 0 to 100000000.

Attributed revenue. Enter 0 to skip ROAS.

Allowed range 0 to 10000000000.

How this works, what it excludes, and the FAQsShow

Who this is for

Agencies and freelancers running paid social for clients, and anyone checking a platform’s reported numbers against their own arithmetic before it goes into a report.

The formulas

CPM = spend ÷ impressions × 1,000

CPC = spend ÷ clicks

CTR = clicks ÷ impressions × 100

CPA = spend ÷ conversions

ROAS = revenue ÷ spend

Any metric whose denominator is missing is skipped rather than shown as zero. A cost per acquisition of “Rs 0” from zero conversions reads as free rather than undefined, and that is exactly the kind of number that ends up in a client deck unchallenged.

Which metric answers which question

CPM, what does attention cost?
The price of being seen. Rising CPM with stable performance usually means auction pressure, not a creative problem.
CTR, is the creative working?
The clearest signal of whether the ad earns a response. It is the first thing to look at when CPC rises.
CPC, what does a visit cost?
A product of CPM and CTR rather than an independent lever. You lower it by improving creative or finding cheaper inventory, not by adjusting it directly.
CPA, what does a customer cost?
The first metric that includes what happens after the click. A good CPC with a bad CPA points at the landing page, not the ad.
ROAS, did the media pay for itself?
Revenue per rupee of spend. Media efficiency only, it says nothing about margin or profit.

Why there is no benchmark here

Published CPM and CTR benchmarks are averages across advertisers, objectives, countries and years that have almost nothing to do with your account. A festive-season CPM in India is not comparable to an off-peak CPM in the same account, and a lead-generation CTR is not comparable to a traffic campaign.

The comparison worth making is your own account over time, with one variable changed at a time. That is a real signal. A number from someone else’s spreadsheet is not.

Put this calculator on your own site

Free to embed on any site, including commercial ones. Paste the snippet into a blog post, a resources page or a client-facing guide and the calculator runs inside your page.

The only thing we ask is the credit line underneath, which links back here. That link is how people find the tool and how we justify keeping it free and ungated, so please leave it in.

Leave this on automatic and each reader sees their own currency, detected from their browser and changeable by them. Pin one if your audience is in a single market.

Copy this into your page
Optional: remove the inner scrollbar

The embed works without this. Add it once anywhere on the page and the iframe resizes itself to fit its content instead of scrolling internally. It listens only for a height number from poststack.ai and does nothing else.

Default height
980px, adjustable in the snippet
Tracking
None. No cookies, no analytics, nothing posted back to us
Your readers’ data
Stays in their browser. We never receive what they type

Frequently asked questions

How do I calculate CPM?
Divide total spend by impressions, then multiply by a thousand. CPM is the cost of reaching a thousand impressions, which is why the multiplication is there, it is a rate, not a total.
What is a good CPM or CPC?
There is no answer to that which is true across accounts, and this tool deliberately does not offer one. CPM depends on the objective, the audience size, the format, the season and who else is bidding for the same people on the same day. A festive-season CPM in India is not comparable to an off-peak one in the same account, let alone to another advertiser.
Why is my ROAS good but the campaign still loses money?
ROAS is revenue divided by ad spend, so it ignores your cost of goods, your fees and every other cost. A 4x ROAS on a product with a 20% gross margin is a loss. ROAS is a media efficiency measure, not a profitability measure.
Should I use link clicks or all clicks?
Link clicks, for anything you report. All clicks includes likes, comments, profile taps and expansions, which inflates CTR and deflates CPC without anyone visiting your site. Two agencies reporting the same campaign can differ by a factor of three purely on this choice.
Why do my numbers differ from the platform dashboard?
Usually attribution windows or a different click definition. Platforms count conversions inside their own window and will each claim the same sale. If your arithmetic here does not match the dashboard, check which click type and which window the dashboard is using before assuming either is wrong.