Contribution margin in marketing: calculate profit per campaign
Short answer Contribution margin is what sales leave after the costs that rise with each job: materials, per-job labor, card fees, commissions. For one campaign, add up what its customers paid, subtract those costs, then subtract the campaign's own spend and fees. Above zero, the campaign paid for itself and helped cover rent, salaries and profit.
Want help applying this to your business? Talk it through on a free 30-minute call.
Book a callHow do you calculate contribution margin for a campaign?
Take what the campaign's customers paid, subtract the costs those jobs added, then subtract what the campaign itself cost. Three lines:
| Line | Formula | What it tells you |
|---|---|---|
| Contribution margin | Revenue − variable costs | What the sales leave to pay overhead and profit |
| Contribution margin ratio | Contribution margin ÷ revenue | The share of each sales dollar you keep |
| Campaign contribution | Contribution margin − campaign costs | What the campaign added after paying for itself |
The first two are standard accounting (OpenStax, Principles of Accounting Vol. 2, 3.1; SBA: break-even point). Variable costs move up and down with sales. Fixed costs, like rent and salaries, stay put whether you sell more or less (SBA). The third line is the one marketing needs. Above zero, the campaign paid for itself and helped cover overhead and profit. Below zero, its customers cost more to win and serve than they paid.
Google points advertisers the same way:
"Work directly with your finance team to ground your Target ROAS or Target CPA in true unit economics, such as gross margin, net profit contribution, or customer lifetime value." (Think with Google, November 2026)
Which costs count?
Count a cost if it grows with each job, or if it stops when you pause the campaign. Leave out what you'd pay anyway.
| Cost | Count it? | Why |
|---|---|---|
| Materials, parts and supplies used on the job | Yes | Each job uses more |
| Labor paid per job or per hour worked, subcontractors | Yes | Each job adds hours |
| Card processing fees | Yes | A cut of every payment: Stripe charges 2.9% + 30¢ per US online card payment, 2.9% + CA$0.30 in Canada (Stripe pricing pages) |
| Sales commissions | Yes | BDC lists commissions and credit card fees among variable costs |
| Discounts and refunds | Yes, off revenue | Net sales are revenue minus returns, allowances and discounts (BDC: Gross profit margin) |
| Ad spend, agency fee, per-lead fees, tools used only for this campaign | Yes, as campaign costs | They end when the campaign ends |
| Rent, office staff, your own pay, software you'd keep anyway | No | Fixed: contribution pays for these |
| Mixed costs, like a phone plan with overage charges | Split them | The SBA advises separating the variable part from the fixed part |
Two judgment calls:
- Salaried crew. If your technicians are on salary and would be paid anyway, their hours on these jobs are fixed. Count overtime, or the extra hire the work forced.
- Ad spend. In accounting, advertising is usually a fixed cost of the business: a budget you choose for the period, not a cost per sale (OpenStax 3.1 counts advertising and promotions for new menu items as fixed costs). For one campaign, it's the money you'd save by pausing it, so it gets its own line after the margin.
Step by step: one campaign's contribution
- Pick the campaign and the period. A full month or quarter. Count jobs paid within a set window after the first inquiry, say 60 days, so slow deals still land on the right campaign.
- List the paying customers it brought. Paid jobs, not leads or quotes. Each customer record needs a lead source: call tracking, form tracking, or "how did you hear about us?" (tracking a lead to a booked job).
- Add up their revenue, after discounts and refunds.
- Subtract the variable costs of those jobs: materials, per-job labor, card fees, commissions. Use invoices and job costs where you have them, averages where you don't.
- That's the contribution margin. Divide it by revenue for the ratio.
- Subtract the campaign's own costs: ad spend for the period, the agency or freelancer fee for it, per-lead fees, any tool used only for it (what agency fees include).
- That's the campaign contribution. Compare campaigns only when each uses the same window and the same cost rules.
Repeat customers change the answer. Decide once whether you count only the first job or every job within, say, 12 months, and use that rule for every campaign.
Why can a high ROAS still lose money?
ROAS (return on ad spend) divides sales by ad spend. Google's own example: "$5 USD in sales ÷ $1 USD in ad spend x 100% = 500% target ROAS" (Google Ads Help: About Target ROAS bidding). The job's costs never enter it. Selling $5 of work per ad dollar loses money when that work keeps less than 20 cents of each dollar.
The ratio gives the break-even line: ROAS must be at least 1 ÷ your contribution margin ratio. At a 50% ratio that's 2 (200%); at 20%, it's 5 (500%).
Google Ads can show this too. It lets bids chase "conversion value, such as sales revenue or profit margins" (Google Ads Help: About conversion values). Send each paid job's contribution margin as its value instead of its price, and the Conv. value/cost column shows contribution per ad dollar: above 1, the ads pay for themselves, before any agency fee.
Which campaign gets credit for a sale?
A customer may see a Facebook ad, search your name a week later, click a Google ad, then call. Give each paid job to one source in your own records, by the same rule for every campaign.
Older advice to switch to a linear or time-decay model no longer applies in Google Ads:
"The first click, linear, time decay, and position-based attribution models are no longer supported by Google." (Google Ads Help: About attribution models)
Google Ads now offers data-driven attribution, the default for most conversion actions, and last click. Both credit only your own Google ads, so a referral or a Facebook ad isn't in that picture (About attribution models). Your own customer list is the only place every source shows up.
Example
Illustrative. Numbers are invented; card fees use Stripe's standard online rate.
A cleaning company: deep cleans vs a $99 promo (US$)
| Google Search, deep cleans | Facebook, $99 first clean | |
|---|---|---|
| Ad spend | $1,500 | $600 |
| Paid jobs | 12 at $400 | 30 at $99 |
| Revenue | $4,800 | $2,970 |
| ROAS | 3.2 | about 5 |
| Variable cost per job (labor, supplies, card fee) | $192 | $93 |
| Contribution margin | $2,496 (52%) | $180 (6%) |
| Campaign contribution | +$996 | −$420 |
The promo has the better ROAS and loses money. Count 90 days, though: 10 of the 30 promo customers book three regular cleans at $180, each leaving $84 after $80 labor, $10 supplies and a $6 card fee. That's 30 cleans × $84 = $2,520, so the promo's 90-day contribution is +$2,100.
A physiotherapy clinic in Canada (C$)
A month of Google Ads for back pain: C$1,200 in ads plus a C$500 freelancer fee. It brings 15 new patients, averaging 5 visits at C$110: C$8,250. Associates earn 50% of each visit fee: C$4,125. Card fees on 75 payments come to about C$262. Contribution margin: C$3,863 (47%). Campaign contribution: C$3,863 − C$1,700 = C$2,163. Rent, the front desk and the owner's pay aren't in it; the C$2,163 is what goes toward them.
FAQ
What is a good contribution margin for marketing?
Anything above zero: the campaign paid for itself. Whether it's enough depends on fixed costs; break-even sales are fixed costs ÷ contribution margin ratio (SBA).
Is contribution margin the same as gross margin?
Close. Gross margin subtracts cost of goods sold; contribution margin subtracts every cost that moves with sales, card fees and commissions included.
Can I do this without special software?
Yes. A spreadsheet with one row per paid job, showing its lead source, price and job costs, is enough.
Different for you?
- You can't tell which customers came from which ad: tracking a lead from Google Ads to a booked job, then GA4 key events for calls and forms.
- Your marketing report shows leads, not profit: the report to ask for.
- You buy leads from Angi or Thumbtack: whether those leads pay.
- You're setting next month's budget: what $500, $1,500 or $3,000 buys.
- Leads arrive but few become paid jobs: Conversion Agent.
- You'd rather have the ads run for you: Paid Ads Agent.