System: nominal

Lab // Unit Economics and Measurement / Proof that can't be faked

Calculating ecommerce margin in Canada after GST, HST and duties

The short answer

Ecommerce margin in Canada should be calculated on the price before sales tax, after product cost, shipping, duties and payment fees. Sales tax you collect belongs to the government, so counting it as revenue overstates margin and makes your break-even ROAS look lower than it really is.

Key takeaways
  • Collected sales tax is not revenue. Strip it out before you calculate anything.
  • Direct cost includes duty, brokerage and return shipping, not only the product.
  • Courier imports from the US and Mexico are tax-free under CAD 40 and duty-free under CAD 150.
  • A margin that is wrong by five points moves your break-even ROAS by more than you expect.

Revenue for margin is the price before tax

A tax-inclusive price of $113 in Ontario contains $13 of HST. Revenue for margin purposes is $100. Using $113 would overstate margin by 13 percent and hand you a break-even ROAS you cannot actually hit.

The tax is not yours. You collect it on behalf of the government and remit it, so it never belongs on the revenue line of a margin calculation even though it does pass through your bank account. Shopify, WooCommerce and most payment processors report gross and net separately, and the net figure is the one to use.

This sounds obvious written down. It goes wrong in practice because the number that lands in the bank is the gross one, and a spreadsheet built from bank deposits rather than from the order export will quietly carry the tax all the way through to the ad budget.

What counts as direct cost

Direct cost means every cost that scales with the order. If you sold one more unit tomorrow, whatever goes up is direct. Rent and salaries do not move, so they are overhead and they belong below the margin line.

Cross-border sellers carry more of these than domestic ones, and the ones people forget are the ones that arrive on a separate invoice weeks later. Brokerage fees from the courier and chargeback fees from the processor are the two that most often sit outside the margin model entirely.

  • Supplier cost of the product.
  • Inbound freight to your warehouse or fulfilment partner.
  • Import duty and customs brokerage.
  • Outbound shipping and packaging.
  • Payment processing and currency conversion fees.
  • Expected returns: refunded revenue plus return shipping and restocking.

Imports: where the thresholds actually bite

A worked example

A product sells at $100 before tax. Product cost is $35, inbound freight and duty $8, outbound shipping $9 and payment fees $3. Direct cost is $55, so gross margin is 45 percent and break-even ROAS is 1 divided by 0.45, or 2.22.

Now add the two costs that usually sit outside the model. An 8 percent return rate costs $8 of refunded revenue and $3 of return shipping on the orders that come back, which together take roughly 3.5 points off the blended margin. Brokerage at $2 an order takes another two. Margin lands near 39.5 percent and break-even ROAS rises to 2.53.

The gap between 2.22 and 2.53 is the whole argument for doing this carefully. A campaign reporting a ROAS of 2.4 looks profitable against the first figure and loses money against the second. Check your own numbers in the margin vs markup calculator, and see gross margin if the term and markup still blur together.

LineSimple modelWith returns and brokerage
Revenue before tax$100.00$100.00
Direct cost$55.00$60.50
Gross margin45.0%39.5%
Break-even ROAS2.222.53

Convert currencies once, at a stated rate

A Canadian seller buying in US dollars and selling in Canadian dollars carries an exchange rate inside every unit of margin. Converting each line at the rate on the day it was incurred produces a margin figure that moves for reasons that have nothing to do with the business.

Pick one reporting currency and one convention, such as the monthly average rate, and apply it to every line in the stack. Record the rate you used alongside the month's numbers so a later reader can reproduce the figure.

If the currency exposure is large enough to change decisions, that is a treasury question rather than a margin question. Keep the two apart so your campaign reporting stays comparable month to month.

Returns change the number more than people expect

A return removes the revenue and keeps most of the cost. The outbound shipping is spent, the payment processing fee is often only partly refunded, and the return shipping is new. On a 45 percent margin product, a 10 percent return rate typically costs four to five points of blended margin.

Track the rate by product rather than across the catalogue. Apparel and anything sized behaves differently from consumables, and a blended figure hides the SKUs that are quietly unprofitable once returns are counted.

Feed the blended margin, not the headline one, into your target ROAS. That single substitution is the most common reason a store's reported ROAS looks healthy while the bank balance does not.

Free tool / Accounting

What is the difference between margin and markup?

Margin vs Markup Calculator

Questions about Unit Economics and Measurement

Should marketing cost be inside gross margin?

No. Gross margin covers the direct cost of fulfilling an order. Marketing is handled on the other side of the comparison, through break-even and target ROAS.

Do returns change margin?

Yes, and by more than most models assume. Subtract refunded revenue, count return shipping, and use the blended figure for ad targets.

What is the Canadian de minimis for imports from the US?

CAD 40 for taxes and CAD 150 for duties on qualifying courier shipments, per CBSA Customs Notice 20-18. Goods transshipped through the US do not qualify.

Does the collected GST count as revenue?

No. It is collected on behalf of the government and remitted, so it never belongs in the revenue figure you calculate margin from.

Is this tax or customs advice?

No. Confirm duty classifications with a licensed customs broker and your tax treatment with a Canadian accountant.

Key terms

Written by

Kartikeya Awasthi, Co-founder, InTrendz Media

Kartikeya has 12 years of experience across Accenture, EY, Coforge and other enterprises. He holds an MBA from NMIMS Mumbai and has received CII National Gold and Silver awards for AI and Industry 4.0 work. He writes and reviews every article on the InTrendz blog. More about the author

How we write and review

Keep reading