How to Calculate Tariff Impact on Your Product Margins (With Real Numbers)
Tariffs don't show up on your P&L as a line item. They hide inside COGS and quietly destroy margin on every unit. Here's how to calculate the actual damage — SKU by SKU — with formulas, worked examples, and free calculators.
I talk to ecommerce operators every week who tell me their margins are "fine." Then we pull their actual landed costs and it turns out they've been losing money on 30% of their catalog since February.
The problem isn't that tariffs are complicated. The problem is that most operators never do the math at the unit level. They look at blended averages, trust the numbers in Shopify, and assume their 3PL or customs broker is handling it.
Nobody is handling it.
If you read The 2026 Tariff Shock, you know the macro picture. This post is the math. Four calculations that tell you exactly where you stand — and which products are bleeding money right now.
Step 1: Figure Out What Your Product Actually Costs to Land
Most operators know their FOB price. Very few know their real landed cost — the all-in number that includes freight, insurance, tariff duty, and customs handling. That's the number that matters.
Here's the formula:
Landed Cost = FOB Price + Freight & Insurance + Tariff Duty + Customs/Handling Fees
Where tariff duty is:
Tariff Duty = Declared Value x Tariff Rate
The tariff rate comes from your HTS code — the product classification that customs uses to determine which rate applies. If you don't know your HTS codes, stop reading and go find them. Everything downstream depends on getting this right.
Let's run a real example. Say you're importing a product at $12 FOB from a Chinese supplier. Freight and insurance add $1.80 per unit. Customs handling is about $0.50. Here's what happens at different tariff rates:
| Component | No Tariff | 10% Tariff | 25% Tariff | 54% Tariff |
|---|---|---|---|---|
| FOB Price | $12.00 | $12.00 | $12.00 | $12.00 |
| Freight & Insurance | $1.80 | $1.80 | $1.80 | $1.80 |
| Tariff Duty | $0.00 | $1.20 | $3.00 | $6.48 |
| Customs/Handling | $0.50 | $0.50 | $0.50 | $0.50 |
| Landed Cost | $14.30 | $15.50 | $17.30 | $20.78 |
Notice something: a 25% tariff doesn't raise your landed cost by 25%. It raises it by $3.00 on a $14.30 base — that's a 21% increase in your actual cost. At 54%, your landed cost jumps 45%.
That distinction matters because most operators think in percentages and underestimate the dollar impact.
Run your own numbers with the True Product Cost Calculator. Plug in your real FOB, freight, and duty rates — it takes 30 seconds and you might not like what you find.
Step 2: Recalculate Your Contribution Margin
Here's where it gets ugly. Landed cost is just the beginning. You still have fulfillment, payment processing, and returns eating into every unit. The number you actually care about is contribution margin — what's left after all variable costs.
Contribution Margin = Selling Price - Landed Cost - Fulfillment - Payment Processing - Return Allowance
Let's continue our example. Same product, selling at $34.99. Fulfillment runs $4.50 per unit, payment processing is 3% ($1.05):
| Line Item | No Tariff | 25% Tariff | 54% Tariff |
|---|---|---|---|
| Selling Price | $34.99 | $34.99 | $34.99 |
| Landed Cost | $14.30 | $17.30 | $20.78 |
| Fulfillment | $4.50 | $4.50 | $4.50 |
| Payment Processing (3%) | $1.05 | $1.05 | $1.05 |
| Contribution Margin $ | $15.14 | $12.14 | $8.66 |
| Contribution Margin % | 43.3% | 34.7% | 24.7% |
Read that last row again. A 54% tariff didn't cut your margin by 54%. It cut it by 43% — from $15.14 to $8.66 per unit. That's before you spend a dollar on ads, before returns, before overhead.
And this is a product with decent margins at baseline. If your starting CM% was 25-30%, a 25% tariff might push you below breakeven. I've seen it happen on real catalogs.
The operators who survive tariff shifts are the ones who know their contribution margin at the SKU level, not the catalog average. Your average might look healthy while individual products are underwater.
Check yours with the Contribution Margin Calculator. Look at your top 20 SKUs by revenue — not the average, each one individually.
Step 3: Find Your Break-Even Price Adjustment
Now the question everyone asks: "How much do I need to raise prices?"
Two ways to think about it.
Option A: Maintain the same dollar margin. Simple — your price increase equals the tariff cost increase:
Required Price Increase = New Landed Cost - Old Landed Cost
In our example, going from 0% to 25% tariff means raising price by $3.00 (from $34.99 to $37.99) to keep the same $15.14 contribution margin.
Option B: Maintain the same margin percentage. This requires a bigger increase because you need margin on the higher price too:
New Price = (All Variable Costs + New Landed Cost) / (1 - Target CM%)
To keep 43.3% CM at a 25% tariff: New Price = ($4.50 + $1.05 + $17.30) / (1 - 0.433) = $40.28
That's a 15% price increase to maintain the same margin rate on a product hit with a 25% tariff. At 54%, you'd need $46.26 — a 32% price hike.
Here's the part nobody wants to hear: can your market absorb that? If your competitors source domestically, or from countries with lower tariff rates, they don't face the same cost increase. Raising prices 15-30% when alternatives exist at the old price point is how you kill conversion rate.
This is the real strategic question — not "what's the math" but "what can the market bear." Model different scenarios with the Profit Margin Calculator to find the sweet spot between margin protection and competitive pricing.
Step 4: Find Your Most Exposed SKUs
You probably have hundreds of SKUs. You don't have time to run this analysis on every single one. You don't need to.
Here's a quick scoring formula:
Tariff Exposure Score = (Tariff Duty / Selling Price) x Revenue Share
Sort your catalog by this score. The top 20% of SKUs will typically represent 80% of your total tariff exposure. Those are the ones that need immediate attention.
Once you have the list, here's how to think about each one:
| Tariff Exposure | Margin Headroom | What to Do |
|---|---|---|
| High | High (CM >40%) | Absorb it or raise prices slightly. You can afford to. |
| High | Low (CM <25%) | Reprice, find a new supplier, or kill the SKU. Don't keep selling at a loss. |
| Low | High | Monitor quarterly. Not urgent. |
| Low | Low | Small price bump. Low risk, easy win. |
One thing I see constantly: operators running blanket 15-20% discounts during promotions on products that are already margin-thin because of tariffs. A 15% discount on our example product at the 25% tariff rate drops contribution margin from $12.14 to $6.89. And that's before ad spend.
See what promotions actually do to your margins with the Discount Impact Calculator. Run it on your tariff-exposed SKUs before your next sale.
The 30-Minute Tariff Audit
If you've read this far, here's the checklist. Set a timer, pull your data, and get it done:
- Export your top 20 SKUs by revenue from Shopify or your ERP
- Look up the HTS code and current tariff rate for each one (ask your customs broker if you don't have this)
- Calculate true landed cost for each SKU using the formula from Step 1
- Recalculate contribution margin with the updated landed cost
- Flag anything below 20% CM — these are your problem children
- Model a price adjustment for the flagged SKUs. Can the market absorb it?
- Check your upcoming promotions — are you planning discounts on tariff-exposed products?
This takes 30 minutes with a spreadsheet. It saves you from shipping orders at a loss for the next six months.
The hard part isn't doing this once. It's doing it every time tariff rates change, every time you add a new product, every time you adjust pricing. The operators who build this into their weekly rhythm catch margin problems in days. Everyone else catches them in their quarterly P&L — months after the damage is done.
That's exactly why we built Agentis. It monitors your margins continuously — every SKU, every order — and enforces profit floors automatically. When tariff changes push a product below your threshold, you know immediately, not 90 days later in a spreadsheet review.
Further Reading
- The 2026 Tariff Shock: How New Trade Rules Are Crushing Ecommerce Margins — the full landscape and strategic framework
- True Product Cost Calculator — calculate your real landed cost per unit
- Contribution Margin Calculator — find your actual margin after all variable costs
- Discount Impact Calculator — see what promotions really do to your bottom line