Skip to content

Marketing KPIs and Formulas: Work Them Out From Your Own Exports

CTR, CPC, conversion rate, CPA, ROAS, CAC and lifetime value, calculated step by step from Google Ads, GA4 and order exports for one example shop.

Edited by Andrew Storz · Last reviewed December 3, 2026 · 10 min read · How we check our guides

Your Google Ads account says the month went well: a 3% click-through rate, 30 sales and a ROAS of 160%. Your bank balance disagrees. Both can be true, and the gap usually comes from a formula applied to the wrong numbers, a percentage averaged when it should have been recalculated, or a revenue figure read as if it were profit.

Every marketing KPI in this guide is a simple division. The hard part is choosing the right numerator and denominator from the right export, and knowing what each answer can't tell you.

This guide follows one hypothetical business all the way through: a small online shop selling loose-leaf tea. Every number is made up for the example and isn't meant as typical. You'll download the same three exports the shop uses, work out each KPI step by step, and end with a one-page sheet you can rebuild every month.

The three exports you need

Most of the numbers come from three files.

  • Google Ads campaign table. On the Campaigns page, check that the table shows the date range, columns, filters and segments you want, then click the download icon above the table and choose a format such as Excel CSV or Google Sheets. Segments you've applied appear as rows in the file.
  • GA4 report. In Google Analytics 4, open a report such as Acquisition, then Traffic acquisition, click Share this report in the top right, choose Download File and then Download CSV. CSV and Google Sheets downloads include up to 100,000 rows. You need the Viewer role at the property level.
  • Your orders. From your shop or booking system, export each order with the customer, date and order total. This is the only file that knows which customers are new and which come back.

If you use Search Console data too, note Google's warning that values shown as ~ or - in its reports become zeros in the downloaded file.

Worked example: one tea shop, every KPI

Each step below gives the formula, its source, and the tea shop's arithmetic. The shop's Google Ads export for one month has two campaigns:

  • Brand (people searching the shop's name): 5,000 impressions, 400 clicks, $300 cost, 20 conversions, $1,240 conversion value.
  • Generic tea (people searching for loose-leaf tea): 20,000 impressions, 350 clicks, $825 cost, 10 conversions, $560 conversion value.
  • Total: 25,000 impressions, 750 clicks, $1,125 cost, 30 conversions, $1,800 conversion value.

Step 1: Click-through rate and cost per click

Google Ads defines click-through rate as clicks ÷ impressions, and average cost per click as the total cost of your clicks ÷ the number of clicks.

  • Brand CTR = 400 ÷ 5,000 = 8%. Generic CTR = 350 ÷ 20,000 = 1.75%.
  • Total CTR = 750 ÷ 25,000 = 3%.
  • Brand CPC = $300 ÷ 400 = $0.75. Generic CPC = $825 ÷ 350 = $2.36 (rounded).
  • Average CPC = $1,125 ÷ 750 = $1.50.

Notice the trap. The average of the two campaign CTRs is (8% + 1.75%) ÷ 2 = 4.875%, but the real CTR is 3%. Averaging percentages gives a small campaign as much weight as a big one. Whenever you combine rows, add up the counts and divide again.

Google notes that a good CTR is relative to what you're advertising and on which networks. CTR tells you whether people who saw the ad found it worth clicking, nothing about what they did next.

Step 2: Conversion rate and cost per acquisition

Google Ads calculates conversion rate as conversions ÷ the ad interactions that can be tracked to a conversion in the same period, and average CPA as the total cost of conversions ÷ the number of conversions.

  • Brand conversion rate = 20 ÷ 400 = 5%. Generic = 10 ÷ 350 = 2.86%. Total = 30 ÷ 750 = 4%.
  • Brand CPA = $300 ÷ 20 = $15. Generic CPA = $825 ÷ 10 = $82.50. Total CPA = $1,125 ÷ 30 = $37.50.

Two notes. Google says conversion rate can exceed 100% if you track more than one conversion action or count "Every" conversion, so check what your conversion actions count. And in GA4 the comparable figures are called key events and session key event rate, which divide by sessions rather than ad clicks. Write the denominator next to every rate you report.

Step 3: Return on ad spend and break-even ROAS

ROAS is conversion value ÷ ad spend. Google's own Target ROAS example: $5 in sales for each $1 of ad spend is a 500% ROAS.

  • Brand ROAS = $1,240 ÷ $300 = 4.13, or 413%.
  • Generic ROAS = $560 ÷ $825 = 0.68, or 68%.
  • Total ROAS = $1,800 ÷ $1,125 = 1.6, or 160%.

ROAS uses revenue, not profit. To see whether a ROAS pays for itself, work out your break-even point. If a share m of each sale is left after product cost, shipping and payment fees (your gross margin), an ad breaks even when revenue × m = ad spend, which means revenue ÷ ad spend = 1 ÷ m.

  • The tea shop's gross margin is 45%, so break-even ROAS = 1 ÷ 0.45 = 2.22, or 222%.
  • Brand: $1,240 × 0.45 = $558 gross profit against $300 spend, a $258 surplus.
  • Generic: $560 × 0.45 = $252 gross profit against $825 spend, a $573 shortfall.
  • Together: $810 − $1,125 = −$315 on these orders.

So the account-level 160% hides one campaign that more than pays for itself on these orders and one that doesn't. Before cutting Generic, though, look at repeat purchases below. And remember Brand's strong numbers come partly from people who were already looking for the shop; attribution can't tell you how many would have bought anyway.

ROAS is also not ROI. The Marketing Accountability Standards Board's dictionary describes return on investment as one way of considering profits in relation to capital invested, so it starts from profit, not revenue.

Step 4: Customer acquisition cost

CAC counts more than ads. The Corporate Finance Institute calculates it as sales and marketing expenses ÷ the number of new customers, where expenses include advertising, commissions, salaries and related overhead for the period.

The tea shop totals one quarter from its accounts:

  • Ads: 3 × $1,125 = $3,375. Email software: $105. Freelance design: $520. Total: $4,000.
  • The orders export shows 125 customers whose first-ever order fell in the quarter.
  • CAC = $4,000 ÷ 125 = $32.

CAC ($32) is lower than the ad CPA ($37.50), and both are right. CPA divides ad spend by ad-credited purchases, some by repeat customers. CAC divides all marketing costs by all new customers, including those who arrived through search, word of mouth or social posts. Keep the same cost list every period, or the trend means nothing.

Step 5: Customer lifetime value

Customer lifetime value asks what a customer is worth over the whole relationship. The tea shop starts with what it can observe, using its orders export:

  • Take every customer whose first order was in the first quarter of last year: 100 customers.
  • Add up all their orders in the 12 months after each first order: $14,400.
  • Revenue per customer = $14,400 ÷ 100 = $144. Gross profit per customer = $144 × 0.45 = $64.80.

That first-year figure already changes the picture. Against a CAC of $32, each new customer returns about twice their cost in year one ($64.80 ÷ $32 = 2.0). Generic's CPA of $82.50 is still above $64.80, so even counting a year of repeat orders, that campaign's customers cost more than they bring in, if they are new customers.

For a forward-looking figure, the Marketing Accountability Standards Board's dictionary gives a formula for when margin and retention stay constant: CLV = margin × (retention rate ÷ (1 + discount rate − retention rate)). It assumes the first margin arrives at the end of the first period with a probability equal to the retention rate, that lost customers don't come back, and that "margin" means contribution after deducting variable costs, including retention spending. With $64.80 a year as the margin (this simplified example ignores retention spending), 40% of customers kept each year and a 10% discount rate:

  • CLV = $64.80 × (0.40 ÷ (1 + 0.10 − 0.40)) = $64.80 × (0.40 ÷ 0.70) = $37.03.

That's the expected value of the years after year one, so a new customer is worth roughly $64.80 + $37.03 = $101.83 in gross profit under these assumptions. The dictionary notes that CLV represents an upper limit on what to spend acquiring a customer.

Try it: build your KPI sheet

You'll need Google Ads (if you advertise), GA4 Viewer access, your orders export and your monthly costs. Allow about 45 minutes the first time.

  1. In Google Ads, open Campaigns, set last month as the date range, make sure Impr., Clicks, Cost, Conversions and Conv. value are columns, and download the table as Google Sheets or Excel CSV.
  2. In GA4, open Reports, then Acquisition, then Traffic acquisition for the same dates, and use Share this report, then Download File, then Download CSV.
  3. Export last quarter's orders and, separately, all orders from customers who first bought in the same quarter a year earlier.
  4. In one sheet, add columns for each KPI and type the formulas, for example =C2/B2 for CTR when clicks are in column C and impressions in column B. Add a total row that divides the summed counts, never an average of the rates.
  5. Add your gross margin in one cell and calculate break-even ROAS as =1/that cell.
  6. Add your quarter's marketing costs, count new customers from the orders export, and calculate CAC and 12-month gross profit per customer.
  7. In a top row, write each KPI's definition and source, for example "Conversion rate = Google Ads conversions ÷ clicks".

Write down the one campaign or channel whose ROAS is below break-even and whose CPA is above 12-month gross profit per customer. That's the first thing to examine. You can check single CTR figures on screen with the CTR calculator.

Common mistakes

  • Averaging percentages across rows. Add the clicks, impressions or conversions and divide again.
  • Treating ROAS as profit. Compare it with your break-even ROAS from gross margin.
  • Comparing CPA with CAC as if they were the same. CPA is usually ad spend per ad-credited action; CAC is all marketing cost per new customer.
  • Mixing platforms in one formula. Google Ads conversions ÷ GA4 sessions describes nothing; take each numerator and denominator from the same source.
  • Changing the CAC cost list between periods. Adding a salary one quarter and leaving it out the next creates a fake trend.
  • Judging a campaign on first-order profit alone when customers reorder. Check 12-month gross profit per customer first.

Common questions

Which KPIs should a small business track first?

Start with the ones that connect spending to profit: CPA or CAC, ROAS against your break-even ROAS, and 12-month gross profit per customer. CTR and conversion rate then help you see where a weak number comes from.

What if there's no conversion value to report?

For leads rather than sales, you can still calculate CPA. To get a value, multiply the share of leads that become customers (from your records) by average first-year gross profit per customer, and use that as an estimated value per lead.

Why don't Google Ads conversions match GA4 key events?

Google Ads conversions and GA4 key events are measured differently, can use different attribution settings and even different time zones. Pick one source per KPI, write it down, and don't mix them.

How often should the KPIs be recalculated?

Monthly is enough for most small businesses, with CAC and lifetime value quarterly, because a few orders more or less can swing small monthly numbers.

Key takeaways

  • Every KPI is one division; the work is taking the right numerator and denominator from the same export.
  • Combine rows by adding counts and dividing again, never by averaging percentages.
  • ROAS is revenue-based: break-even ROAS = 1 ÷ gross margin.
  • CPA and CAC answer different questions; keep CAC's cost list the same every period.
  • Your orders export gives an observed 12-month gross profit per customer, the most useful yardstick for what acquisition is worth.

Sources

Spotted something out of date? Let us know.

More in Strategy & Analytics