Back to blog
Duties & Taxes4 min read

How to Calculate Import Duties and Taxes for Your Shopify Store

Understand how import duties are calculated and what factors affect the final customs charges on international orders.

June 16, 2026

Import duties and taxes can seem complex, but understanding how they work is essential for international e-commerce. Here's a practical guide for Shopify merchants looking to master duty calculation and offer transparent pricing to their international customers.

Every day, thousands of packages cross international borders, and customs authorities in the destination country assess fees on most commercial shipments. These import duties are essentially taxes on goods imported into a country, designed to protect local industries and generate revenue. For e-commerce merchants, accurately calculating these costs is the difference between a smooth international sale and a lost customer.

What Determines Import Duties

Import duties are calculated based on three key factors:

  1. HS Code — The Harmonized System code classifying your product determines which duty rate applies
  2. Declared Value — The product's transaction value (what the customer paid)
  3. Country of Destination — Each country has its own tariff schedule and trade agreements

Let's break down each factor in more detail. The HS code is the most critical element because even a small classification error can result in a completely different duty rate. For example, a cotton shirt (HS code 6109.10) might have an 11.5% duty rate to a given country, while a synthetic fiber shirt (HS code 6109.90) could be taxed at 14.2%. Getting product classification right is the foundation of accurate duty calculation.

The declared value is typically the price the customer paid for the goods, not including shipping costs (though some countries calculate duties on CIF — cost, insurance, and freight — which includes shipping). Most e-commerce merchants declare the transaction value from the customer's order, which is the standard method accepted by customs authorities worldwide.

Destination country matters because each nation maintains its own tariff schedule based on the global Harmonized System. The United States uses the HTSUS (Harmonized Tariff Schedule), the European Union has the TARIC system, and countries like Japan, Australia, and Brazil each publish their own schedules. Trade agreements between countries can also reduce or eliminate duties — for example, goods manufactured in the US and shipped to Canada may qualify for reduced rates under USMCA.

The Duty Calculation Formula

The basic formula is: product value × duty rate = import duty. For example, a $50 cotton t-shirt (HS code 6109.10, 11.5% duty) to the UK would have an estimated duty of $5.75. VAT is then added on top of the combined product value, shipping cost, and duty.

Here's a more complete example that shows how all the components fit together. Imagine you're shipping a pair of leather shoes (HS code 6403.99) valued at $120 to a customer in Germany:

  • Product value: $120.00
  • Shipping cost: $25.00
  • Duty rate: 8% (based on the HS code and EU tariff schedule)
  • Duty amount: $120 × 8% = $9.60
  • VAT (19% in Germany): ($120 + $25 + $9.60) × 19% = $29.37
  • Total landed cost: $120 + $25 + $9.60 + $29.37 = $183.97

As you can see, the duty calculation involves multiple layers. The VAT or GST is applied not just to the product value but also to the shipping cost and the duty amount itself — a practice known as tax-on-duty. This varies by country; some nations tax only the product value plus shipping, while others include duties in the taxable base.

Additional Fees That Affect Duty Calculation

Beyond the standard import duties and VAT, several other fees can affect your total duty calculation:

  • Customs broker fees — Some carriers charge a fee for handling customs clearance on your behalf
  • De minimis thresholds — Many countries have a minimum value below which no duties or taxes are charged (e.g., $800 for the US, £135 for the UK)
  • Anti-dumping duties — Additional duties on specific products from specific countries (common for textiles, electronics, and steel products)
  • Excise taxes — Additional taxes on products like alcohol, tobacco, and perfumes

Understanding these additional fees is crucial for accurate landed cost calculations. A duty estimate that only includes standard tariffs will underestimate the true cost your customer will face, leading to either merchant losses (if using DDP) or customer surprise charges (if using DDU).

How RateTell Helps

RateTell automates this process by classifying your products with the correct HS codes and applying destination country tariff rates in real time. You get estimated landed costs at Shopify checkout without manual calculations. RateTell's duty calculation engine references the latest tariff schedules from customs authorities worldwide and updates automatically when rates change, so you never have to manually track trade agreement updates or rate adjustments.

RateTell also handles the complexity of different calculation methodologies across countries. Whether the destination uses CIF or FOB valuation, charges VAT on top of duty or excludes it, or has complex excise tax rules, RateTell's algorithms account for each country's unique requirements. This ensures your customers see accurate duties at checkout regardless of where they're ordering from.

Want to test duty rates for your own products? Use our free duty and tax calculator to get instant estimates for any HS code and destination market.

Start your 14-day free trial to automate duty calculations.

R

RateTell Team

RateTell helps Shopify merchants show estimated duties, taxes, and shipping at checkout. Start your 14-day free trial today.

Start Free Trial