cpm-calculator
Installation
SKILL.md
CPM calculator
Use the CPM calculator to choose the calculation direction and export both campaign scenarios if needed.
Match the known inputs
Ask which result is missing. Get spend and impressions for actual CPM, the quoted CPM and target impressions for budget, or the budget and quoted CPM for affordable impressions. Confirm currency, measurement period, and whether the count is all served impressions or viewable impressions.
Calculate
| Result | Formula |
|---|---|
| CPM | Spend ÷ impressions × 1,000 |
| Budget | CPM × target impressions ÷ 1,000 |
| Affordable impressions | Budget ÷ CPM × 1,000 |
For a budget to cover the whole target, round required currency upward at the smallest billable unit. For affordable impressions, round downward to whole impressions and keep any unrounded planning estimate separate. Check that any denominator is positive. Show CPM and the underlying spend and impression counts for each scenario.