Product Module · Margin & POAS Engine

Profit & Margin Calculation Modes in Karsa.ai

Choose from 5 server-side calculation modes and write custom formulas in Karsa.ai for fast deployment and accurate net profit.

Direct Answer · Key Summary

Karsa.ai supports five profit modes and custom formulas so every online store deploys fast with zero storefront code changes. Start with Conversion Value or Global Margin %, or connect XML g:cost_of_goods_sold, uploaded CSV files, or Google Ads gross profit.

Karsa.ai Portal View Click to inspect ⤢
Karsa.ai Portal Profit Calculation screen showing XML feed COGS, CSV SKU rates, Google Ads Cart Data, and store-wide percentage
Karsa.ai Portal Settings → Profit Calculation supporting five server-side margin and revenue data sources.

Built for effortless onboarding and accurate profit calculation

No two online stores report Google Ads conversion value in the exact same way. One store sends tax-inclusive revenue, while another reports net order totals. Others push gross profit via Cart Data or keep rates in an ERP spreadsheet.

Karsa.ai supports five server-side modes plus custom profit formulas so your team deploys in minutes without developer work or GTM rewrites. You start with whatever data you already have and still compute exact net earnings and cluster break-even ROAS.

Five profit and margin calculation modes in Karsa.ai

Calculation Mode Input Source Best For Break-Even ROAS Precision
1. Conversion Value (ROAS) Google Ads conv_value with custom formula Stores optimizing revenue or already sending POAS to Google Ads Account target baseline
2. Global Margin % Single store-wide % in Portal Fast Day-1 setup when SKU costs are not exported yet Store-wide break-even floor
3. XML Feed Margin (COGS) Standard g:cost_of_goods_sold + g:price in primary XML feed Stores exporting wholesale cost in their Merchant Center feed Exact SKU-weighted cluster break-even
4. Individual SKU Margins (CSV) Uploaded SKU, margin % CSV/TSV/TXT file or manual entry in Portal ERP exports where wholesale cost stays out of GMC Exact SKU-weighted cluster break-even
5. Profit from Google Ads Google Ads Cart Data gross profit (GP) Advertisers already sending server-side COGS to Google Direct Google Ads profit reconciliation

Write custom profit formulas to match your exact tracking

Every mode under Settings → Profit Calculation includes an editable Formula field. Combine clear variables (CV, GP, margin, cost) with standard arithmetic operators (+ - * / ( )).

Custom Formula Editor (Settings → Profit)

Write your own equation with variables CV, GP, margin, and cost, then verify via Show Calculation before saving.

1. POAS in conversion value: CV - cost

For stores already sending gross profit directly to Google Ads.

2. Ex-VAT revenue + rate: CV * margin - cost

Quick start using a global %, uploaded CSV file, or XML COGS.

3. Tax-inclusive revenue: (CV / 1.21) * margin - cost

Removes VAT server-side without touching storefront checkout tags.

4. Google Ads Cart Data: GP - cost

Reads native gross profit from Google Ads with automatic fallback.

Custom profit formula editor and four ready-to-use calculation patterns in Karsa.ai Illustration of the Karsa.ai custom formula editor with live preview. Four common equations cover POAS tracking, global or SKU margins, VAT removal, and Google Ads Cart Data. Custom profit formulas in Karsa.ai: match your exact Google Ads setup Formula Variables: CV, GP, margin, cost | Operators: + - * / ( ) profit = (CV / 1.21) * margin - cost Show Calculation ✓ Live preview + Check Data coverage report before activation · Zero storefront code changes 1. Profit already sent in conversion value profit = CV - cost Matches stores already tracking POAS in Ads 2. Ex-VAT revenue + global or SKU margin profit = CV * margin - cost Works with global %, CSV upload, or XML COGS 3. VAT-inclusive revenue in Google Ads profit = (CV / 1.21) * margin - cost Adjusts VAT server-side with zero GTM work 4. Google Ads Cart Data gross profit profit = GP - cost (or GP / 1.21) Uses native Google gross profit + fallback rate Start in minutes with the data you have today. Refine formulas or switch modes anytime.
Illustrative portal editor · Write custom profit formulas across all five margin modes so setup takes minutes with zero IT changes.

This flexibility removes the usual onboarding blockers:

  1. Handle tax cleanly: Strip VAT right inside your equation ((CV / 1.21) * margin - cost) or add a conversion divisor. Checkout scripts stay untouched.
  2. Verify before saving: Click Show Calculation for an instant numeric preview of your formula. For XML COGS and Google Ads profit modes, Check Data measures coverage across your trailing 30-day revenue and exports missing product IDs to CSV.
  3. Safe file validation and category fallback: Uploaded CSV / TSV / TXT files run through a pre-import validator with Replace or Merge options. New SKUs without an explicit entry inherit their product category’s average margin automatically.

Role of product margins versus predictive clustering

Sorting products into campaigns purely by gross margin mixes unequal items. A 60% margin product at 0.1% conversion rate behaves very differently in auctions from a bestseller at 4.5%.

In Karsa.ai, clustering and margin math have distinct, exact roles:

  1. Predicted product performance decides which cluster (C1, C2, C3… or optional C0) an item joins, keeping campaign behavior uniform.
  2. Product margin sets break-even ROAS (1 / rate), net earnings after ad spend, conversion thresholds, and optional C0 loss detection.

Server-side privacy and automatic cluster break-even updates

Karsa.ai calculates weighted margins across the exact SKUs inside each cluster every night. Your Cluster Summary and Targets & Budgets views therefore display the live break-even floor of every group (such as 2.50 at 40% net margin).

When wholesale costs shift or seasonal promos change XML prices, break-even floors update overnight. Storefront tags stay untouched, and shopper browsers never receive wholesale cost data.

Frequently asked questions

Why does Karsa.ai support five profit modes plus custom formulas?

Online stores report conversion value differently in Google Ads: some include VAT, some send net revenue, and some track gross profit directly. Supporting five data sources and custom formulas makes onboarding fast without forcing store IT changes, while still calculating accurate net earnings.

Does Karsa.ai expose our wholesale product margins in browser tracking scripts?

No. Client-side POAS tags risk leaking wholesale costs in browser requests. Karsa.ai reads g:cost_of_goods_sold or uploaded CSV files on the backend inside your private workspace.

Can we start with a global margin percentage and switch to SKU-level CSV or XML COGS later?

Yes. Start your 30-day free trial with Conversion Value or a single Global Margin %. You can switch to XML g:cost_of_goods_sold, CSV SKU files, or Google Ads gross profit anytime without rebuilding campaigns.

Start a 30-day free trial of Karsa.ai with your own product feed.

Connect your product XML feed and read-only Google Ads access, review your clusters in the Karsa.ai Portal, and run live for 30 days.

Try for free Book a demo
30-day free trial · Merchant Center supplemental feed (custom_label) · 0% commission on ad spend