UTILS.
Private by default
🖱️

Ad Metrics Calculator (CPM, CPC, CTR, CPA, ROAS)

Free ad metrics calculator: enter any of spend, impressions, clicks, conversions and revenue to get CPM, CPC, CTR, conversion rate, CPA, ROAS and ROI, or solve backwards from a target rate.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

Fill in what you know and leave the rest blank. To solve for a figure, leave it blank and type a rate below (for example, budget from a target CPM).

About this tool

The Ad Metrics Calculator works out the standard paid-media metrics from whatever campaign figures you have. Enter any of ad spend, impressions, clicks, conversions and revenue, and it shows CPM, CPC, CTR, conversion rate (CVR), CPA, ROAS and ROI: every metric your figures allow, with no mode to pick first. Everything runs locally in your browser; nothing is uploaded.

The formulas are the usual ones: CPM = spend ÷ impressions × 1,000; CPC = spend ÷ clicks; CTR = clicks ÷ impressions × 100; CVR = conversions ÷ clicks × 100; CPA = spend ÷ conversions; ROAS = revenue ÷ spend, shown as a multiple and as a percentage; profit = revenue − spend and ROI = profit ÷ spend × 100. Add your profit margin to see break-even ROAS = 1 ÷ (margin ÷ 100).

The rate fields also work backwards. Leave a figure blank, type a rate, and the tool fills the figure in: the budget for a target CPM or CPC, the impressions or clicks a budget buys, clicks from a CTR, or conversions from clicks and a CVR (and then the funnel's CPA). A conversion rate typed next to real conversions and clicks is treated as a target, and the tool shows the conversions needed to reach it. If any other typed rate disagrees with your figures, a note says so and the figures are used.

Frequently asked questions

Which figures do I need to enter?
Only the ones you have. Each metric needs two figures: CPM needs spend and impressions, CPC spend and clicks, CTR clicks and impressions, CVR conversions and clicks, CPA spend and conversions, and ROAS revenue and spend. A tile appears as soon as its two figures are known; a blank field just means unknown, not an error.
How do I work out a budget from a target CPM or CPC?
Clear the ad spend field and type the rate. With impressions and a CPM, spend = CPM × impressions ÷ 1,000; with clicks and a CPC, spend = CPC × clicks. To go the other way, keep the spend, clear impressions or clicks, and type the rate to see how many impressions (spend ÷ CPM × 1,000) or clicks (spend ÷ CPC) the budget buys.
How do I estimate CPA from a funnel?
Enter spend and clicks, leave conversions blank and type your conversion rate. Conversions = clicks × (CVR ÷ 100) and CPA = spend ÷ conversions. Spending 2,000 on 1,600 clicks at 2.5% gives 40 conversions and a CPA of 50.00.
What does a target conversion rate show?
When conversions and clicks are both filled in, a typed CVR is treated as a goal. The tool shows the conversions needed at your current clicks, ceil(clicks × target ÷ 100), and how many more you still need. 10 conversions from 750 clicks with a 4.4% target needs 33, so 23 more.
What are ROAS, ROI and break-even ROAS?
ROAS = revenue ÷ ad spend: 20,000 revenue on 5,000 spend is 4.00× (400%). ROI = (revenue − spend) ÷ spend × 100, which is 300% in that example. Break-even ROAS = 1 ÷ (margin ÷ 100) is the lowest ROAS that covers the ad cost at your gross margin: 4× at a 25% margin.
Does anything leave my device?
No. All figures are computed in your browser; campaign costs, clicks and impressions are never uploaded.

More tools