Fixed prices, paid once·Written replies within one working day
CheckoutLoom.

Marketing and retentionWin shoppers back

View all marketing →

Support and order careAnswer faster

View all support →

Product contentBetter listings

View all product content →

Inventory and pricingPrices and suppliers

View all inventory →

Finance and riskMoney and disputes

View all finance →

Shopify and WooStore-specific

View all services →

Dropshipping and EtsyMarketplaces and print

View all services →

Explore everything

Pick a way in. Every page has a fixed price and a delivery window.

All services88 automations for storesAll platformsShopify, WooCommerce and moreAll integrations82 tools we connectRequest a quote →

ShopifyStore platform

View all Shopify →

WooCommerceStore platform

View all WooCommerce →

BigCommerceStore platform

View all BigCommerce →

WixStore platform

View all Wix →

AmazonMarketplace

View all Amazon →

EtsyMarketplace

View all Etsy →

eBayMarketplace

View all eBay →

Your platform

Automation built for the store or marketplace you already sell on.

Store platforms8 platformsMarketplaces11 marketplacesAll who we serve363 pagesRequest a quote →

DropshippersSeller type

View all dropshippers →

DTC brandsSeller type

View all dtc brands →

Handmade sellersSeller type

View all handmade sellers →

Subscription boxesSeller type

View all →

B2B and wholesaleSeller type

View all b2b and wholesale →

AgenciesSeller type

View all agencies →

PrintfulPrint-on-demand

View all Printful →

Your kind of store

Pages written for how each type of seller actually works.

Seller types14 types of sellerPrint-on-demand9 platformsPopular audiences20 moreRequest a quote →

Email and SMSKlaviyo, Mailchimp and more

View all email and sms →

Support and chatGorgias, Zendesk and more

View all →

Payments and accountingStripe, QuickBooks and more

View all →

Shipping and suppliersShipStation, DSers and more

View all →

Reviews, ads and creativeJudge.me, Meta Ads and more

View all →

Automation and dataZapier, Make, Sheets

View all →

Marketplace and feed toolsGoogle Merchant, Helium 10

View all →

Works with your tools

We build inside the apps you already pay for.

All integrations82 toolsEmail and SMSKlaviyo, MailchimpPaymentsStripe, QuickBooksRequest a quote →

How-to guidesStep by step

View all 63 how-to guides →

Templates and checklistsCopy and use

View all 68 templates →

ComparisonsTools and options

View all 44 comparisons →

Cost and ROIWhat it costs

View all 34 cost pages →

GuidesLong reads

View all 14 guides →

Compliance and riskRules in plain words

View all →

Glossary and statisticsTerms and numbers

View all 17 →

Learn before you buy

Guides, templates and honest comparisons, free to use.

Resources hub256+ free resourcesBlogPractical articlesStatisticsSourced numbersRequest a quote →
Checkout Loom blog

Ecommerce profit tracking: find your true margin, order by order

Revenue is a vanity number. This guide lists every cost that sits between a sale and a profit, shows how to calculate contribution margin and explains how to see it daily.

  • 8 minute read
  • Written for store owners
  • Sources named
72%Margin kept+4.2%

Most store owners know their revenue to the dollar and their profit only roughly. The admin dashboard shows sales by day, the accounting software shows profit weeks after the month closes and in between the picture is guesswork. Yet decisions are made daily: whether to run a discount, how much to spend on ads, which products to push, which to drop. Without an honest view of margin, those decisions drift, and stores can grow steadily while quietly losing money on the very orders they are proudest of.

This guide explains how to calculate the true margin of an order, a product and a channel. It lists every cost that belongs in the calculation, shows a worked example, explains where the data hides, and describes how to automate a daily profit view with a margin floor. It builds on the bookkeeping structure in Shopify QuickBooks integration options, because clean books and clean margins depend on the same discipline, and on the refund handling in refund rules to automate. It is general information, not accounting advice.

Revenue, gross profit, contribution margin and net profit

MeasureWhat it includesUse it for
RevenueWhat customers paid, before anything is deductedGrowth tracking only
Gross profitRevenue minus the cost of goods soldA first look at product margin
Contribution marginRevenue minus all variable costs of the order: goods, shipping, fees, packaging, returns, discounts and acquisitionDaily decisions on products, ads, discounts and channels
Operating profitContribution margin minus fixed overheads such as salaries, software and rentWhether the business is sustainable
Net profitOperating profit after tax and interestWhat the owner keeps

Contribution margin is the most useful number for day-to-day work because it is the part of each sale that is left to pay for fixed costs and to make a profit. A product with a positive gross margin and a negative contribution margin loses money every time it sells; ordinary reports often miss this.

Every cost that belongs in the order

CostWhere it hidesHow to capture it
Product cost (COGS)Supplier invoices, landed cost including freight and dutyA cost field per product or variant, kept up to date
Shipping you payCarrier invoices, labels, a shipping toolCost per shipment matched to the order
Shipping the customer paysOrder totalCounted as revenue, not an offset to cost
Payment processingProcessor reports and payoutsFee per order from payout data
Packaging and handlingWarehouse or your own timeA per-order estimate by size or weight
Discounts and promotionsOrder discount fieldsAlready reduce revenue; track the code and campaign
Returns and refundsRefund records, return shipping, write-offsAllocate to the original order and product
AdvertisingAd platformsSpend by channel, matched to orders by campaign or modelled
Marketplace and platform feesSettlement reportsPer order or per payout

A worked example, order by order

Take an order for a candle set sold through your store for sixty-four dollars including a four-dollar shipping charge, with a ten percent discount code applied to the goods. Here is the calculation, with illustrative costs.

LineAmountNote
Goods at list price$60.00Before discount
Discount code (10 percent of goods)-$6.00A cost of marketing
Shipping charged+$4.00Revenue
Order revenue$58.00What the customer paid
Product cost (landed)-$21.00From supplier invoice and freight
Shipping paid to the carrier-$7.50Label cost
Payment fees-$2.05A typical card fee structure
Packaging-$1.20Box, filler and label
Allowance for returns (average)-$2.40Expected refunds and returns across all orders
Advertising to earn the order-$14.00Customer acquisition cost for this channel
Contribution margin$9.85About 17 percent of revenue

Illustrative figures. The point is the shape: revenue of $58 turns into under $10 of contribution after variable costs.

Notice how the story changes with each line. The gross margin on goods looks healthy: sixty dollars of goods at a twenty-one dollar cost. By the time shipping, fees, returns and advertising are counted, less than a fifth of revenue remains. A second order from the same customer, with no advertising cost, might earn $23 of contribution. This is why repeat purchase and retention often matter more than the headline conversion rate.

Measure at three levels

LevelQuestion it answersTypical finding
OrderWhich individual orders lose money?Heavily discounted orders, orders with expensive shipping, first orders with high ad cost
ProductWhich products earn their space?A best seller with thin margin; a slow product that earns a lot
ChannelWhere does profit actually come from?A marketplace with high fees; paid social with weak returns
Customer cohortDo customers pay back their acquisition cost?Cohorts from one campaign repay slowly, others quickly

Averages are dangerous. A store can have a healthy average margin while a third of its products lose money, subsidised by a few that earn a lot. Only a breakdown reveals the cross-subsidy, and the decision it suggests, such as raising prices, dropping or bundling the losers, is often the cheapest profit improvement available.

Where the data hides, and how to find it

  • Cost prices. The most important and most often missing field. If a product has no cost, every profit report involving it is wrong. Fill costs for every variant, and update them when suppliers change.
  • Shipping costs. Carrier invoices arrive in bulk and are rarely matched to orders. A shipping tool can record the label cost per order; otherwise estimate by weight and zone.
  • Payment fees. Processors report fees by payout and by transaction. Match them to orders.
  • Refunds and returns. Allocate each to the original order or product, including the cost of return shipping and write-offs.
  • Advertising. Platforms report spend and attributed sales that overlap; use blended measures such as total ad spend against total new-customer revenue as a check.
  • Marketplace fees. Settlement reports list fees by order or by period; map them.

Automate a daily profit view

A report built once by hand is stale next week. The robust approach is a small automation that collects orders, costs, fees and spend each day, calculates contribution margin per order, product and channel, and delivers a short summary with exceptions. It should highlight products below a margin floor and orders that lost money, with the reasons.

ComponentWhat it doesNotes
Order feedPulls paid orders with items, discounts and shipping chargedFrom the store, by webhook plus a catch-up
Cost tableHolds product cost, packaging and handling assumptionsReviewed monthly; changes dated
Fee matchingAttaches processor and marketplace fees to ordersFrom payout and settlement data
Shipping costsAttaches label costsFrom the shipping tool or carrier data
Ad spendAdds spend by channel and campaignAllocated to orders by a stated rule
Margin engineCalculates contribution margin and flags exceptionsWith a margin floor per product group
DigestSends a daily or weekly summaryTop and bottom products, losing orders, trend

Our AI sales reporting and finance, risk and reporting automation services build this view from your own data, and payout reconciliation and bookkeeping supplies the fee and refund detail that makes it accurate. If you sell on marketplaces, the Amazon-focused AI for Amazon sales and eBay-focused AI for eBay sales services start from a profit view.

Margin floors and what to do when a product falls below them

A margin floor is the lowest contribution margin you will accept for a product or order. It turns the report into a decision rule. Below the floor, the options are few: raise the price, cut the cost, change the shipping offer, reduce discounts, stop advertising it or drop it. Decide the response in advance, so that a report leads to action rather than to a worried look.

  • Set floors by group, not one for everything; a premium line can carry a higher floor than a loss leader.
  • Treat deliberate loss leaders as marketing, with a budget and a measured effect on repeat purchase.
  • Review discount policy. Stackable codes and free shipping thresholds often cause the worst orders.
  • Check price changes by margin, not only by conversion. A price rise that costs a few orders may raise profit.
  • Look at bundles. Pairing a thin-margin item with a high-margin one can lift the order’s contribution.

A short checklist to start this week

  1. Export products and fill in missing cost prices; start with the top fifty sellers.
  2. Download a month of orders, payouts and shipping costs.
  3. Calculate contribution margin for each order using the table above.
  4. Rank products by total contribution, not by revenue.
  5. List the ten products or channels with the lowest margins and decide an action for each.
  6. Write down the margin floors and review them monthly.
  7. When the manual process proves its value, automate it.

Sources and further reading

Figures and rules in this guide come from the primary pages below. Platform limits and prices change, so open the page before you build on a number.

Questions

8 questions readers ask about this topic

How do I calculate profit per order in Shopify?

Take the revenue, subtract product cost, shipping paid, payment fees, packaging, returns allowance, discounts and the advertising cost to earn the order. The result is contribution margin.

What is contribution margin?

Revenue minus the variable costs of an order. It is what remains to cover fixed overheads and profit and is the best guide for daily decisions.

Why is my store busy but not profitable?

Often because discounts, shipping, fees, returns and advertising consume the gross margin. A per-order and per-product view shows where.

Where do I find product cost data?

Supplier invoices and landed cost records. Store a cost per variant in your platform or a cost table and update it when suppliers change.

How should advertising be counted?

As a variable cost of acquiring the order, allocated by channel or campaign, with a blended check across total spend and new-customer revenue.

What is a margin floor?

The lowest contribution margin you will accept for a product or order, which turns reports into decisions.

Can profit tracking be automated?

Yes. An automation can gather orders, costs, fees and spend daily, calculate margin and flag exceptions.

Is this accounting advice?

No. It is general guidance; ask your accountant how to treat costs in your books.

See your true margin every morning

A daily contribution margin view by order, product and channel, with a floor that flags what to fix.

  • Fixed price, paid once
  • Built inside your tools
  • Thirty days of fixes