Cost per click (CPC)

클릭당비용 (CPC)

Average ad spend required to earn one click.

···
html
<div class="board"><div class="top">BID <strong id="bid">$1.20</strong></div><input id="range" aria-label="Bid" type="range" min="60" max="200" value="120"><div class="dots" id="dots"></div><div class="foot"><span id="wins">4 CLICKS</span><div class="track"><i id="cost"></i></div><b id="spent">$4.80</b></div></div>
css
.board{width:min(88%,460px);padding:clamp(12px,3vmin,25px);background:var(--surface);border:2px solid var(--fg);font:800 clamp(10px,max(2vmin,1vw),16px)/1.1 sans-serif}.top,.foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.top strong{color:var(--accent);font-size:clamp(18px,5vmin,38px)}input{width:100%;accent-color:var(--accent);margin:clamp(8px,2vmin,15px) 0}.dots{display:flex;justify-content:space-between;gap:4px;margin:clamp(8px,2vmin,18px) 0}.dots i{width:clamp(11px,4vmin,25px);aspect-ratio:1;border:2px solid var(--line);border-radius:50%;transition:.35s}.dots i.win{background:var(--accent);border-color:var(--accent);transform:scale(1.08)}.foot{color:var(--muted)}.foot b{color:var(--fg)}.track{flex:1;height:8px;background:var(--line)}.track i{display:block;height:100%;background:var(--accent);transition:.35s}
js
const range=document.querySelector('#range'),dots=document.querySelector('#dots');dots.innerHTML=Array.from({length:8},()=>'<i></i>').join('');const thresholds=[60,75,90,105,120,140,165,190];function draw(){const bid=Number(range.value),wins=thresholds.filter(x=>x<=bid).length;document.querySelector('#bid').textContent='$'+(bid/100).toFixed(2);document.querySelector('#wins').textContent=wins+' CLICKS';document.querySelector('#spent').textContent='$'+(wins*bid/100).toFixed(2);document.querySelector('#cost').style.width=(wins*bid/16)+'%';[...dots.children].forEach((d,i)=>d.classList.toggle('win',i<wins))}range.addEventListener('input',()=>{clearInterval(timer);draw()});let direction=20;const timer=setInterval(()=>{let n=Number(range.value)+direction;if(n>=190||n<=70)direction*=-1;range.value=String(n);draw()},650);draw();

CPC is ad spend divided by clicks. A higher bid can win more opportunities in an auction, but it can also change the price paid per click and total spend.

Raise the bid line in the demo to win more click dots and lengthen the spend bar. The dots and prices are illustrative simulation data.

Cheap clicks are not necessarily valuable. Review post-click conversion rate and CPA alongside CPC.

When to use

Use it to compare traffic costs by query or creative, then check conversion quality.

Open as page ↗