Unit economics: what one order really earns
COGS, landed cost, shipping, payment fees and contribution margin, worked through one order step by step.
Revenue is the number everyone watches and the number that tells you the least. A store can grow sales every month and lose money on every order. Unit economics is the habit of asking what one order actually leaves you after the costs that come with it. If that number is negative, more orders make things worse, not better.
The terms
Cost of goods sold, or COGS, is what you paid for the product itself. Landed cost is COGS plus everything it took to get the product into your hands and ready to sell: freight, insurance, import duty, customs brokerage and port fees. Fulfillment cost is packaging, labels and any warehouse pick-and-pack fee. Outbound shipping is the label to the customer, whether or not the customer pays for it directly. Payment fees are the percentage and fixed fee your payment processor takes from each sale. Contribution margin is what is left from the sale price after all of those variable costs. It is the money available to pay for marketing, fixed costs and, eventually, you.
A worked example
Here is an illustrative order. Every number is made up to show the method, so replace them with your own. You sell a product for $40. The factory charges $8.00 per unit. Ocean freight works out to $1.50 per unit. Import duty, at an illustrative 10 percent of the $8.00 value, is $0.80. Your share of brokerage and port fees is $0.40 per unit. That gives a landed cost of $10.70.
Packaging and a label cost $0.80. You offer free shipping and the label costs you $6.50. The payment processor takes an illustrative 2.9 percent plus 30 cents, which on $40 is $1.46. You set aside 3 percent of revenue, $1.20, as an allowance for returns and refunds. Subtract all of that from $40 and you are left with $19.34. That is the contribution margin before marketing.
Now add the cost of getting the customer. If your ads cost $15 for every order they produce, the order leaves you $4.34. If ads cost $20 per order, you lose $0.66 on every sale, and growth makes the loss bigger. The contribution margin before marketing, $19.34 here, is your break-even customer acquisition cost. It is the most useful single number for deciding how much you can afford to spend on ads.
- Sale price: $40.00
- Landed cost (product, freight, duty, fees): $10.70
- Packaging and label: $0.80
- Outbound shipping: $6.50
- Payment fees: $1.46
- Returns allowance: $1.20
- Contribution before marketing: $19.34
- After $15 acquisition cost: $4.34
Why tariffs belong in this math
Look at what happens if the duty rate on that product rises from 10 to 30 percent. Duty goes from $0.80 to $2.40 per unit. Contribution before marketing falls to $17.74, and after $15 of ads the order leaves $2.74 instead of $4.34. A change that looks small on the factory invoice removed more than a third of your profit per order. This is why landed cost, not factory price, is the number to track, and why a tariff change on one country of origin can quietly turn a winning product into a losing one.
Repeat customers change the picture in your favor, because the second order usually costs far less to acquire than the first. But plan your first products on single-order economics. Repeat purchase rates are hard to predict before you have customers, and optimistic guesses about them are how stores talk themselves into losing money.
Build a simple spreadsheet with one row per product and one column per cost in the list above. Update it whenever a supplier price, freight quote, shipping rate or duty rate changes. Storefront's tariff tracker shows the monthly dollar impact of duty changes across your catalog, which tells you which rows in that sheet need updating first.
Key takeaways
- Landed cost is product cost plus freight, duty and fees to get it to you.
- Contribution margin is the sale price minus all variable costs per order.
- Contribution before marketing is your break-even customer acquisition cost.
- A duty change can remove a large share of profit per order even when the factory price is unchanged.
- Plan on single-order economics; treat repeat purchases as upside.
Open the Storefront demo and read the tariff impact per month in the stats and the tariff table. Pick one row, note its rate and product count, and recalculate the worked example in this lesson with that rate to see how contribution margin moves.
Check tariff impact