The Ad Budget Formula
A campaign budget is the last step of a chain that starts with your goal:
- Leads needed = customers / lead-to-customer rate
- Clicks needed = leads / landing page conversion rate
- Media budget = clicks × cost per click
- Impressions needed = clicks / click-through rate
Put together: budget = customers / close rate / conversion rate × CPC. If your goal is leads rather than customers, enter 100 as the lead-to-customer rate and the first number becomes the lead target.
Worked Example: Ten New Customers in a Quarter
Illustrative numbers for a B2B search campaign, the same as the calculator's defaults:
- Sales closes 10% of the leads from this channel, so 10 customers need 10 / 0.10 = 100 leads.
- The landing page converts 2.5% of visitors, so 100 leads need 100 / 0.025 = 4,000 clicks.
- At a 4.00 average CPC, 4,000 clicks cost 16,000. That is a cost per lead of 160 and a media cost of 1,600 per customer.
- With a 0.8% CTR the ads need 500,000 impressions, an implied CPM of 32.
Now change one input at a time. Raising the landing page conversion rate from 2.5% to 5% halves the clicks and the budget to 8,000. Cutting the CPC by a quarter only takes the budget to 12,000. The page is usually the cheaper lever, which is why we look at the landing page before asking for more media money.
Media Budget vs Total Campaign Cost
The number above is what the ad platforms will charge. A campaign also costs:
- Production: ad creative, video, copy and the landing page itself.
- Management: agency or freelancer fees, or the hours of your own team.
- Tools: anything bought only for this campaign, such as a landing page builder or a data source.
Plan with the total, and report with the total. A campaign whose media cost per customer looks fine can still lose money once fees are added. The marketing ROI calculator takes the full cost and the gross margin to show whether the campaign paid back.
What a Fixed Budget Buys
If the budget is already set, run the chain forwards instead:
- Clicks = budget / CPC
- Leads = clicks × conversion rate
- Customers = leads × lead-to-customer rate
A 5,000 budget at a 4.00 CPC buys 1,250 clicks. At a 2.5% conversion rate that is about 31 leads, and at a 10% close rate about 3 customers. If that is not enough to matter, the budget is too small for this channel at these rates, and spreading it across more channels will only make each one smaller. For impression-priced media, start from impressions = budget / CPM × 1,000 in the CPM calculator.
Where to Get the Inputs
- Cost per click: your own campaign history for the same channel and audience. For new search keywords, Google Ads Keyword Planner shows low and high top-of-page bid ranges.
- Click-through rate: the CTR column in Google Ads, Meta Ads Manager or LinkedIn Campaign Manager for similar ads.
- Landing page conversion rate: key events divided by sessions for that page in GA4, or form submissions divided by visits.
- Lead-to-customer rate: from your CRM, for leads from the same channel. Close rates differ a lot by source, so avoid a company-wide average.
The weakest input is usually the close rate, because the CRM rarely records the source of each deal properly. Tag campaign links with the UTM builder and store the source on every lead, and the next budget can be built on real numbers.
Our Take: Budget for Qualified Leads, Not Clicks
Most budgets we see are built from the top down: a monthly amount, split across channels, judged on clicks. Building from the goal upwards forces the two conversations that matter: what sales can close from this channel, and how well the page converts the visitors you pay for. A B2B campaign also brings companies that read the page and leave without filling in the form. Visitor identification shows which of those accounts came from the campaign, so part of the spend that would otherwise look wasted turns into a list sales can follow up.
Frequently Asked Questions
How do you calculate an ad budget?
Start from the result you need and work backwards. Customers needed / lead-to-customer rate gives leads; leads / landing page conversion rate gives clicks; clicks × cost per click gives the media budget. 10 customers at a 10% close rate, a 2.5% conversion rate and a 4.00 CPC need 16,000 in media.
How do you calculate the cost of an online marketing campaign?
Add the media budget to everything else the campaign needs: ad creative and landing page production, any agency or freelancer fees, and tools bought only for this campaign. The calculator gives the media part; the total cost is what you divide by results when you report cost per lead or ROI.
How much should a B2B company spend on an ad campaign?
There is no correct number that fits every company. A budget is right when it can produce the leads your sales target needs at a cost per customer your margins can carry. Work out the budget from your own goal and rates, then check the cost per customer against what a customer is worth.
What if I do not know my conversion rate or CPC yet?
Use your history from similar campaigns if you have any. For search ads, Google Ads Keyword Planner shows low and high top-of-page bid ranges for each keyword. For conversion rates you have never measured, run a small test budget first and replace the guesses with real numbers before you commit the full amount.
How do I turn the total into a daily budget?
Divide the media budget by the number of days the campaign runs. 16,000 over a 90-day quarter is about 178 per day. Ad platforms may spend more on some days and less on others while keeping close to the average.
Why does the calculator ask for click-through rate?
Only to estimate the impressions you need and the CPM that implies. It does not change the budget, which depends on clicks and cost per click. Leave it empty if you buy on a cost-per-click basis and do not need the reach figure.