Home / CPM calculator

CPM calculator

Updated December 2, 2026

Enter what you spent and how many impressions you got to see your CPM. Or pick another answer: how many impressions a budget buys, or what a campaign costs at a quoted CPM.

Use the same dates and the same ads for both numbers. The M in CPM is the Roman numeral for 1,000.

The formulas

Worked example

You spend $2,000 and your ads are shown 400,000 times. CPM = 2,000 ÷ 400,000 × 1,000 = $5.00. One impression cost half a cent ($0.005). With a budget of $500 at a quoted CPM of $8, you would buy 500 ÷ 8 × 1,000 = 62,500 impressions.

What CPM does not tell you

CPM is the price of being seen, not of being clicked. Two campaigns with the same CPM can cost very different amounts per click if one gets more clicks per 1,000 impressions. To compare, work out the click-through rate and the cost per click too, or turn one buying model into another with the CPM, CPC and CPA converter.

Publishers and creators use the same idea from the other side: revenue per 1,000 views, often called RPM or eCPM. That is the creator earnings calculator. For the full set of formulas see ad metrics explained.

Arithmetic, not advice. These calculators do plain arithmetic on the numbers you enter. They are not tax, accounting, legal or financial advice, and they cannot know your costs, your customers or the rules your ad platform applies. Check important decisions with a qualified professional.

Questions

What does CPM stand for?

Cost per mille, where mille means a thousand. It is the cost of 1,000 ad impressions.

Is a lower CPM always better?

No. A low CPM only means impressions were cheap. If few people click or convert, the cost of each click or sale can still be high. Compare CPM with your click-through rate and cost per click.

How is CPM different from RPM?

CPM is what an advertiser pays per 1,000 impressions. RPM is what a publisher or creator earns per 1,000 views or page views, so the two sit on opposite sides of the same sale. The creator earnings page explains the difference with a cited definition.

Embed this calculator on your site

Free to use on any website, no sign-up. Copy the code below. The embedded calculator has no ads and no tracking. Please keep the small "Calculator by AdMathTools" line under it. If your site marks outside links nofollow, that is fine too.

All embeddable calculators · Preview the embedded version

Related

CTR calculator

Calculate click-through rate from clicks and impressions, or find the clicks or impressions a target CTR needs. Free, with the formula and worked examples.

CPC calculator

Calculate cost per click from spend and clicks, or find the clicks a budget buys or the cost of a set number of clicks. Free, with formulas and examples.

Ad metrics explained: CPM, CPC, CTR, CPA and ROAS

The formulas behind CPM, CPC, CTR, conversion rate, CPA and ROAS, how they connect, and one campaign worked through step by step.