Skip to content
Bach.ai

Measurement · Glossary

What is gross margin?

By The Bach.ai Team · sources listed below, last reviewed 24 Nov 2026 · Editorial standards

How it is calculated

Gross margin % = (revenue - cost of goods sold) / revenue x 100

Illustrative: a product sold for 100 that costs 55 to make and stock has a 45% gross margin.

Why it matters, and what a good value depends on

Gross margin ignores per-order costs such as shipping, payment fees and returns, so break-even built on it alone is optimistic. Contribution margin is the stricter view for ad decisions.

Margins differ by product. A blended average hides which products can afford paid acquisition and which cannot; compute it per product or product group.

A practical check

Pick your five best-selling products and compute margin for each from invoices, not from a catalogue average. Then compute break-even ROAS for each (1 divided by margin). If they differ a lot, one blended target is hiding which products can afford paid acquisition.

Common mistakes

  • Leaving freight or packaging out of product cost.
  • Using one blended margin for every product.
  • Using it as the break-even basis when per-order costs are large.

Where to find it

These come from your own store and finance data rather than from a single ad platform: your store admin reports, your accounting or your analytics.

Frequently asked questions

Gross margin or contribution margin for ad decisions?

Contribution margin is stricter and safer, because it includes costs that scale with each order.

Does discounting change gross margin?

Yes. A discount lowers revenue with the same product cost, so margin falls.

Where do I get my cost of goods?

From your supplier invoices or accounting, plus inbound freight if you treat it as part of product cost.

Related terms

Go deeper

See it in your own account

Bach.ai reads your connected Meta and Google Ads accounts and your store data, and shows the numbers behind terms like this one. By default, a change is only applied after you approve it.

Start Free AuditAll glossary termsAudit checklist

Last updated

See what your Meta ads are really costing you.

Connect your account and Bach ranks potential revenue leaks with estimates and actions you can review. Free for 7 days, no credit card.

Start Free Audit
Start your free audit