A Guide to Calculating Customs and Taxes When Importing Products

A Guide to Calculating Customs and Taxes When Importing Products

I ordered a mechanical keyboard from Japan last year. The listing said $185. Shipping was $28. I thought the total damage would be $213, which felt reasonable for a hand-lubed Topre board. Then a courier showed up at my door with an invoice taped to the box. Customs duty, import VAT, and a “processing fee” from DHL added another $67. My $185 keyboard actually cost me $280.

If you’ve ever imported anything across an international border, whether it’s electronics from China, clothing from Turkey, or car parts from Germany, you’ve probably had a version of this experience. The sticker price is never the real price. There’s an entire layer of government taxes sitting between you and your package, and almost nobody explains how it actually works before you click “buy.”

This guide is everything I wish someone had told me before that keyboard arrived.

The three charges you’re actually paying

When a product crosses a border, up to three separate charges can hit you. They look similar on an invoice but they’re calculated differently and go to different places.

The first is customs duty. This is a tax on the product itself, and the rate depends on what the product is and where it was manufactured. Governments publish massive books (literally thousands of pages) called tariff schedules that assign a percentage to every conceivable product category. A cotton t-shirt might carry a 12% duty. A lithium battery might carry 3.4%. A pair of leather shoes from outside the EU might carry 17%. The percentages feel almost arbitrary, and honestly, some of them are. They’re the result of decades of trade negotiations, lobbying, and political horse-trading.

The second charge is import VAT or sales tax. In most countries outside the US, you pay value-added tax on imported goods the same way you’d pay it on domestic purchases. The UK charges 20% VAT. Germany charges 19%. Turkey charges 20%. The US doesn’t have a federal import sales tax in the same way, but individual states can charge use tax on items bought out of state or internationally, though enforcement is spotty and most people ignore it.

The third charge, and the one that makes people angriest, is the carrier handling or brokerage fee. When DHL, FedEx, or UPS clears your package through customs on your behalf, they charge you for the paperwork. This fee ranges from $5 to $15 for most consumer shipments but can shoot up to $50 or more for high-value items. It’s pure profit for the courier. National postal services (like USPS, Royal Mail, or PTT) typically charge much less, sometimes nothing at all, but the trade-off is that your package might sit in customs limbo for weeks while the postal service gets around to processing it.

How customs duty is actually calculated

Here’s where people’s eyes start to glaze over, but stay with me because this is where you either save money or get blindsided.

Every product on earth has something called an HS code (Harmonized System code). It’s a 6-to-10-digit number that classifies the product. The first six digits are internationally standardized. A wristwatch is 9101. A laptop is 8471. Chocolate is 1806. Countries then add extra digits for their own subcategories. The US uses a 10-digit version called the HTS (Harmonized Tariff Schedule).

The duty rate assigned to your HS code is applied to the “customs value” of the product. And this is where it gets sneaky: the customs value is usually not just the price you paid for the item. In most countries, customs value is calculated using something called CIF, which stands for Cost, Insurance, and Freight. That means the customs officer adds the product price, the shipping cost, and any insurance together, and then applies the duty percentage to that total.

Let me run through real numbers. Say you buy a $500 camera from South Korea and ship it to the UK. Shipping costs $40. Insurance is $10. Your customs value is $550. The HS code for digital cameras in the UK currently carries a 0% duty rate (most electronics do in the UK and EU). But you still owe import VAT. The UK calculates VAT on the customs value plus the duty. Since duty is zero, you pay 20% VAT on $550, which is $110. Add a Royal Mail handling fee of about $10, and your $500 camera costs you $620.

Now imagine you bought that same camera and shipped it to Brazil. Brazilian import duty on cameras is around 16%. VAT (called ICMS in Brazil) varies by state but averages about 18%. There are additional federal taxes called IPI, PIS, and COFINS that can add another 15-20%. I’ve seen people in Brazilian tech forums report paying nearly the full retail price of the item again in taxes. A $500 camera can easily become a $900 camera after clearing Brazilian customs. It’s genuinely brutal.

De minimis thresholds: the free pass nobody talks about

Most countries have a minimum value below which they don’t bother collecting customs duty or import tax. This threshold is called the “de minimis” value, and it varies wildly.

The United States has historically had one of the most generous de minimis thresholds in the world: $800. If your imported package is worth less than $800, you owe nothing. No duty, no tax, no fees. This is why sites like Temu and Shein were able to flood the US market with cheap packages from China for years without any import charges hitting the consumer. Each package was individually valued under $800, even if you ordered ten things. (This loophole saw significant changes in 2025, with duties now applied to packages from China regardless of value, but the $800 threshold still applies to other countries.)

The EU dropped its de minimis to zero in July 2021. Every single package entering the EU, no matter how cheap, now owes VAT. If you order a $3 phone case from AliExpress shipped to France, you technically owe 20% VAT on that $3, which is 60 cents. In practice, marketplaces like AliExpress now collect the VAT at checkout and remit it directly, so you don’t get a surprise invoice. But if you buy from a smaller shop that doesn’t handle this, you might get a letter from the postal service asking for your 60 cents plus an $8 handling fee, which is the kind of bureaucratic absurdity that makes you question everything.

Other thresholds worth knowing: the UK is £135 (above which VAT is collected at the border rather than at checkout), Australia is AUD $1,000 for duty (but GST applies from the first dollar on most online purchases), Canada is CAD $20 for taxes and CAD $150 for duty, and Turkey is €150. If you’re ordering internationally with any regularity, memorize your country’s number. It determines whether your package sails through or gets held for payment.

The HS code guessing game

I want to be honest about something that most guides won’t tell you: HS code classification is, in practice, kind of subjective.

A seller in Shenzhen shipping you a “portable Bluetooth speaker with LED lights” has to decide whether that product is primarily a speaker (HS 8518), a lighting fixture (HS 9405), or some kind of combined electronic device. Different classifications carry different duty rates. Sellers routinely pick the code with the lowest duty, and customs officers routinely disagree. If the officer reclassifies your item, the duty changes, and you owe the difference.

I’ve heard stories of people importing leather goods where the customs officer decided that the product was “genuine leather” instead of “bonded leather,” bumping the duty rate by 8 percentage points. You can appeal these decisions, but the appeal process in most countries involves paperwork, waiting, and occasionally hiring a customs broker, which costs more than the duty difference you’re fighting about.

If you’re importing anything commercially, even in small quantities for resale, get the HS code right before you ship. Use your country’s official tariff lookup tool. The US has the USITC’s HTS search. The EU has TARIC. The UK has the UK Trade Tariff tool. Plug in the product description and find the exact code. Guessing is how you end up with a surprise $400 invoice on a shipment you budgeted $80 of duty for.

Country-by-country reality check

Theory is one thing. Here’s what actually happens in practice in the countries that matter most for consumer imports.

United States: The $800 de minimis is still the most forgiving in the developed world for non-China shipments. Above that, duty rates are moderate for most consumer goods (typically 0-10% for electronics, higher for textiles and footwear). There’s no federal import VAT. In practice, most Americans who occasionally order something from Japan or Europe never pay a cent in import charges as long as they stay under $800.

United Kingdom: Since Brexit, everything entering from the EU is treated as an import. This caught a lot of British online shoppers completely off guard when they suddenly started getting hit with 20% VAT on orders from French and German retailers. The handling fee from Royal Mail is currently £8, which is annoying on a £30 purchase. For expensive items, you’re looking at 20% VAT plus whatever the commodity-specific duty rate is. Electronics are usually 0% duty, so the real pain is “just” the VAT.

European Union: Zero de minimis for VAT means everything gets taxed. Duty rates within the EU are complex and product-specific, published in the TARIC database. The average weighted duty rate across all product categories is about 5.1%, but individual rates swing from 0% on semiconductors to 17% on certain shoes. If the marketplace collected VAT at checkout (IOSS scheme), your package usually clears without stopping. If it didn’t, your national postal service holds the package hostage until you pay.

Turkey: This is where it gets rough. Turkey applies 20% VAT on imports plus commodity-specific customs duty that can range from 0% to over 30%. There’s also an additional “special consumption tax” (ÖTV) on categories like electronics and luxury goods. Importing a smartphone into Turkey personally will cost you approximately 50% of the phone’s value in combined taxes. On top of that, Turkey requires IMEI registration for foreign phones within 120 days, and the registration fee itself is a few hundred lira. Many Turks buy phones domestically specifically to avoid this bureaucratic and financial headache.

Brazil: Widely considered one of the most expensive countries in the world for imports. The combined import tax burden (federal duty + IPI + ICMS + PIS + COFINS) on electronics regularly exceeds 60% of the product value. This is why an iPhone that costs $999 in the US sells for the equivalent of $1,500 or more in Brazilian retail stores, and why “buying an iPhone in Miami” is practically a national sport for Brazilian tourists.

How to actually minimize what you pay

I’m not going to tell you to commit customs fraud. Deliberately undervaluing a package on the customs declaration is illegal, and people do get caught. Customs officers aren’t stupid. If you declare a MacBook Pro as “$50 – gift,” they will open the box, look at the MacBook, and reassess the value themselves. You’ll pay the correct duty plus a fine.

But there are legitimate ways to reduce costs.

First, check whether your country has a free trade agreement with the country you’re buying from. The US has FTAs with 20 countries. The EU has agreements with dozens. Products manufactured in FTA partner countries often qualify for reduced or zero duty rates, but only if the seller provides a certificate of origin. Many sellers on platforms like eBay or Etsy won’t bother with this paperwork unless you ask.

Second, use national postal services instead of express couriers when the option exists. Japan Post, China Post, Deutsche Post, and similar services generally charge lower or zero brokerage fees compared to DHL and FedEx. The trade-off is speed. Your package takes two weeks instead of three days. But saving $15 to $50 in brokerage fees is worth a few extra days of patience for most people.

Third, consolidate shipments when buying multiple items from the same country. Shipping five small packages means paying five separate brokerage fees. Shipping one combined package means paying one. Some forwarding services like Buyee (for Japan) or a freight forwarder will combine multiple orders into one box before shipping internationally.

Fourth, if you’re buying something expensive, consider whether it’s cheaper to just buy it domestically. After you add international shipping, customs duty, import VAT, and brokerage fees, the “amazing deal” on a foreign website frequently ends up costing the same as, or more than, buying locally. I’ve done this math on at least a dozen purchases and talked myself out of half of them.

The spreadsheet you should make before you buy

Whenever I’m considering an international purchase over $100, I fill out these numbers before I commit:

  • Product price in the seller’s currency, converted to my currency at the current mid-market rate (not the rate my bank will give me)
  • Shipping cost
  • Insurance (if applicable)
  • Customs value (product + shipping + insurance)
  • HS code for the product (looked up, not guessed)
  • Duty rate for that HS code in my country
  • Duty amount (customs value times duty rate)
  • VAT/tax base (customs value + duty amount)
  • VAT/tax amount (VAT base times my country’s VAT rate)
  • Estimated brokerage fee ($8-15 for postal, $15-50 for express couriers)
  • Currency conversion fee from my bank or card (typically 1.5-3%)
  • Total landed cost: everything above, added together

When I do this math, about one in three “deals” stops looking like a deal. The other two-thirds are still genuinely cheaper, sometimes by a wide margin. But I never get surprised anymore. The spreadsheet killed the surprise. And honestly, killing the surprise is the entire point.

Leave a Comment

Your comment will be published after it has been approved. Please send comments that do not contain slang words.

Discover more from Money Visualiser

Subscribe now to keep reading and get access to the full archive.

Continue reading