Profit metrics explained
How COGS, gross profit, CM1, CM2, CM3, payment fees and EBITDA are worked out, which costs each one takes off, and where to set those costs.
6 min readUpdated 15 October 2026
Profit figures start from your sales and take off costs in layers, so you can see where margin goes. The P&L (Trading, P&L) shows every layer in one statement. Each layer is called a contribution margin, CM for short.
Before you start
- A connected Shopify store, with product costs filled in on your products in Shopify. Without them, COGS is understated.
- Meta or Google Ads connected for CM3 to include ad spend.
- Your other costs set up in Settings, Costs: shipping and fulfilment, payment gateways, affiliate commissions, fixed overheads and anything else. Who can edit Costs depends on your role.
- Opening the P&L needs the P&L permission and a plan that includes it.
The layers, top to bottom
| Figure | How it is worked out |
|---|---|
| COGS | Each product's unit cost at the time of the order, times quantity, on orders placed in the period. Returned items' cost is taken back off automatically. |
| Gross profit (CM1) | Net sales plus shipping, less COGS. |
| Gross margin | Gross profit divided by net sales plus shipping, as a percentage. On the P&L this is CM1 %. |
| Transaction fees | Shopify Payments' processing, currency conversion, refund and chargeback fees, as Shopify reports them for each order, settled to the exact amount taken from your payout. |
| Gateway fees | Fees worked out from each other payment provider's rate (for example PayPal or Stripe), set in Costs, on the part of the order that provider handled. A gift card's part is left out. |
| Chargebacks | Money withdrawn from you for a disputed order. A won dispute gives it back, so it nets to nothing. Counted in CM2. |
| Duty paid | Duty on the period's orders: billed by Shopify, else uploaded, else the duty Shopify calculated on the order. A cost in CM2. |
| Duty collected | Duty shoppers paid on top at checkout, less duty refunded. It is in no sales figure, so it comes back in CM2 against Duty paid. Duty inside a duty-inclusive price is part of net sales instead. |
| Payment fees | Transaction fees plus gateway fees. The P&L shows one fees line per gateway, Shopify Payments first. |
| CM2 | Gross profit less transaction fees less the costs assigned to CM2 (gateway fees, shipping and fulfilment, chargebacks and duty among them). An order with a real shipping cost, a Shopify Shipping label or uploaded freight, takes that cost instead of your shipping rule. |
| CM3 | CM2 less total ad spend less the costs assigned to CM3 in Costs (affiliate commissions, for example), and for a brand Fabrik manages, Fabrik's retainer and commission. |
| Fixed overhead | Fixed costs from Costs (rent, salaries, software), spread evenly by day across the period. A one-off cost is charged once, on its start date. Your Shopify plan's price shows as its own line, Shopify subscription, from 16 October 2026. |
| EBITDA | CM3 less the costs assigned to EBITDA in Costs. |
| EBITDA margin | EBITDA divided by net sales plus shipping, as a percentage. |
One rule on every screen
CM1, CM2 and CM3 are worked out once, the P&L's way, and every screen shows that same figure: the Dashboard's tiles and charts, Trading, the P&L, a portfolio's pages and the agency's client scorecard. Since 15 October 2026 none of them takes a shortcut such as gross profit less payment fees for CM2: CM2 takes off every direct variable cost the P&L takes off, and CM3 takes off custom acquisition costs as well as ad spend. Where a screen shows the steps between them, it calls them Fees and variable costs (or Direct variable costs) from gross profit to CM2, and Marketing and acquisition from CM2 to CM3.
A worked example
Fellwick's month: net sales plus shipping 50,000; COGS 20,000; payment fees 1,000; packaging and couriers 3,000; ad spend 12,000; fixed costs 8,000.
- CM1: 50,000 less 20,000 = 30,000 (60%)
- CM2: 30,000 less 1,000 less 3,000 = 26,000 (52%)
- CM3: 26,000 less 12,000 = 14,000 (28%)
- EBITDA: 14,000 less 8,000 = 6,000 (12%)
Step by step: read the P&L
- Open the brand and choose Trading, then P&L.
- Pick the month, quarter, half or year in the P&L's period control.
- Above the statement, the tiles give the headline figures, Profit over time shows the months before, and Where the money went shows how revenue splits into costs and profit.
- Read down the statement: Revenue, then Cost of goods sold, Direct variable costs down to CM2, Marketing and acquisition down to CM3, and Overheads down to EBITDA. Each profit subtotal is bold, with its margin underneath, and the share column gives each line's share of net sales + shipping. The statement opens on your period against the same dates last year, then each month; see Read the P&L.
- Payment fees show as one line per gateway. Select any line for both periods, its share, what it is made up of and where it comes from.
What you will see
- If no costs have been set, a notice says so and links to Settings, Costs.
- The section Cash collected, at the foot and marked Not in profit, shows taxes and duties collected and Total sales. These are money you collected, not income, so they are kept out of profit. Only duty paid less duty collected reaches profit, through the Duty paid and Duty collected lines in CM2.
- Chargebacks, Duty paid and Duty collected are lines of their own in CM2, never inside Custom variable costs.
- Ad spend is shown per platform under Marketing and acquisition, converted into your reporting currency.
- With one market picked, fixed costs show as one line, Fixed costs, not allocated to markets, and the statement stops at CM3.
Troubleshooting
- "The P&L could not be loaded": the statement could not be read. Choose Try again. If it keeps happening, email support@fabrikanalytics.com.
- "No Shopify sales in this period": there are no orders in the chosen dates, or the store is not connected.
- Gross margin looks too high: some products probably have no cost in Shopify. Add unit costs in Shopify and they are picked up on the next sync; orders sold before you added a cost take it too.
- Fees look low: some orders arrive from Shopify with no fee recorded, which pulls the measured fee down.