MoneyDigital Marketing

Programmatic Advertising
calculator.

Turn a programmatic bid into the real price per thousand ads, and per ad seen.

How it's worked out

CPM is the cost of a thousand impressions, where an impression is one time an ad is shown. Google Ads Help describes it as paying per thousand views. In programmatic buying the bid is only the media part. Data for targeting and verification are charged per thousand too, and the platform or agency fee goes on top of all three.

base CPM\displaystyle \text{base CPM}=media+data+verification\displaystyle {}=\;\text{media} + \text{data} + \text{verification}
all-in CPM\displaystyle \text{all-in CPM}=base CPM×(1+fee)\displaystyle {}=\;\text{base CPM} \times (1 + \text{fee})

Not every impression is seen. The MRC guidelines count a display ad as viewable when at least 50% of its pixels are in view for at least one second in a row, and a video ad when 50% is in view for two seconds. Large display ads of 242,500 pixels or more need only 30%. Dividing by the viewability rate gives the price of a thousand ads that could be seen.

viewable CPM\displaystyle \text{viewable CPM}=all-in CPMviewability\displaystyle {}= \frac{\text{all-in CPM}}{\text{viewability}}

Clicks and conversions follow from the rates. Google defines click-through rate, or CTR, as clicks divided by impressions, so 5 clicks from 100 impressions is 5%.

CPC\displaystyle \text{CPC}=all-in CPM1,000×CTR\displaystyle {}= \frac{\text{all-in CPM}}{1{,}000 \times \text{CTR}}
CPA\displaystyle \text{CPA}=CPCconversion rate\displaystyle {}= \frac{\text{CPC}}{\text{conversion rate}}

To work back from a price ceiling, take the fee off the ceiling first, then subtract data and verification. What is left is the highest media bid that fits.

media bid\displaystyle \text{media bid}=target all-in CPM1+fee\displaystyle {}= \frac{\text{target all-in CPM}}{1 + \text{fee}}−data\displaystyle {}-\;\text{data}−verification\displaystyle {}-\;\text{verification}

Worked examples

An open-exchange display buy with a price ceiling

A buyer bids $4.00, adds $1.50 of audience data and $0.10 of verification, and pays a 15% platform fee. The all-in CPM is $6.44. The fee alone is $0.84, and only 62.1% of the money buys media.

At 70% viewability, a thousand viewable ads cost $9.20. With 0.1% of impressions clicked, each click costs $6.44, and at a 2% conversion rate each sale costs $322.00.

The client caps the price at $6.00 all in. Take off the fee and the fixed costs, and the highest bid is $3.62. Dropping the data segment would bring the all-in CPM down to $4.71 at the same bid.

Open this example in the tool

A cheap display buy against a pricier direct one

The same display buy costs $6.44 all in. A direct deal with a publisher costs $12.00 all in, close to twice as much, but 90% of its ads are viewable. Per thousand viewable ads it costs $13.33, against $9.20 for the display buy.

So the display buy is still cheaper per seen ad, and stays cheaper as long as its viewability is above 48.3%. If a verification report showed only 40%, it would cost $16.10 per viewable thousand and the direct deal would win.

Connected TV shows how far the gap can close. A $28.00 media CPM with data, verification and a 12% fee costs $34.94 all in, but at 95% viewability the viewable price is $36.78, only a little above it.

Open this example in the tool

A retargeting campaign halfway through its flight

A retargeting line bids $2.50 with $0.75 of data, for $3.85 all in. Its 0.3% click rate gives a $1.28 click, and 4% of clicks convert, so each sale costs $32.10.

On day 15 of 30, an even plan would have spent $2,500 of the $5,000 budget. The line has spent $2,600, so it is pacing at 104%. To finish on the last day it should spend $160.00 a day, a little under the even $166.67.

Open this example in the tool

Reading your result

Read the working media share first. It is the part of each dollar that pays for the ads themselves. In the display example it is 62.1%. The ANA's 2023 study of the programmatic supply chain found that only 36 cents of each dollar entering a DSP effectively reached the consumer. Your share here counts only the costs you enter, so the part that reaches real viewers can be lower. Ask your platform for a full fee breakdown.

Compare channels on viewable CPM, not CPM. A buy that looks cheap can cost more per seen ad than one that looks dear. Google Ads Help notes that a viewable CPM bid might need to be higher than a standard CPM bid, because you pay only for impressions measured as viewable.

Read pacing against your plan. A pace near 100% means spend is on track for an even flight. Well under it, the campaign may not spend its budget. Well over it, the money may run out before the end date.

Common mistakes

  • Quoting the bid as the price. The $4.00 bid in the first example becomes $6.44 once data, verification and the fee are counted.
  • Assuming how the fee is charged. This page adds the fee on top of media, data and verification together. Some contracts charge it on media only or take it out of the budget, so check yours before you compare quotes.
  • Treating served impressions as seen. Google Ad Manager Help gives the case of a publisher at 67% viewability, which needs about 150 million impressions to deliver 100 million viewable ones.
  • Using a click rate to judge an awareness buy. The connected TV example uses a 0% click rate, so it has no cost per click at all. For a buy meant to be watched, judge it by its $36.78 viewable price instead.

Questions people ask

CPM prices every impression served. Viewable CPM, or vCPM, prices only those that met the viewable standard, so it is CPM divided by the viewability rate. At 70% viewability, a $6.44 CPM is $9.20 per thousand viewable ads.

Sources