To find your break-even advertising cost, divide the contribution margin per sale by the number of sales each click or lead produces. Building this model in Google Sheets with the GSheetPress GS2Web add-on lets you publish it as an interactive web calculator so your team can test scenarios without touching the underlying formulas.
Work backward from contribution per sale and conversion rates to find break-even CPC, CPL, and CPA • Distinguish revenue-based limits from contribution-based limits to avoid over-spending • Add a target-profit buffer to find a profitable rather than merely break-even maximum bid • Build and publish the model using GS2Web's Calculator tool so anyone on your team can run scenarios • Test all results against the worked example before going live
Break-Even Advertising Costs Calculator in Google Sheets

Photo by KOBU Agency on Unsplash

Why advertising break-even matters

Every paid advertising campaign carries an implicit question: how much can you afford to spend before a sale stops being worth making? Answering that question requires working backward from the money a sale generates, not forward from a budget guess. This guide walks you through that logic, then shows you how to encode it in a Google Sheets calculator you can share with colleagues or embed in a website.

If you are new to building interactive tools in Google Sheets, the GSheetPress Calculator overview explains how the GS2Web add-on turns a spreadsheet into a web form without any coding.

Key terms explained

  • Contribution margin per sale: The revenue from one sale minus its direct variable costs (materials, fulfilment, payment fees). This is the money available to cover fixed costs and advertising before you count profit.
  • Gross revenue per sale: The full price paid by the customer, before any costs are deducted. Using this as your cap instead of contribution margin will cause you to over-spend on ads.
  • Conversion rate (click to lead): The percentage of ad clicks that become a lead or enquiry. Expressed as a decimal in formulas — a 5% rate is 0.05.
  • Conversion rate (lead to sale): The percentage of leads that become paying customers. Also expressed as a decimal in formulas.
  • CPC (cost per click): The amount you pay each time someone clicks your ad.
  • CPL (cost per lead): The total ad spend divided by the number of leads generated. Sometimes called lead acquisition cost.
  • CPA (cost per acquisition): The total ad spend divided by the number of paying customers acquired. This is the core output of a maximum CPA calculator.
  • Break-even CPC / CPL / CPA: The highest amount you can spend at each funnel stage without making a loss on advertising. Spending above these limits erodes the contribution margin entirely.
  • Target profit per sale: An optional amount you want to retain as profit after advertising costs. Subtracting this from the contribution margin gives a tighter, profit-safe maximum spend.
  • ROAS (return on ad spend): Revenue divided by ad spend, expressed as a ratio or multiple. It is a revenue-based measure and can be misleading when margins are thin.

What this model covers and what it excludes

The calculator built in this guide handles a single product or service with one click-to-lead conversion rate and one lead-to-sale conversion rate. It produces three main outputs: break-even CPC, break-even CPL, and break-even CPA, with an optional target-profit adjustment.

It does not account for: lifetime customer value, multi-touch attribution, ad platform fees beyond per-click cost, taxes, or currency conversion. All conversion rates entered are assumed to be stable averages. In practice they will vary by audience, season, and ad creative. Verify every input against your own data before using the outputs to set real bids.

Prerequisites

  • A Google account with access to Google Sheets.
  • The GS2Web SaaS add-on installed from the Google Workspace Marketplace, or access through a GSheetPress account. The Calculator feature requires a plan that includes the Calculator entitlement — check GSheetPress pricing to confirm your plan qualifies. If you are not yet signed up, create an account at GSheetPress sign-up.
  • A dedicated sample workbook created solely for this calculator. Do not use a workbook containing private financial data, because the sharing step later makes the spreadsheet editable by anyone with the link.
  • Basic familiarity with entering values into spreadsheet cells. No formula knowledge is assumed — every formula is provided in full below.

Worked example values

The following values are used throughout this guide. Swap them for your own numbers at any stage.

InputValueNotes
Revenue per sale£200Full price paid by customer
Variable cost per sale£80Fulfilment, materials, fees
Contribution per sale£120Revenue minus variable cost
Click-to-lead rate5%Enter as 5, not 0.05, in the form
Lead-to-sale rate20%Enter as 20, not 0.20, in the form
Target profit per sale£0Enter 0 for pure break-even

The break-even logic in plain language

Start with the contribution margin per sale. That figure is the absolute maximum you can spend on advertising before a sale becomes unprofitable. Work backward through the funnel:

  1. Divide the contribution per sale by the lead-to-sale rate to find the break-even cost per lead. If you convert 20% of leads, you need 5 leads per sale, so each lead can cost at most contribution divided by 5.
  2. Divide the break-even CPL by the click-to-lead rate to find the break-even CPC. If 5% of clicks become leads, you need 20 clicks per lead, so each click can cost at most CPL divided by 20.
  3. The break-even CPA equals the available spend per sale directly, because CPA measures cost per acquired customer — which is exactly one sale.
  4. To incorporate a target profit, subtract it from the contribution before doing any of the above divisions. This gives you a profit-safe maximum rather than a loss-avoiding maximum.

Notice that all three limits derive from the contribution margin, not from revenue. Using revenue as your cap ignores variable costs and will guarantee a loss on every sale. For further background on how platforms use cost-per-acquisition targets in automated bidding, see the Google Ads help centre article on target CPA bidding.

Build the break-even calculator in Google Sheets

Step 1 — Create the calculator

  1. Open your dedicated sample workbook in Google Sheets.
  2. Click Extensions in the menu bar.
  3. Hover over GS2Web SaaS (or the name of your installed add-on) and click to open the sidebar.
  4. In the sidebar, choose Calculator, then click New Calculator.
  5. When prompted for a name, enter something descriptive such as Break-Even Ad Cost Calculator.
  6. When asked for the number of inputs, enter 6. This count covers only the user-facing input rows, not the button row.
  7. When asked whether to include graphs, choose No. This model uses numeric outputs only.
  8. Click the confirmation button. The add-on generates a new sheet tab with column headers in row 1 (A1:H1), input rows 2 through 7, a Calculate button in row 8, a merged result separator in row 9, a result-section heading in row 10, and result rows starting from row 11.

Step 2 — Understand the generated column structure

Row 1 contains headers created by the add-on. Do not edit them. The table below explains each column.

ColumnHeader namePurpose
ALabelsText shown next to each input on the published web form
BInput TypeControls the kind of form field rendered (Number, Text, Button, etc.)
CRequiredTick box; ticked means the field must be filled before calculating
DDataOptions list for dropdowns; leave blank for number and text fields
EDefaultPre-filled value shown when the form loads; also your offline test value
FToolTips (some templates: ToopTips)Hint text shown beside the input label on the published form
GInputsReceives the value submitted by the user at runtime; overwritten on every submission
HRulesOptional validation rules such as minimum or maximum values

Important — E versus G: Column E holds the default values displayed in the form. Column G holds the current submitted values used by all result formulas. Never place result formulas in column G. To test formulas before publishing, copy the values from E2:E7 into G2:G7 using Paste special → Values only so that G contains numbers your formulas can read. G is overwritten by web submissions every time a user clicks Calculate.

Step 3 — Fill in input row 2: Revenue per sale

  • A2 — Label: Revenue per sale (£)
  • B2 — Input Type: Number
  • C2 — Required: Tick the checkbox (mark as required)
  • D2 — Data: Leave blank
  • E2 — Default: 200
  • F2 — ToolTips: The full price the customer pays for one sale, before any costs are deducted.
  • G2 — Inputs: Leave blank (the add-on manages this column at runtime)
  • H2 — Rules: Leave blank

Step 4 — Fill in input row 3: Variable cost per sale

  • A3 — Label: Variable cost per sale (£)
  • B3 — Input Type: Number
  • C3 — Required: Tick the checkbox
  • D3 — Data: Leave blank
  • E3 — Default: 80
  • F3 — ToolTips: Direct costs per sale: materials, fulfilment, payment fees. Do not include fixed overheads such as rent or salaries.
  • G3 — Inputs: Leave blank
  • H3 — Rules: Leave blank

Step 5 — Fill in input row 4: Click-to-lead conversion rate

  • A4 — Label: Click-to-lead rate (%)
  • B4 — Input Type: Number
  • C4 — Required: Tick the checkbox
  • D4 — Data: Leave blank
  • E4 — Default: 5
  • F4 — ToolTips: Percentage of ad clicks that become a lead. Enter 5 for 5%, not 0.05.
  • G4 — Inputs: Leave blank
  • H4 — Rules: Leave blank

Step 6 — Fill in input row 5: Lead-to-sale conversion rate

  • A5 — Label: Lead-to-sale rate (%)
  • B5 — Input Type: Number
  • C5 — Required: Tick the checkbox
  • D5 — Data: Leave blank
  • E5 — Default: 20
  • F5 — ToolTips: Percentage of leads that become paying customers. Enter 20 for 20%, not 0.20.
  • G5 — Inputs: Leave blank
  • H5 — Rules: Leave blank

Step 7 — Fill in input row 6: Target profit per sale

  • A6 — Label: Target profit per sale (£, enter 0 for break-even only)
  • B6 — Input Type: Number
  • C6 — Required: Tick the checkbox
  • D6 — Data: Leave blank
  • E6 — Default: 0
  • F6 — ToolTips: The profit you want to keep per sale after advertising. Enter 0 to find the pure break-even limit.
  • G6 — Inputs: Leave blank
  • H6 — Rules: Leave blank

Step 8 — Fill in input row 7: Currency symbol

  • A7 — Label: Currency symbol
  • B7 — Input Type: Text
  • C7 — Required: Leave the checkbox unticked (this field is optional)
  • D7 — Data: Leave blank
  • E7 — Default: £
  • F7 — ToolTips: Symbol shown beside results (e.g. £, $, €). Does not affect the calculation itself.
  • G7 — Inputs: Leave blank
  • H7 — Rules: Leave blank

Step 9 — Confirm the button row (row 8)

Row 8 is the generated Calculate button. Do not delete or move it. Check that the following values are present exactly as shown:

  • A8 — Label: Calculate (the visible button text; you may edit the wording if you wish)
  • B8 — Input Type: Button
  • C8: Leave blank
  • D8 — Data: main
  • E8: Reset (this is the reset-button label generated by the add-on; do not confuse it with the Calculate label in A8)
  • F8, G8, H8: Leave blank

Step 10 — Add helper cells for intermediate values

Place helper calculations in column J so the main result formulas remain readable. Click cell J1 and type the heading Helpers. Then enter each formula below.

J2 — Contribution per sale

Click cell J2, paste the formula below, and press Enter.

=IF(AND(G2>0,G3>=0,G3<G2),G2-G3,"")

This subtracts the variable cost in G3 from the revenue in G2. It returns a blank if the inputs are implausible (variable cost equal to or greater than revenue, or revenue is zero), rather than producing a misleading figure.

J3 — Available spend per sale after target profit

Click cell J3, paste:

=IF(J2="","",IF(G6>=J2,"Target profit exceeds contribution",J2-G6))

This is the amount left for advertising after reserving your target profit. If the target profit entered is larger than the contribution margin, the cell shows a warning message instead of a number, preventing a negative or nonsensical bid limit.

J4 — Click-to-lead rate as a decimal

Click cell J4, paste:

=IF(AND(G4>0,G4<=100),G4/100,"")

Users enter a whole number such as 5. Dividing by 100 converts it to 0.05 for use in the result formulas.

J5 — Lead-to-sale rate as a decimal

Click cell J5, paste:

=IF(AND(G5>0,G5<=100),G5/100,"")

Step 11 — Add result labels and formulas (rows 11 onward)

Row 9 is the merged separator row. Row 10 holds the result-section heading generated by the add-on. Result rows begin at row 11. Enter plain-text labels in column A and formulas in column B. The add-on displays whatever is in column A as the result label and the value in column B as the result.

Row 11 — Contribution per sale

  • A11: Contribution per sale
  • B11: Click cell B11, paste the formula below, and press Enter.
=IF(J2="","Enter valid revenue and cost",G7&" "&TEXT(J2,"0.00"))

Row 12 — Available ad spend per sale

  • A12: Max ad spend per sale (after target profit)
  • B12: Click cell B12, paste:
=IF(ISNUMBER(J3),G7&" "&TEXT(J3,"0.00"),J3)

Row 13 — Break-even CPA

  • A13: Break-even CPA (max cost per customer)
  • B13: Click cell B13, paste:
=IF(ISNUMBER(J3),G7&" "&TEXT(J3,"0.00"),"—")

CPA equals available spend per sale because CPA is measured per acquired customer, which is exactly one sale.

Row 14 — Break-even CPL

  • A14: Break-even CPL (max cost per lead)
  • B14: Click cell B14, paste:
=IF(AND(ISNUMBER(J3),ISNUMBER(J5),J5>0),G7&" "&TEXT(J3*J5,"0.00"),"—")

Multiplying the available spend by the lead-to-sale rate gives the most you can pay for one lead. Example: £120 available spend multiplied by 0.20 lead-to-sale rate equals a £24 break-even CPL.

Row 15 — Break-even CPC

  • A15: Break-even CPC (max cost per click)
  • B15: Click cell B15, paste:
=IF(AND(ISNUMBER(J3),ISNUMBER(J4),ISNUMBER(J5),J4>0,J5>0),G7&" "&TEXT(J3*J5*J4,"0.00"),"—")

This multiplies the available spend by both conversion rates to find the maximum safe cost per click. Example: £120 multiplied by 0.20 multiplied by 0.05 equals £1.20.

Row 16 — Revenue-based CPA limit (reference only)

  • A16: Revenue-based CPA limit (reference only — includes variable costs)
  • B16: Click cell B16, paste:
=IF(G2>0,G7&" "&TEXT(G2,"0.00"),"—")

This shows the full revenue figure as a reference comparison. It is not a safe bid limit because it ignores variable costs entirely. Bidding up to this figure would guarantee a loss.

Row 17 — Profit retained per sale

  • A17: Profit retained per sale (target)
  • B17: Click cell B17, paste:
=IF(G6>=0,G7&" "&TEXT(G6,"0.00"),"—")

Step 12 — Test formulas offline before publishing

  1. Select cells E2:E7, which contain the default values you entered.
  2. Copy them with Ctrl+C (Windows) or Cmd+C (Mac).
  3. Click cell G2.
  4. Right-click and choose Paste special → Values only. This fills G2:G7 with the numeric defaults so your result formulas have live values to work with.
  5. Check the values displayed in B11:B17 against the expected results table in the next section.

Expected results for the worked example

Result labelExpected valueHow it is calculated
Contribution per sale£ 120.00£200 minus £80
Max ad spend per sale£ 120.00£120 minus £0 target profit
Break-even CPA£ 120.00Equals available spend per sale
Break-even CPL£ 24.00£120 multiplied by 0.20
Break-even CPC£ 1.20£24 multiplied by 0.05
Revenue-based CPA limit£ 200.00Revenue only (reference, not safe to bid)
Profit retained per sale£ 0.00Target profit entered as 0

Alternative scenario: with target profit

Change E6 to 30, then repeat the paste-special step to copy 30 into G6. Expected results with all other inputs unchanged:

Result labelExpected value
Max ad spend per sale£ 90.00
Break-even CPA£ 90.00
Break-even CPL£ 18.00
Break-even CPC£ 0.90

The break-even CPC drops from £1.20 to £0.90 because £30 of the contribution margin is now reserved as profit before advertising is paid for. This illustrates why a target-profit scenario always produces tighter bid limits than a pure break-even scenario.

For ideas on structuring result outputs in published tools, see the GSheetPress table feature overview, which explains how tabular outputs can complement calculator results on published pages.

Frequently asked questions

Why should I use contribution margin instead of revenue as my CPA limit?

Revenue includes the variable costs you must pay regardless of advertising — materials, fulfilment, and payment processing fees. If you bid up to your revenue per sale, those variable costs eliminate your margin entirely and you lose money on every customer acquired. Using contribution margin (revenue minus variable costs) as your starting point means advertising is the only additional spend you are comparing against, which gives an honest break-even figure.

My click-to-lead and lead-to-sale rates change month to month. How should I handle that?

Use a conservative — that is, lower — estimate of each rate when setting your maximum bids. A lower conversion rate means fewer sales per pound of ad spend, so your safe CPC and CPL fall. If your rates improve you will simply under-spend relative to your capacity, which is a safe position. You can test different scenarios by temporarily changing E4 and E5 and repeating the paste-special step into G4 and G5. For guidance on updating a published calculator, visit the GSheetPress support pages.

Can I use this model for e-commerce where there is no separate lead stage?

Yes. If your funnel goes directly from click to sale with no lead stage, set the lead-to-sale rate input (E5 default, G5 at runtime) to 100, meaning 100% of leads become sales. The CPL output then equals the CPA output, and the break-even CPC is driven entirely by the click-to-sale rate that you entered as the click-to-lead rate. All formulas continue to produce correct results with this adjustment.

Troubleshooting

Results show dashes instead of numbers

The most common cause is that column G still contains blank cells because the paste-special step was skipped. Select E2:E7, copy, click G2, and use Paste special → Values only. If dashes persist, check that G4 and G5 contain values between 1 and 100 and that G2 is greater than G3.

B12 or B13 shows a warning string instead of a currency amount

This means the value in J3 is the text warning rather than a number. This happens when the target profit entered in G6 is equal to or greater than the contribution in J2. Reduce the value in G6 or increase the contribution margin by adjusting G2 and G3.

The currency symbol is missing from results

Confirm that G7 contains a text string such as £ or $. If G7 is blank, the TEXT formula still produces the number but no symbol precedes it. The currency field is optional and purely cosmetic — blank is acceptable if you prefer plain numbers.

Formulas return a #VALUE! error

This usually means a cell referenced in a formula contains text where a number is expected. Check that G2 through G6 contain only numeric values, with no accidental spaces or unit labels typed into those cells.

The add-on sidebar shows a different menu structure

GS2Web is updated periodically. If the menu path differs slightly from what is described in Step 1, look for a Calculator option within the main add-on sidebar. If you cannot locate it, consult the GSheetPress support pages or verify that your plan includes the Calculator entitlement at GSheetPress pricing.

Results differ from the worked example

Verify that all six G cells match the expected defaults: G2 equals 200, G3 equals 80, G4 equals 5, G5 equals 20, G6 equals 0, and G7 equals the pound sign. Click each result cell and read the formula bar to check the formula is exactly as given above. A common error is referencing G4 and G5 directly in result formulas instead of using the decimal helper cells J4 and J5 — the helper cells handle the divide-by-100 conversion, so result formulas must reference J4 and J5.

Publish and test your web calculator

  1. Share the workbook for publishing. Click the Share button in the top-right corner of your Google Sheet. Under General access, change the setting to Anyone with the link and set the role to Editor. Click Done. Important: this setting allows anyone who obtains the spreadsheet link to edit the spreadsheet directly. Use only your dedicated sample workbook for this step — never a file containing private or sensitive data.
  2. Select the calculator tab. Click the sheet tab that the add-on created for your calculator. Do not select a data tab or the default Sheet1.
  3. Open the publish command. In the GS2Web sidebar, click Calculator, then click Publish Calculator.
  4. Wait for confirmation. The add-on displays a confirmation message when publishing is complete. Do not close the sidebar or navigate away from the spreadsheet during this step.
  5. Open the Calculator Link sheet. After publishing, the add-on creates or updates a sheet called Calculator Link (or a similarly named sheet) within your workbook. Open it and locate the row that matches your calculator by its Sheet Name.
  6. Use the public link, not the edit link. In the matching row, the link in column C is the public-facing calculator link. The link in column B is the edit link for the spreadsheet itself — do not share that. If your calculator does not appear in the list, click Get Links to refresh the sheet.
  7. Test with the worked example. Open the column C link in a browser. Enter the worked example values: revenue 200, variable cost 80, click-to-lead rate 5, lead-to-sale rate 20, target profit 0, currency symbol £. Click Calculate and confirm the results match: contribution £120.00, CPA £120.00, CPL £24.00, CPC £1.20. Then change target profit to 30, click Calculate again, and confirm CPC shows £0.90.
  8. Embed the calculator optionally. If you want to embed the calculator in a website, copy the iframe code from column D of the Calculator Link sheet and paste it into an HTML block on your page.
  9. Republishing retains the existing link. If you update labels, defaults, or formulas later and republish the same calculator using Publish Calculator, the public link in column C remains unchanged. Only newly created calculators receive new URLs.