Every example and amount on this page is illustrative. It shows the method and is not a benchmark, a quote or advice.
What the Trade Deficit Measures for an Ecommerce Store
The goods trade deficit is a national accounting measure: the value of goods imported into the United States minus the value of goods exported from it. When imports exceed exports, the result is a deficit. It describes the flow of merchandise across the country’s borders, not the economics of any individual Shopify store. Services are a separate category. For example, the U.S. Bureau of Economic Analysis reported a $105.6 billion goods-and-services deficit in August 2026, based on $420.8 billion of imports and $315.2 billion of exports. That headline combines goods and services, so it should not be treated as a merchant’s goods exposure.
For an ecommerce operator, the useful question is narrower: which products enter the country, what customs value is assigned to them, which duty or tariff rules apply, and what additional freight, brokerage, insurance, and handling costs reach inventory? The store-level answer also depends on units, purchase-order timing, currency, selling price, discounts, returns, and whether the higher cost is absorbed or passed to customers. A national deficit cannot show any of those relationships.
Use the national measure to understand the policy and macroeconomic backdrop. Use store measures to decide whether a product, collection, or customer segment remains profitable. ORVX can connect to Shopify, calculate product costs and realized revenue from delivered orders, and show gross profit, net profit, contribution after advertising, and margins at product and collection level. A discount impact analysis can also show how a lower selling price changes the room available to absorb higher costs. These are operational indicators—not a government estimate of one merchant’s tariff bill.
| Measure | What it measures | When to use it |
|---|---|---|
| National goods trade deficit | U.S. goods imports relative to goods exports | Assess the macro trade-policy context |
| Store landed-cost exposure | Cost added to imported inventory and delivered units | Estimate product-level cost pressure |
| Store profitability | Revenue, product costs, advertising, returns, and resulting margins | Decide whether a product or collection still earns money |
The Formula Behind Your Landed-Cost Exposure
The trade-deficit formula is simple: trade deficit = imports − exports. It describes a country’s net goods position, not the cost of importing one product. For an ecommerce operator, the relevant question is how an imported unit changes the product’s cost and profit after it reaches inventory.
Landed cost = supplier unit cost + international freight + insurance + customs duty or tariff + broker and other inbound fees. Divide the shipment’s total landed cost by the units received to get landed cost per unit. Use this measure when setting a product cost model, valuing inventory, or deciding whether a purchase order still makes economic sense. Keep one currency and one unit basis throughout the calculation.
Tariff cost = tariff-applicable customs value × tariff rate. The customs value may differ from the supplier invoice total, depending on the product classification and governing customs rules. Use tariff cost to isolate the policy-driven charge and run scenarios—for example, the dollar impact of a rate change—rather than treating the tariff as the entire import cost.
Gross margin = (realized revenue − cost of goods sold) ÷ realized revenue. If COGS uses landed cost, gross margin shows what remains after the product is acquired, before operating expenses such as advertising. Use it to compare product economics and assess the effect of supplier, freight, tariff, or discount changes. A discount lowers revenue while the unit cost may stay fixed; this margin analysis makes that relationship explicit.
Contribution margin = (realized revenue − variable costs) ÷ realized revenue, or report the dollar amount as realized revenue − variable costs. Variable costs can include landed COGS, payment fees, fulfillment, returns, and advertising, depending on the management definition. Use contribution margin when deciding whether a product, collection, or campaign contributes cash after the costs that move with sales. It answers a different question from gross margin: not “what did the product cost?” but “what remains after the selected variable selling costs?”
- Use landed cost for inventory and purchasing decisions; tariff cost for tariff sensitivity; gross margin for product-level pricing and sourcing; contribution margin for growth and advertising decisions.
| Measure | Formula | Right decision |
|---|---|---|
| Trade deficit | Imports − exports | National trade position, not a store’s unit economics |
| Landed cost | Product, freight, insurance, duty, and inbound fees | Purchase orders and inventory valuation |
| Tariff cost | Customs value × tariff rate | Isolating tariff exposure |
| Gross margin | (Revenue − COGS) ÷ revenue | Product pricing and sourcing |
| Contribution margin | (Revenue − variable costs) ÷ revenue | Advertising and scale decisions |
A Worked Example From Purchase Order to Margin
Consider a 1,000-unit purchase order with a $20 factory cost per unit. The importer pays $3,000 freight, $2,000 duty, and $1,000 in customs and port fees. Total landed COGS is $26,000, or $26 per unit: ($20,000 + $3,000 + $2,000 + $1,000) ÷ 1,000. Assume every unit is delivered, the store spends $8,000 on advertising, fulfillment costs $5 per order, and payment fees equal 3% of sales.
The table shows how the same inventory moves through the P&L. The higher-duty case isolates the cost shock; the repriced case shows a $5 price increase after that shock. Contribution profit here means gross profit less advertising, fulfillment, and payment fees—not net profit after every operating expense.
| Scenario | Selling price | Landed COGS | Gross profit / margin | Contribution profit |
|---|---|---|---|---|
| Base: $2,000 duty | $50.00 × 1,000 = $50,000 | $26,000 total ($26/unit) | $24,000; 48.0% | $24,000 − $8,000 ads − $5,000 fulfillment − $1,500 payment fees = $9,500 |
| Duty rises to $4,000; price unchanged | $50.00 × 1,000 = $50,000 | $28,000 total ($28/unit) | $22,000; 44.0% | $22,000 − $8,000 − $5,000 − $1,500 = $7,500 |
| Duty rises to $4,000; price rises to $55 | $55.00 × 1,000 = $55,000 | $28,000 total ($28/unit) | $27,000; 49.1% | $27,000 − $8,000 − $5,000 − $1,650 = $12,350 |
Why Merchants Get the Number Wrong
The first error is using the wrong value base. Retail revenue includes your markup, discounts, refunds, and sometimes sales tax; customs reporting uses the value of the goods entering the country. A product sold for $80 may have an import value of $20. Applying a tariff rate to $80 overstates the duty, while using revenue to estimate the national trade deficit answers a different question. Use retail revenue to assess customer economics and import value to assess border exposure.
The second error is mixing categories. The headline trade deficit may combine goods and services, but a physical product’s landed cost is driven by its goods entry. Advertising, software, payment processing, and other services may affect the P&L without being merchandise imports. Conversely, a goods import can affect inventory even before the item produces revenue. Keep the goods, services, revenue, and inventory measures separate before comparing them.
Cost omissions create a quieter distortion. Freight, insurance, port charges, customs brokerage, and handling can sit outside the supplier invoice. If they are absent from the product cost model, gross margin looks stronger than the economics support. Classification and origin errors create a different problem: the wrong tariff code or country of origin can produce the wrong duty rate, even when the factory price is recorded correctly.
Double-counting is common when a duty payment is included in inventory cost and then added again as a separate expense or tariff adjustment. Timing causes another mismatch. Cash reporting records the payment when the broker or carrier is paid; accrual economics assigns inventory-related costs to stock and ultimately to units sold. A shipment paid in March but sold in April should not make March look unprofitable and April artificially cheap. Reconcile entry documents, freight and brokerage invoices, inventory receipts, and sales-period COGS. ORVX can then calculate realized revenue from delivered orders, model product cost, and show product and collection profitability rather than relying on revenue alone.
Where Apparel, Electronics and Home Goods Feel It First
The same import shock reaches each category through a different operating mechanism. Apparel usually feels the change first in unit cost and markdown risk: a tariff or factory-price increase raises the cost of every size and color, while a delayed seasonal shipment shortens the time available to sell at full price. A $2 increase on a $20 garment raises product cost by 10%; passing it through to shoppers may protect gross margin but can increase discounting or reduce conversion. That makes realized margin and sell-through more useful than revenue alone.
Electronics are more exposed to component sourcing and supplier concentration. A finished device may come from one country while its chips, batteries, displays or chargers come from several others. A change affecting one component can raise cost or interrupt the whole product's availability. Short product life cycles also increase markdown risk: a late shipment can arrive after a newer model or feature has changed demand. Lead time therefore affects both cash tied in inventory and the price at which units eventually sell.
Home goods and furniture combine landed-cost sensitivity with physical logistics. Weight, dimensions and container utilization can make freight and handling a larger part of unit economics than the factory price suggests. Bulky products also take longer to replace and are harder to move through promotions without eroding contribution. Supplier concentration matters in all three categories, but its consequence differs: apparel may lose a seasonal assortment, electronics may lose a core component or model, and furniture may face a long replacement cycle for a high-value item.
| Category | First pressure point | Measure to inspect | Why it matters |
|---|---|---|---|
| Apparel | Unit cost, lead time and markdown risk | Gross margin by SKU, collection and discount level | Late or expensive inventory can require promotions that reduce realized margin. |
| Electronics | Component sourcing and supplier concentration | Product contribution, stock availability and remaining stock value | One constrained component can affect an entire model's economics. |
| Home and furniture | Weight, dimensions, freight and replacement lead time | Contribution after advertising and inventory value | Freight-sensitive, slow-moving units can consume cash while requiring deeper discounts. |
What to Do With the Answer
Turn the landed-cost calculation into operating thresholds, not a single pricing decision. For illustration only, if a product’s landed cost rises from $20 to $23 and its selling price remains $40, gross margin falls from 50% to 42.5%. If your floor is 45%, the product needs a price change, a lower-cost specification, a supplier review or an assortment reduction. Check the result against realized revenue from delivered orders, refunds and returns—not just the list price. Discount depth can change the answer; use the discount impact on margin analysis when promotions are part of the plan.
Separate the margin decision from the cash decision. A $3 increase across a 1,000-unit order requires $3,000 more before considering higher duty, freight or financing costs. Set a cash threshold such as “do not approve a purchase order if the incremental inventory cash exceeds the amount available after the next payables cycle.” If the order still clears the margin floor but ties up too much cash, reduce the quantity, split delivery or choose a smaller initial buy.
Use demand and inventory evidence to set purchase quantities and safety stock. Keep more coverage for products with reliable sell-through and long, variable replenishment lead times; reduce coverage for products with high returns, weak contribution after advertising or substantial dead stock. ORVX reports inventory position, remaining stock value, dead stock, return rate and product- or collection-level profitability. Those measures support the decision, but ORVX does not reorder or restock.
Treat supplier concentration as a risk trigger. Define a policy—for example, review any product where one supplier represents more than 70% of supply, or where a tariff change would push the product below its margin floor. Compare a second source on landed cost, minimum order quantity, lead time, quality and working-capital requirements rather than factory price alone. Build scenarios for current cost, a higher-duty case and a diversified-supplier case. ORVX can show the store’s actual profitability and forecast a coming period’s revenue from completed months with its backtested error; it cannot estimate price elasticity or predict how demand will respond to a price change.
- Act on landed cost when the revised unit cost breaches the product’s approved ceiling.
- Act on margin when gross margin or contribution after advertising falls below its floor; test price only where the economics justify a test, without assuming demand will hold.
- Act on cash flow when the incremental inventory investment exceeds the amount available through the planned payment and sales cycle.
- Act on supplier risk when concentration, lead-time exposure or a single policy change can push the item below its margin or cash threshold.
General information only: tax, duty and import rules change and depend on your situation, so check with an accountant or the official source before acting.