{"id":7929,"date":"2021-03-22T13:26:48","date_gmt":"2021-03-22T13:26:48","guid":{"rendered":"https:\/\/adstargets.com\/blog\/?p=7929"},"modified":"2026-02-23T07:34:00","modified_gmt":"2026-02-23T07:34:00","slug":"cpc-calculator","status":"publish","type":"post","link":"https:\/\/adstargets.com\/blog\/cpc-calculator","title":{"rendered":"CPC Calculator: The Ultimate 3-Step Guide to Calculate Your CPC and Maximize Your Ad Success"},"content":{"rendered":"\n<p><strong>Updated 06\/05\/2025<\/strong><\/p>\n\n\n\n<p>It is always important to have an idea of the outcome of your investment before getting into one. Similarly, your CPC campaign cost and potential outcome should be as well estimated by using a CPC Calculator before launching your ads campaign.<\/p>\n\n\n\n<p>If you&#8217;re running pay-per-click (PPC) campaigns, you can\u2019t afford to be in the dark about your cost-per-click (CPC). Every click is a chance to make or break your budget, and every dollar has to work for you. That\u2019s where a CPC Calculator really comes in.<\/p>\n\n\n\n<p>This will enable you to have a more clear understanding of the number of clicks you will get if a certain amount is spent on a campaign as well as the potential sales you can get with a certain number of visitors to your website. <\/p>\n\n\n\n<p>We decided to make it easier for you to estimate the outcome of your campaign by using our free Cost Per Clicks calculator displayed below.<\/p>\n\n\n\n<p>So before we can go ahead and do our calculation, let&#8217;s look at the formula for calculating CPC. <\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#What_Is_CPC\" >What Is CPC?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#Find_campaign_costs\" >Find campaign costs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#Find_clicks\" >Find clicks<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#Find_CPC\" >Find CPC<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#CPC_Formula_Alternative\" >CPC Formula Alternative<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#CPM_Calculator\" >CPM Calculator<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#Find_campaign_costs-2\" >Find campaign costs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#Find_CPM\" >Find CPM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#Find_impressions\" >Find impressions<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#Why_Use_a_CPC_Calculator\" >Why Use a CPC Calculator?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#Who_Should_Use_a_CPC_Calculator\" >Who Should Use a CPC Calculator?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#Doing_the_maths_for_CPM\" >Doing the maths for CPM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/adstargets.com\/blog\/cpc-calculator\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Is_CPC\"><\/span>What Is CPC?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Cost Per Click (CPC) refers to the amount you pay every time someone clicks on your ad. Whether you\u2019re running campaigns on Google Ads, Facebook, Instagram, or LinkedIn, CPC is one of the most important metrics to watch.<\/p>\n\n\n\n<p><strong>The formula is simple:<\/strong><\/p>\n\n\n\n<p>CPC = Total Campaign Cost \u00f7 Number of Clicks<\/p>\n\n\n\n<p>But the implications of this number go much deeper\u2014it directly affects your ROI, customer acquisition costs, and how far your ad budget stretches.<\/p>\n\n\n\n<p>The <a class=\"rank-math-link\" href=\"https:\/\/www.youtube.com\/watch?v=w7wqtSdwN9Q\" target=\"_blank\" rel=\"noopener\">actual cost you pay per each click<\/a> you get during an ad campaign either on Google Adwords or AdsTargets <a href=\"https:\/\/adstargets.com\/blog\/best-nigerian-ad-network\/\" data-type=\"URL\" data-id=\"https:\/\/adstargets.com\/blog\/best-nigerian-ad-network\/\">ad network<\/a>.<\/p>\n\n\n\n<p>To get the estimation right, you simply take the total cost of your ad campaign and divide it by the total number of clicks you are willing to buy as shown here: <code>CPC = total_cost \/ number_of_clicks<\/code>.<\/p>\n\n\n\n<p>It will also work if you take the total number of clicks or the estimated number of clicks and divide it by the amount you are willing to spend on a CPC advertising campaign. This helps you also determine the <a href=\"https:\/\/adstargets.com\/blog\/how-to-calculate-the-maximum-cost-per-click\/\" class=\"rank-math-link\">maximum cost per click<\/a>.<\/p>\n\n\n\n<style>\n    .calcField{\n        padding:10px;\n        margin:10px 0;\n        border:0;\n        border-radius:10px;\n        box-shadow:0 0 15px 4px rgba(40, 154, 219, 0.5);\n        -moz-appearance: textfield;\n    }\n    .clearBtn {\n        background: #3D94F6;\n        -webkit-border-radius: 8px;\n        -moz-border-radius: 8px;\n        border-radius: 8px;\n        height: 20px;\n        line-height: 13px;\n        color: #FFFFFF;\n        font-family: Arial;\n        width: 56px;\n        font-size: 11px;\n        font-weight: 100;\n        border: solid #337FED 1px;\n        text-decoration: none;\n        display: inline-block;\n        cursor: pointer;\n        text-align: center;\n    }\n<\/style>\n\n<h3><span class=\"ez-toc-section\" id=\"Find_campaign_costs\"><\/span>Find campaign costs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n<script>\n    function removeCommas(x){\n        let list = x.split('');\n        let formattedNum = \"\";\n        for (let elem in list){\n            elem = list[elem];\n            if(elem != \",\"){\n                formattedNum = formattedNum.concat(elem);\n            }\n        }\n        \n        return formattedNum;\n    }\n\n    function calcCostsCPC(){\n        let clicks = document.getElementById(\"cpc_costs_clicks\").value;\n        let cpc = document.getElementById(\"cpc_costs_cpc\").value;\n        let moneyFormatter  = new Intl.NumberFormat('en-US');\n\n        split_a = clicks.split('');\n        split_b = cpc.split('');\n        if(split_a[split_a.length - 1] == \".\" || split_b[split_b.length - 1] == \".\"){\n            clicks = \"\";\n            cpc = \"\";\n        }\n\n        if(clicks != \"\"){\n            clicks = removeCommas(clicks);\n            document.getElementById(\"cpc_costs_clicks\").value = moneyFormatter.format(clicks);\n        }\n        if(cpc != \"\"){\n            cpc = removeCommas(cpc);\n            document.getElementById(\"cpc_costs_cpc\").value = moneyFormatter.format(cpc);\n        }\n        if(clicks != \"\" && cpc != \"\"){\n            let camp_cost = (clicks * cpc);\n            camp_cost = moneyFormatter.format(camp_cost);\n            document.getElementById(\"cpc_costs_camp_cost\").value = camp_cost;\n        }\n    }\n\n    function clearCostsCPC(){\n        document.getElementById(\"cpc_costs_clicks\").value = \"\";\n        document.getElementById(\"cpc_costs_cpc\").value = \"\";\n        document.getElementById(\"cpc_costs_camp_cost\").value = \"\";\n    }\n<\/script>\n\n<form>\n    <label>Clicks<\/label><br>\n    <input type=\"text\" id=\"cpc_costs_clicks\" onkeyup=\"calcCostsCPC()\" class=\"calcField\"><br>\n    <label>CPC<\/label><br>\n    <input type=\"text\" id=\"cpc_costs_cpc\" onkeyup=\"calcCostsCPC()\" class=\"calcField\"><br>\n    <label>Total cost of campaign<\/label><br>\n    <input type=\"text\" id=\"cpc_costs_camp_cost\" class=\"calcField\" readonly=\"\"><br>\n    <input type=\"button\" value=\"Clear\" onclick=\"clearCostsCPC()\" class=\"clearBtn\">\n<\/form>\n\n\n\n<style>\n    .calcField{\n        padding:10px;\n        margin:10px 0;\n        border:0;\n        border-radius:10px;\n        box-shadow:0 0 15px 4px rgba(40, 154, 219, 0.5);\n        -moz-appearance: textfield;\n    }\n    .clearBtn {\n        background: #3D94F6;\n        -webkit-border-radius: 8px;\n        -moz-border-radius: 8px;\n        border-radius: 8px;\n        height: 20px;\n        line-height: 13px;\n        color: #FFFFFF;\n        font-family: Arial;\n        width: 56px;\n        font-size: 11px;\n        font-weight: 100;\n        border: solid #337FED 1px;\n        text-decoration: none;\n        display: inline-block;\n        cursor: pointer;\n        text-align: center;\n    }\n<\/style>\n\n<h3><span class=\"ez-toc-section\" id=\"Find_clicks\"><\/span>Find clicks<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n<script>\n    function removeCommas(x){\n        let list = x.split('');\n        let formattedNum = \"\";\n        for (let elem in list){\n            elem = list[elem];\n            if(elem != \",\"){\n                formattedNum = formattedNum.concat(elem);\n            }\n        }\n        \n        return formattedNum;\n    }\n\n    function calcClicks(){\n        let camp_cost = document.getElementById(\"cpc_clicks_camp_cost\").value;\n        let cpc = document.getElementById(\"cpc_clicks_cpc\").value;\n        let moneyFormatter  = new Intl.NumberFormat('en-US');\n\n        split_a = camp_cost.split('');\n        split_b = cpc.split('');\n        if(split_a[split_a.length - 1] == \".\" || split_b[split_b.length - 1] == \".\"){\n            camp_cost = \"\";\n            cpc = \"\";\n        }\n\n        if(camp_cost != \"\"){\n            camp_cost = removeCommas(camp_cost);\n            document.getElementById(\"cpc_clicks_camp_cost\").value = moneyFormatter.format(camp_cost);\n        }\n        if(cpc != \"\"){\n            cpc = removeCommas(cpc);\n            document.getElementById(\"cpc_clicks_cpc\").value = moneyFormatter.format(cpc);\n        }\n        if(camp_cost != \"\" && cpc != \"\"){\n            let clicks = (camp_cost \/ cpc);\n            clicks = moneyFormatter.format(Math.round(clicks));\n            document.getElementById(\"cpc_clicks_clicks\").value = clicks;\n        }\n        \n    }\n\n    function clearClicksCPC(){\n        document.getElementById(\"cpc_clicks_clicks\").value = \"\";\n        document.getElementById(\"cpc_clicks_cpc\").value = \"\";\n        document.getElementById(\"cpc_clicks_camp_cost\").value = \"\";\n    }\n<\/script>\n\n<form>\n    <label>Total cost of campaign<\/label><br>\n    <input type=\"text\" id=\"cpc_clicks_camp_cost\" onkeyup=\"calcClicks()\" class=\"calcField\"><br>\n    <label>CPC<\/label><br>\n    <input type=\"text\" id=\"cpc_clicks_cpc\" onkeyup=\"calcClicks()\" class=\"calcField\"><br>\n    <label>Clicks<\/label><br>\n    <input type=\"text\" id=\"cpc_clicks_clicks\" class=\"calcField\" readonly=\"\"><br>\n    <input type=\"button\" value=\"Clear\" onclick=\"clearClicksCPC()\" class=\"clearBtn\">\n<\/form>\n\n\n\n<style>\n    .calcField{\n        padding:10px;\n        margin:10px 0;\n        border:0;\n        border-radius:10px;\n        box-shadow:0 0 15px 4px rgba(40, 154, 219, 0.5);\n        -moz-appearance: textfield;\n    }\n    .clearBtn {\n        background: #3D94F6;\n        -webkit-border-radius: 8px;\n        -moz-border-radius: 8px;\n        border-radius: 8px;\n        height: 20px;\n        line-height: 13px;\n        color: #FFFFFF;\n        font-family: Arial;\n        width: 56px;\n        font-size: 11px;\n        font-weight: 100;\n        border: solid #337FED 1px;\n        text-decoration: none;\n        display: inline-block;\n        cursor: pointer;\n        text-align: center;\n    }\n<\/style>\n\n<h3><span class=\"ez-toc-section\" id=\"Find_CPC\"><\/span>Find CPC<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n<script>\n    function removeCommas(x){\n        let list = x.split('');\n        let formattedNum = \"\";\n        for (let elem in list){\n            elem = list[elem];\n            if(elem != \",\"){\n                formattedNum = formattedNum.concat(elem);\n            }\n        }\n        \n        return formattedNum;\n    }\n\n    function calcCPC(){\n        let camp_cost = document.getElementById(\"cpc_camp_cost\").value;\n        let clicks = document.getElementById(\"cpc_clicks\").value;\n        let moneyFormatter  = new Intl.NumberFormat('en-US');\n\n        split_a = camp_cost.split('');\n        split_b = clicks.split('');\n        if(split_a[split_a.length - 1] == \".\" || split_b[split_b.length - 1] == \".\"){\n            camp_cost = \"\";\n            clicks = \"\";\n        }\n\n        if(camp_cost != \"\"){\n            camp_cost = removeCommas(camp_cost);\n            document.getElementById(\"cpc_camp_cost\").value = moneyFormatter.format(camp_cost);\n        }\n        if(clicks != \"\"){\n            clicks = removeCommas(clicks);\n            document.getElementById(\"cpc_clicks\").value = moneyFormatter.format(clicks);\n        }\n        if(camp_cost != \"\" && clicks != \"\"){\n            let cpc = (camp_cost \/ clicks);\n            cpc = moneyFormatter.format(cpc);\n            document.getElementById(\"cpc_cpc\").value = cpc;\n        }\n    }\n\n    function clearCPC(){\n        document.getElementById(\"cpc_clicks\").value = \"\";\n        document.getElementById(\"cpc_cpc\").value = \"\";\n        document.getElementById(\"cpc_camp_cost\").value = \"\";\n    }\n<\/script>\n\n<form>\n    <label>Total cost of campaign<\/label><br>\n    <input type=\"text\" id=\"cpc_camp_cost\" onkeyup=\"calcCPC()\" class=\"calcField\"><br>\n    <label>Clicks<\/label><br>\n    <input type=\"text\" id=\"cpc_clicks\" onkeyup=\"calcCPC()\" class=\"calcField\"><br>\n    <label>CPC<\/label><br>\n    <input type=\"text\" id=\"cpc_cpc\" class=\"calcField\" readonly=\"\"><br>\n    <input type=\"button\" value=\"Clear\" onclick=\"clearCPC()\" class=\"clearBtn\">\n<\/form>\n\n\n\n<p class=\"has-text-align-center has-vivid-red-color has-text-color\"><strong>Note: Simply change your figures or click on clear to calculate again.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CPC_Formula_Alternative\"><\/span>CPC Formula Alternative<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You may also derive it from CPM and CTR:&nbsp;<code>CPC = (CPM \/ 1000) \/ (CTR \/ 100) = 0.1 * CPM \/ CTR<\/code>.<\/p>\n\n\n\n<p>Though on third-party ad management platforms, ad placement in a real-time bidding auction, GEOs of the target audience, and several other factors are taken into consideration by the algorithms to determine the cost of clicks as well as CPM. <\/p>\n\n\n\n<p>In any case, <a class=\"rank-math-link\" href=\"https:\/\/adstargets.com\/blog\/google-advertising-tips\/\">Google advertising<\/a>, <a class=\"rank-math-link\" href=\"https:\/\/adstargets.com\/blog\/bing-ads\/\">Bing ads or Microsoft Ads<\/a>, and <a href=\"https:\/\/adstargets.com\/blog\/\" data-type=\"URL\" data-id=\"https:\/\/adstargets.com\/blog\/\">AdsTargets<\/a> advertising use the same <a class=\"rank-math-link\" href=\"https:\/\/adstargets.com\/blog\/cpc-and-cpm-pricing\/\">CPM and CPC<\/a> formula to calculate the costs you are going to pay per click or 1,000 impressions.<\/p>\n\n\n\n<p>We also made it easier for you to calculate your cost per click campaign cost here in the Below calculator.<\/p>\n\n\n\n<p class=\"has-text-align-center has-vivid-red-color has-text-color\"><strong>Note: To recalculate, simply modify your figures to get the total CPM Cost<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CPM_Calculator\"><\/span><a href=\"https:\/\/adstargets.com\/blog\/cpm-calculator\/\" class=\"rank-math-link\"><strong>CPM Calculator<\/strong><\/a><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<style>\n    .calcField{\n        padding:10px;\n        margin:10px 0;\n        border:0;\n        border-radius:10px;\n        box-shadow:0 0 15px 4px rgba(40, 154, 219, 0.5);\n        -moz-appearance: textfield;\n    }\n    .clearBtn {\n        background: #0773ee;\n        -webkit-border-radius: 8px;\n        -moz-border-radius: 8px;\n        border-radius: 8px;\n        height: 20px;\n        line-height: 13px;\n        color: #FFFFFF;\n        font-family: Arial;\n        width: 56px;\n        font-size: 11px;\n        font-weight: 100;\n        border: solid #337FED 1px;\n        text-decoration: none;\n        display: inline-block;\n        cursor: pointer;\n        text-align: center;\n    }\n<\/style>\n\n<h3><span class=\"ez-toc-section\" id=\"Find_campaign_costs-2\"><\/span>Find campaign costs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n<script>\n    function removeCommas(x){\n        let list = x.split('');\n        let formattedNum = \"\";\n        for (let elem in list){\n            elem = list[elem];\n            if(elem != \",\"){\n                formattedNum = formattedNum.concat(elem);\n            }\n        }\n        \n        return formattedNum;\n    }\n\n    function calcCostsCPM(){\n        let impressions = document.getElementById(\"cpm_costs_impressions\").value;\n        let cpm = document.getElementById(\"cpm_costs_cpm\").value;\n        let moneyFormatter  = new Intl.NumberFormat('en-US');\n\n        split_a = cpm.split('');\n        split_b = impressions.split('');\n        if(split_a[split_a.length - 1] == \".\" || split_b[split_b.length - 1] == \".\"){\n            cpm = \"\";\n            impressions = \"\";\n        }\n\n        if(cpm != \"\"){\n            cpm = removeCommas(cpm);\n            document.getElementById(\"cpm_costs_cpm\").value = moneyFormatter.format(cpm);\n        }\n        if(impressions != \"\"){\n            impressions = removeCommas(impressions);\n            document.getElementById(\"cpm_costs_impressions\").value = moneyFormatter.format(impressions);\n        }\n\n        if(impressions != \"\" && cpm != \"\"){\n            let camp_cost = ((impressions \/ 1000) * cpm);\n            camp_cost = moneyFormatter.format(camp_cost);\n            document.getElementById(\"cpm_costs_camp_cost\").value = camp_cost;\n        }\n    }\n\n    function clearCostsCPM(){\n        document.getElementById(\"cpm_costs_impressions\").value = \"\";\n        document.getElementById(\"cpm_costs_cpm\").value = \"\";\n        document.getElementById(\"cpm_costs_camp_cost\").value = \"\";\n    }\n<\/script>\n\n<form>\n    <label>Impressions<\/label><br>\n    <input type=\"text\" id=\"cpm_costs_impressions\" onkeyup=\"calcCostsCPM()\" class=\"calcField\"><br>\n    <label>CPM<\/label><br>\n    <input type=\"text\" id=\"cpm_costs_cpm\" onkeyup=\"calcCostsCPM()\" class=\"calcField\"><br>\n    <label>Total cost of campaign<\/label><br>\n    <input type=\"text\" id=\"cpm_costs_camp_cost\" class=\"calcField\" readonly=\"\"><br>\n    <input type=\"button\" value=\"Clear\" onclick=\"clearCostsCPM()\" class=\"clearBtn\"> \n<\/form>\n\n\n\n<style>\n    .calcField{\n        padding:10px;\n        margin:10px 0;\n        border:0;\n        border-radius:10px;\n        box-shadow:0 0 15px 4px rgba(40, 154, 219, 0.5);\n        -moz-appearance: textfield;\n    }\n    .clearBtn {\n        background: #3D94F6;\n        -webkit-border-radius: 8px;\n        -moz-border-radius: 8px;\n        border-radius: 8px;\n        height: 20px;\n        line-height: 13px;\n        color: #FFFFFF;\n        font-family: Arial;\n        width: 56px;\n        font-size: 11px;\n        font-weight: 100;\n        border: solid #337FED 1px;\n        text-decoration: none;\n        display: inline-block;\n        cursor: pointer;\n        text-align: center;\n    }\n<\/style>\n\n<h3><span class=\"ez-toc-section\" id=\"Find_CPM\"><\/span>Find CPM<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n<script>\n    function removeCommas(x){\n        let list = x.split('');\n        let formattedNum = \"\";\n        for (let elem in list){\n            elem = list[elem];\n            if(elem != \",\"){\n                formattedNum = formattedNum.concat(elem);\n            }\n        }\n        \n        return formattedNum;\n    }\n\n    function calcCPM(){\n        let camp_cost = document.getElementById(\"cpm_camp_cost\").value;\n        let impressions = document.getElementById(\"cpm_impressions\").value;\n        let moneyFormatter  = new Intl.NumberFormat('en-US');\n\n        split_a = camp_cost.split('');\n        split_b = impressions.split('');\n        if(split_a[split_a.length - 1] == \".\" || split_b[split_b.length - 1] == \".\"){\n            camp_cost = \"\";\n            impressions = \"\";\n        }\n\n        if(camp_cost != \"\"){\n            camp_cost = removeCommas(camp_cost);\n            document.getElementById(\"cpm_camp_cost\").value = moneyFormatter.format(camp_cost);\n        }\n        if(impressions != \"\"){\n            impressions = removeCommas(impressions);\n            document.getElementById(\"cpm_impressions\").value = moneyFormatter.format(impressions);\n        }\n        if(camp_cost != \"\" && impressions != \"\"){\n            let cpm = (camp_cost \/ (impressions \/ 1000));\n            cpm = moneyFormatter.format(cpm);\n            document.getElementById(\"cpm_cpm\").value = cpm;\n        }\n    }\n\n    function clearCPM(){\n        document.getElementById(\"cpm_impressions\").value = \"\";\n        document.getElementById(\"cpm_cpm\").value = \"\";\n        document.getElementById(\"cpm_camp_cost\").value = \"\";\n    }\n<\/script>\n\n<form>\n    <label>Total cost of campaign<\/label><br>\n    <input type=\"text\" id=\"cpm_camp_cost\" onkeyup=\"calcCPM()\" class=\"calcField\"><br>\n    <label>Impressions<\/label><br>\n    <input type=\"text\" id=\"cpm_impressions\" onkeyup=\"calcCPM()\" class=\"calcField\"><br>\n    <label>CPM<\/label><br>\n    <input type=\"text\" id=\"cpm_cpm\" class=\"calcField\" readonly=\"\"><br>\n    <input type=\"button\" value=\"Clear\" onclick=\"clearCPM()\" class=\"clearBtn\">\n<\/form>\n\n\n\n<style>\n    .calcField{\n        padding:10px;\n        margin:10px 0;\n        border:0;\n        border-radius:10px;\n        box-shadow:0 0 15px 4px rgba(40, 154, 219, 0.5);\n        -moz-appearance: textfield;\n    }\n\n    .clearBtn {\n        background: #3D94F6;\n        -webkit-border-radius: 8px;\n        -moz-border-radius: 8px;\n        border-radius: 8px;\n        height: 20px;\n        line-height: 13px;\n        color: #FFFFFF;\n        font-family: Arial;\n        width: 56px;\n        font-size: 11px;\n        font-weight: 100;\n        border: solid #337FED 1px;\n        text-decoration: none;\n        display: inline-block;\n        cursor: pointer;\n        text-align: center;\n    }\n<\/style>\n\n<h3><span class=\"ez-toc-section\" id=\"Find_impressions\"><\/span>Find impressions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n<script>\n    function removeCommas(x){\n        let list = x.split('');\n        let formattedNum = \"\";\n        for (let elem in list){\n            elem = list[elem];\n            if(elem != \",\"){\n                formattedNum = formattedNum.concat(elem);\n            }\n        }\n        \n        return formattedNum;\n    }\n\n    function calcImp(){\n        let camp_cost = document.getElementById(\"cpm_imp_camp_cost\").value;\n        let cpm = document.getElementById(\"cpm_imp_cpm\").value;\n        let moneyFormatter  = new Intl.NumberFormat('en-US');\n\n        split_a = cpm.split('');\n        split_b = camp_cost.split('');\n        if(split_a[split_a.length - 1] == \".\" || split_b[split_b.length - 1] == \".\"){\n            cpm = \"\";\n            camp_cost = \"\";\n        }\n\n        if(cpm != \"\"){\n            cpm = removeCommas(cpm);\n            document.getElementById(\"cpm_imp_cpm\").value = moneyFormatter.format(cpm);\n        }\n        if(camp_cost != \"\"){\n            camp_cost = removeCommas(camp_cost);\n            document.getElementById(\"cpm_imp_camp_cost\").value = moneyFormatter.format(camp_cost);\n        }\n\n        if(camp_cost != \"\" && cpm != \"\"){\n            let impressions = ((camp_cost*1000) \/ cpm);\n            impressions = moneyFormatter.format(Math.round(impressions));\n            document.getElementById(\"cpm_imp_impressions\").value = impressions;\n        }\n        \n    }\n\n    function clearImpCPM(){\n        document.getElementById(\"cpm_imp_impressions\").value = \"\";\n        document.getElementById(\"cpm_imp_cpm\").value = \"\";\n        document.getElementById(\"cpm_imp_camp_cost\").value = \"\";\n    }\n<\/script>\n\n<form>\n    <label>Total cost of campaign<\/label><br>\n    <input type=\"text\" id=\"cpm_imp_camp_cost\" onkeyup=\"calcImp()\" class=\"calcField\"><br>\n    <label>CPM<\/label><br>\n    <input type=\"text\" id=\"cpm_imp_cpm\" onkeyup=\"calcImp()\" class=\"calcField\"><br>\n    <label>Impressions<\/label><br>\n    <input type=\"text\" id=\"cpm_imp_impressions\" class=\"calcField\" readonly=\"\"><br>\n    <input type=\"button\" value=\"Clear\" onclick=\"clearImpCPM()\" class=\"clearBtn\">\n<\/form>\n\n\n\n<p class=\"has-text-align-center has-luminous-vivid-orange-color has-text-color\"><strong>Note: To recalculate, simply modify your figures to get the total CPM Cost<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Use_a_CPC_Calculator\"><\/span>Why Use a CPC Calculator?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You could do the math manually, but why waste time or risk errors? A CPC calculator simplifies the process and gives you instant, accurate insights.<\/p>\n\n\n\n<p>Here\u2019s what a free CPC calculator helps you do:<\/p>\n\n\n\n<p>\u2705 Track real-time ad performance<\/p>\n\n\n\n<p>\u2705 Measure campaign efficiency<\/p>\n\n\n\n<p>\u2705 Monitor cost fluctuations across platforms<\/p>\n\n\n\n<p>\u2705 Identify underperforming ads before they drain your budget<\/p>\n\n\n\n<p>\u2705 Set more competitive bids<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Who_Should_Use_a_CPC_Calculator\"><\/span>Who Should Use a CPC Calculator?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Whether you&#8217;re an advertiser, marketing agency, eCommerce business, or small business owner, a <strong>CPC calculator can:<\/strong><\/p>\n\n\n\n<p>Keep your campaigns aligned with budget goals<\/p>\n\n\n\n<p>Help justify ad spend to stakeholders or clients<\/p>\n\n\n\n<p>Support better A\/B testing decisions<\/p>\n\n\n\n<p>Enable quick pivots when CPC starts rising<\/p>\n\n\n\n<p><strong>To calculate your CPC:<\/strong><\/p>\n\n\n\n<p>#1. Enter your total campaign cost (e.g., $500)<\/p>\n\n\n\n<p>#2. Input the total number of clicks your campaign received (e.g., 2,000)<\/p>\n\n\n\n<p>#3. Click \u201cCalculate\u201d<\/p>\n\n\n\n<p>Your CPC = $0.25<\/p>\n\n\n\n<p>(That means you\u2019re paying 25 cents per click)<\/p>\n\n\n\n<p>With this data, you can immediately determine whether you&#8217;re spending too much or hitting a sweet spot.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Doing_the_maths_for_CPM\"><\/span>Doing the maths for CPM<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The cost of the advertising campaign is divided by the number of desired impressions and then multiplied by 1,000 to get the <a href=\"https:\/\/adstargets.com\/blog\/calculate-your-advertising-cost-and-roi\/\" class=\"rank-math-link\">cost of advertising<\/a> (2,500\/500,000) x 1000 = $5).<\/p>\n\n\n\n<p>In the above case, the advertiser or the company will have to spend $5 per 1,000 impressions on their ad campaign with a budget of $2,500.<\/p>\n\n\n\n<p>As an advertiser, your CPM will be set by the\u00a0<a class=\"rank-math-link\" href=\"https:\/\/adstargets.com\/blog\/advertising-networks-frequently-asked-questions\/\">ad network<\/a>\u00a0or a publisher (Blogger or website owner). It\u2019s only in real cases the advertiser will be given the opportunity to negotiate their CPM rates.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The most important reason for calculating your ad cost and the estimated outcome of your campaign is to maximize your <a href=\"https:\/\/adstargets.com\/blog\/facebook-return-on-ad-spend-roas\/\" class=\"rank-math-link\">return on ad spend<\/a> or <a href=\"https:\/\/adstargets.com\/blog\/roi-calculator\/\" class=\"rank-math-link\">return on investments<\/a> (ROI) of your <a href=\"https:\/\/adstargets.com\/blog\/paid-advertising\/\" class=\"rank-math-link\">paid advertising<\/a>.<\/p>\n\n\n\n<p>It is simply wise to look at your ad campaigns as investments as regards your company&#8217;s accounting. This means you have to clearly understand the potential outcome of your ad investment before launching your campaign. Use the above calculators to help you understand your ad cost and the number of clicks you may potentially get.  <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updated 06\/05\/2025 It is always important to have an idea of the outcome of your investment before getting into one. Similarly, your CPC campaign cost and potential outcome should be as well estimated by using a CPC Calculator before launching your ads campaign. If you&#8217;re running pay-per-click (PPC) campaigns, you can\u2019t afford to be in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7945,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50,56],"tags":[],"class_list":["post-7929","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pay-per-click","category-cpm"],"_links":{"self":[{"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/posts\/7929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/comments?post=7929"}],"version-history":[{"count":26,"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/posts\/7929\/revisions"}],"predecessor-version":[{"id":24864,"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/posts\/7929\/revisions\/24864"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/media\/7945"}],"wp:attachment":[{"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/media?parent=7929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/categories?post=7929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adstargets.com\/blog\/wp-json\/wp\/v2\/tags?post=7929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}