Tariff calculator with HTS code lookup
A tariff, or import duty, is the tax US Customs charges on goods you bring in, set by the product's HTS code. Search the US tariff schedule for your product, then drag to your shipment's value to see the duty and customs fees. Paste HTS codes or product descriptions to price a whole list.
A tariff, or import duty, is a tax US Customs charges on goods you bring into the country, set by the product's HTS code. Find your product's code, then see the duty and customs fees on your shipment.
What duty and customs fees add, as a share of the shipment’s value. Customs fees have a minimum, so shipments just over $2,500 pay the most per dollar. Drag the point to your shipment’s value.
Estimated duties and fees
$1,697.14
On $10,000 of goods you'd pay about $1,697.14 to US Customs, 17.0% of the goods' value. Landed, that's $11,697.14 before freight.
- Duty · 16.5%The general duty rate on the HTS line, as a share of the customs value. Picking a line above fills it in. Most apparel: 10–32%.$1,650.00
- Extra tariffs · none enteredTariffs on top of the regular rate, such as Section 301 duties on many goods from China. The HTS line's notes list the ones that may apply; enter their total. 0 if none.$0.00
- Merchandise processing fee · formal entryThe merchandise processing fee (MPF): a US Customs fee on every entry. 0.3464% of the value on formal entries, at least $34.58 and at most $670.86; $2.77 on most small informal entries.$34.64
- Harbor maintenance fee · 0.125%The harbor maintenance fee (HMF): 0.125% of the value of goods arriving by sea, paid toward port upkeep. Not charged on air or courier shipments.$12.50
- Entry typeShipments worth over $2,500 need a formal entry, usually filed by a customs broker with a bond. Smaller ones can use a simpler informal entry.
- Formal (over $2,500)
- Effective rateEverything you pay US Customs, as a share of the goods' value.
- 16.97%
An estimate, not a ruling: rates change and the right code is the importer’s call. Check the line on hts.usitc.gov before you price.
Automate your busywork for free. Describe a job once and Replo runs it every week on your real store data.
Pricing a whole list? Look up every product
Paste one product per line as item, HTS code or description, customs value in dollars. Codes are read exactly; descriptions get the closest line in the schedule, so check those. Up to 30 lines.
How to read your number
Import duty is the tax a country charges on goods as they enter, worked out as the customs value times the duty rate on the product's HTS line. Cotton T-shirts (6109.10.00) carry 16.5%, so $10,000 of them owe $1,650. Every entry over $2,500 also pays the merchandise processing fee, 0.3464% within a floor and a cap ($34.64 here), and ocean freight adds the 0.125% harbor maintenance fee ($12.50). That's $1,697.14, about 17% of the goods.
Why it matters
Duty is a cost of the product, not of the shipment, so it belongs in your unit cost. A 16.5% duty on a $10 T-shirt adds $1.65 before freight; on a $30 retail price that's 5.5 points of margin. Knowing the line before you order tells you whether a product still makes money landed.
Automations
Check your tariff on a schedule
Describe the job once. Replo runs it on your data from Shopify, Google Drive and Slack and posts what needs your attention.
Formula
Total = customs value × (duty rate + extra tariffs) + MPF + HMF
Customs value in the US is usually the price paid to the supplier (the transaction value), without international freight and insurance. MPF is 0.3464% of that value with a minimum of $34.58 and a maximum of $670.86 on formal entries; HMF is 0.125% on ocean shipments only.
Other ways to calculate tariff
- Ad valorem duty
- Duty = customs value × rate %
- Most HTS lines: the rate is a percentage, like 16.5% on cotton T-shirts.
- Specific duty
- Duty = quantity × rate per unit
- Lines priced per kilogram, liter or item, like 0.47¢/kg. Multiply by your quantity instead of the value.
- Compound duty
- Duty = value × rate % + quantity × rate per unit
- Lines that charge both, like watch cases at 3.6¢ each + 7.6%.
- Duty on CIF value
- Duty = (goods + freight + insurance) × rate %
- Importing into the EU, the UK, China and many other countries, which charge duty on the cost, insurance and freight (CIF) value. The US, Canada and Australia use the goods' value alone. The landed cost calculator handles both.
What is an HTS code?
An HTS code is the 10-digit number that classifies a product in the Harmonized Tariff Schedule of the United States, and it sets the duty rate. The first six digits are the international Harmonized System (HS) code shared by about 200 countries; digits seven and eight are the US tariff line that carries the rate; the last two are for statistics.
Cotton T-shirts for men are 6109.10.00.12: chapter 61 (knitted clothing), heading 6109 (T-shirts and singlets), subheading 6109.10 (of cotton), tariff line 6109.10.00 at 16.5%. The search above reads the US International Trade Commission's live schedule and shows each line with the headings above it, so you can tell "Of cotton" under T-shirts from "Of cotton" under sweaters.
How do you calculate import duty?
- Classify the product. Find its HTS line by what it is and what it's made of. Search above, or paste a code you already have.
- Read the general rate. The "General" column applies to most countries. The "Special" column lists lower rates under trade agreements, by program code, if your goods qualify.
- Find the customs value. Usually what you paid the supplier, in dollars, without international freight and insurance.
- Multiply. Value × rate is the duty. Add any extra tariff from Chapter 99 that applies to the product or its country of origin.
- Add the fees. MPF on every entry, and HMF if it came by sea.
Look up duty rates for a list of products
Switch the calculator to a list and paste one product per line: a name, its HTS code or a plain description, and its customs value. Codes are matched exactly. Descriptions get the closest line in the schedule, marked as a best guess, so check each before you rely on it. Download the table to keep the codes with your product costs.
How to calculate tariff: a worked example
A clothing brand imports $10,000 of men's cotton T-shirts (HTS 6109.10.00.12, general rate 16.5%) by ocean freight, with no extra tariffs.
- Duty = $10,000 × 16.5% = $1,650.00
- MPF = $10,000 × 0.3464% = $34.64 (above the $34.58 minimum, so it stands)
- HMF = $10,000 × 0.125% = $12.50
- Total = $1,650.00 + $34.64 + $12.50 = $1,697.14
The shipment owes about $1,697 to US Customs, 17% of its value. Per shirt at $5.00 a unit, that's $0.85.
What changes your duty bill
The code. Two close lines can differ by 10 points or more: cotton T-shirts are 16.5% and man-made fiber T-shirts 32%. The importer is responsible for the code, so if it's close, ask a licensed customs broker or request a free binding ruling from CBP.
Extra tariffs. Some goods owe more than the general rate because of their origin or material, such as Section 301 tariffs on many goods from China and Section 232 tariffs on steel, aluminum and products made from them. They're listed in HTS Chapter 99, and they've changed many times in recent years, so check the current notes for your line before each order. Footnotes like "See 9903.88.15" on a line point to them.
Trade agreements. Goods that qualify under USMCA or another agreement can enter at the "Special" rate, often free, and most also skip the MPF.
| Duty rate | Duty | MPF + HMF | Total | Share of value |
|---|---|---|---|---|
| 0% (Free) | $0 | $47.14 | $47.14 | 0.5% |
| 2.5% | $250 | $47.14 | $297.14 | 3.0% |
| 5% | $500 | $47.14 | $547.14 | 5.5% |
| 10% | $1,000 | $47.14 | $1,047.14 | 10.5% |
| 16.5% | $1,650 | $47.14 | $1,697.14 | 17.0% |
| 25% | $2,500 | $47.14 | $2,547.14 | 25.5% |
| 32% | $3,200 | $47.14 | $3,247.14 | 32.5% |
What the fees cost on small and large shipments
The MPF floor and cap make it a bigger share of small formal entries. A $3,000 shipment owes the $34.58 minimum, 1.2% of its value; a $500,000 one owes the $670.86 cap, 0.13%. Entries of $2,500 or less are informal and pay a flat $2.77 when filed electronically, though couriers often add their own clearance charge.
US de minimis entry, which let shipments under $800 in duty-free, is suspended for commercial goods from every country, so even small parcels now owe duty. See the de minimis threshold lookup for the rules and other countries' limits.
Questions about tariff
- What is an HTS code?
- An HTS code is the 10-digit number in the Harmonized Tariff Schedule of the United States that classifies an imported product and sets its duty rate. The first six digits are the international HS code your supplier uses; the last four are US-specific. Men's cotton T-shirts, for example, are 6109.10.00.12 at 16.5%.
- How do I find the HTS code for my product?
- Search the US tariff schedule by what the product is and what it's made of, then read down from the heading to the line that describes it. The search above does that against the live schedule. Your supplier's HS code covers the first six digits. For a close call, ask a customs broker or CBP for a binding ruling.
- How much is import duty from China to the US?
- The general rate on the product's HTS line, plus extra tariffs on Chinese goods such as Section 301 duties, which range by list and product. Those change often, so check the Chapter 99 notes on your line and CBP's guidance before each order. Enter the combined extra rate in the optional field above.
- Is duty charged on shipping costs?
- Not in the US. Duty is charged on the transaction value, what you paid for the goods, and international freight and insurance are left out when listed separately. The EU, UK and many other countries charge duty on the CIF value, which includes freight and insurance.
- What is the merchandise processing fee?
- The merchandise processing fee (MPF) is a US customs fee on most imports. Formal entries, over $2,500, pay 0.3464% of the value with a minimum of $34.58 and a maximum of $670.86. Informal entries pay a flat fee, $2.77 when filed electronically. Goods under most trade agreements, like USMCA, are exempt.
- What is the harbor maintenance fee?
- The harbor maintenance fee (HMF) is 0.125% of the value of goods that arrive at a US seaport, with no minimum or cap. It pays for port upkeep. Air and courier shipments don't pay it; on a $10,000 ocean shipment it's $12.50.
Sources
- US International Trade Commission: Harmonized Tariff Schedule search
- Federal Register: customs user fees adjusted for fiscal year 2027
- 19 CFR 24.23: merchandise processing fee
- 19 CFR 24.24: harbor maintenance fee
- 19 CFR 143.21: shipments eligible for informal entry
- CBP: determining duty rates
- CBP: binding rulings (eRulings)
Do it with Replo
Show what duty does to each product's margin
Give Replo your duty rates and it works out margin per product after duty and freight, from your store's sales.
Prompt: “show margin by product after a 16.5% duty and freight”


