Digital Ad Metrics Calculator: CPM, CTR, CPC, CPA, ROAS, ROI

Enter spend, impressions, clicks, conversions, revenue and gross margin, and get all ad metrics, break-even ROAS and the budget for your conversion target.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Enter campaign data

    Type spend, impressions, clicks, conversions and revenue.

  2. 2
    Enter your margin

    Type gross margin to see profitability.

  3. 3
    Set a target

    Type the conversions you want for a budget estimate.

  4. 4
    Read the metrics

    Review the chain from CPM to ROI and the what-if table.

About this tool

Online advertising has its own alphabet: CPM, CTR, CPC, CPA, ROAS, ROI. Each answers a different question, and most free tools calculate one at a time, so you never see how they connect. This calculator takes the five numbers every ad platform reports for a campaign, spend, impressions, clicks, conversions and revenue, and computes the whole chain using the Interactive Advertising Bureau's definitions: cost per thousand impressions (CPM), click-through rate (CTR), cost per click (CPC), conversion rate, cost per acquisition (CPA), average order value, return on ad spend (ROAS) and return on investment (ROI). The crucial addition is your gross margin. ROAS on its own is misleading: a ROAS of 3 sounds good, but if your gross margin is 25% you lose money, because you need a ROAS of 4 just to break even. The calculator shows the break-even ROAS (1 ÷ margin), the maximum CPA you can afford per sale, whether the campaign is profitable, and the budget needed to reach a target number of conversions at the current CPA. A what-if table shows how ROAS would look at different spend levels on the same results.

Who this is for

Small business owners running ads, marketing managers reporting results, freelancers and agencies, and students of digital marketing.

The metrics

| Metric | Formula | |---|---| | CPM | Spend ÷ impressions × 1,000 | | CTR | Clicks ÷ impressions | | CPC | Spend ÷ clicks | | Conversion rate | Conversions ÷ clicks | | CPA | Spend ÷ conversions | | ROAS | Revenue ÷ spend | | ROI | (Revenue × margin − spend) ÷ spend |

Break-even ROAS

Break-even ROAS = 1 ÷ gross margin. With 40% margin you need 2.5× just to cover product costs and ads. Below that, every sale from ads loses money.

Maximum CPA

Average order value × gross margin: the most you can pay to acquire a sale without losing money on the first order. If customers buy again, a higher CPA may still pay off; see our LTV and CAC calculator.

Attribution

Platforms count conversions differently (click windows, view-through). Compare with your own sales data where possible.

Budget for a target

Budget = target conversions × CPA. In practice CPA usually rises as spend grows, so treat it as a minimum.

Worked example

Spend 5,000, 400,000 impressions, 6,000 clicks, 180 conversions and 16,200 revenue with 40% margin: CPM 12.50, CTR 1.5%, CPC 0.83, conversion rate 3%, CPA 27.78, ROAS 3.24× against a break-even of 2.5×, ROI 29.6%, maximum CPA 36. Reaching 300 conversions needs about 8,333.

Reading the chain from top to bottom

The metrics form a chain, and each link points to a different fix. A high CPM means the audience is expensive or competitive, so test broader targeting or other placements. A low click-through rate says the creative or the offer does not grab attention, so test new images, headlines and hooks. A high cost per click with a decent CTR usually reflects auction pressure. A weak conversion rate points away from the ad and towards the landing page, the price or the checkout. When CPA is too high, work out which link is weakest before changing everything at once, and change one element at a time so you can see what made the difference.

Limits

A calculation aid, not marketing or financial advice.

Worked example

Spend 5,000 → ROAS 3.24× vs break-even 2.5×; CPA 27.78.

Quick facts

Frequently asked questions

What is a good ROAS?

One above your break-even ROAS, which is 1 divided by your gross margin.

What is the difference between ROAS and ROI?

ROAS divides revenue by ad spend; ROI uses profit after product costs.

How is CPM calculated?

Spend divided by impressions times 1,000.

What is CPA?

Cost per acquisition: spend divided by conversions.

How much can I pay per sale?

Up to average order value times gross margin on the first order.

Why do platform numbers differ from my sales?

Attribution windows and tracking methods differ.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages