CPC Calculator
Calculate CPC, CPM, or CTR from the other two ad-campaign metrics — cost per click, cost per 1,000 impressions, and click-through rate all determine each other. Pick which one to solve for and enter the other two.
Input
Output
| Metric | Value |
|---|---|
| No data yet | |
Guides
CPC (cost per click), CPM (cost per 1,000 impressions), and CTR (click-through rate) are three sides of the same ad-campaign math — know any two, and the third is fixed. This calculator solves for whichever one you're missing.
How to use it
- Pick what you want to Calculate: CPC, CPM, or CTR.
- Enter the other two metrics. The form only asks for the two you need — the one you picked is computed, not entered.
- Choose a Currency if you're not working in USD.
- Read the result table: the metric you solved for, the two you entered, plus two extra derived figures — clicks per 1,000 impressions and cost per 1,000 clicks — for a fuller picture of the campaign.
The formula
CPM = CPC × CTR% × 10
This comes straight from the three base definitions (CPC = cost ÷ clicks, CPM = cost ÷ impressions × 1,000, CTR% = clicks ÷ impressions × 100) — substitute cost and impressions out and only CPC, CPM, and CTR% remain. Rearranging the same equation solves for whichever one is missing:
- CPC = CPM ÷ (10 × CTR%)
- CPM = CPC × CTR% × 10
- CTR% = CPM ÷ (10 × CPC)
Privacy
All calculation happens in your browser — nothing about your campaign numbers is sent anywhere.
What if I have raw campaign numbers instead of CPC/CPM/CTR?
Divide your total ad spend by clicks to get CPC, by impressions ×1,000 to get CPM, and clicks ÷ impressions × 100 to get CTR — then plug any two of those into this calculator to check the third, or to project what a target CTR would do to your CPM.
Related tools
For general campaign math beyond CPC/CPM/CTR, try the ROI Calculator to work out return on ad spend once you know cost and revenue, or the Discount / Markup Calculator for pricing math.
Use it from code
From 3 credits per callREST API
curl -X POST https://api.iotools.cloud/v1/tool/cpc-calculator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"calcMode": "cpc",
"currency": "USD",
"cpmInput": "10.00",
"ctrInput": "2"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `cpc-calculator` tool (CPC Calculator) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.