Want audit-ready HTS Codes for all your Imports? And get all the evidence you need to defend them!

Find your codes, fast!
Tariff Guides

How US Tariffs Are Calculated: Formula and 2026 Examples

How to calculate US import duty: HTS base rate plus every Chapter 99 tariff, then MPF and HMF fees, with four worked examples from October 2026.

Brendan McLaughlinFounder of HTS Hero
Published
Reading time
6 min read

Key takeaways

  • US import duty = customs value × (HTS base rate + every Chapter 99 tariff that applies after exemptions and stacking rules), plus the Merchandise Processing Fee and, for ocean freight, the Harbor Maintenance Fee.
  • Customs value is usually the transaction value, the price paid or payable for the goods. International freight and insurance are left out when they're shown separately from the price.
  • A $10,000 steel article from China (HTS 7326.90.86.88) entered on October 6, 2026 pays $7,790 in duty: 2.9% base, 50% Section 232 and 25% Section 301 List 3.
  • The same $10,000 of patented medicine (HTS 3004.90.92.60) pays $1,500 from Germany and $10,000 from India in October 2026, because the Section 232 pharmaceutical tariff caps EU goods at 15% all-in.
  • From October 1, 2026 (fiscal year 2027), the MPF is 0.3464% of value with a $34.58 minimum and a $670.86 maximum. The HMF is 0.125% on ocean shipments.

To calculate US import duty, multiply the customs value by the HTS base rate for the country of origin plus every Chapter 99 tariff in force on the entry date (after exemptions and stacking rules), then add the Merchandise Processing Fee and, for ocean freight, the Harbor Maintenance Fee. On October 6, 2026, $10,000 of steel articles from China owes $7,790 in duty plus $47.14 in fees. Here's the method, step by step, with four real examples.

The import duty formula

Every US import duty comes down to the same four steps:

  1. Find the HTS code for the product.
  2. Apply the base rate for its country of origin.
  3. Add every Chapter 99 tariff that applies on the entry date, after exemptions and stacking rules.
  4. Add the customs fees.
Total = customs value × (base rate + each Chapter 99 rate that applies)
      + Merchandise Processing Fee
      + Harbor Maintenance Fee (ocean only)

Customs value is usually the transaction value: the price actually paid or payable for the goods. Unlike many countries, the US leaves international freight and insurance out when they're shown separately from the price (19 U.S.C. 1401a). A few rates are specific instead, like cents per kilogram, and use the quantity rather than the value.

The arithmetic is easy. The work is in steps 1 and 3: getting the code right, and knowing exactly which Chapter 99 headings apply to that code, from that country, on that date.

Step 1: Find the HTS code

The HTS code decides the base rate and which additional tariffs cover the product. It's 10 digits, like 7326.90.86.88 (other articles of iron or steel). Classification follows the General Rules of Interpretation and the legal notes of each section and chapter, and CBP rulings are the best guide to how close calls get decided.

A wrong code is the most common reason a duty calculation is wrong. Two codes a few digits apart can sit on different Section 301 lists or Section 232 product lists.

HTS classification

Get an HTS code you can defend

Your duty is only right if your HTS code is right. HTS Hero walks the tariff schedule with you and backs every decision with notes and CBP rulings.

What you get

  • Classifications built on the GRIs and legal notes
  • Supporting CROSS rulings for every code
  • A report you can hand to your broker or an auditor

Step 2: Apply the base rate

Each HTS line has three rate columns. Which one you use depends on the country of origin and whether you claim a trade preference:

  • Column 2 if the country is Cuba, North Korea, Russia or Belarus.
  • Special if the goods qualify for a free trade agreement or preference program on that line (USMCA, for example) and you claim it.
  • General for everyone else.

Step 3: Add the Chapter 99 tariffs

This is where most of the duty comes from in 2026. For each Chapter 99 heading, three questions decide whether it applies:

  • Does it cover the product? Most headings apply to a list of HTS codes in a U.S. note.
  • Does it cover the country? Section 301 China only applies to China; Section 232 applies to every country, with deals for some.
  • Is it in force on the entry date? Every heading has a start date, and many have end dates or rate changes.

Then exemptions and stacking rules decide what's actually charged. Some exemptions need a fact about your goods (does it contain steel? is the drug a generic?). Some tariffs switch off when another applies: for example, the Section 301 forced-labor duty doesn't apply to goods that pay a Section 232 tariff (exemption heading 9903.05.90). Our guide to US tariff stacking rules covers every combination, and the latest US tariff changes lists what moved in 2026.

Step 4: Add the customs fees (MPF and HMF)

  • Merchandise Processing Fee (MPF): 0.3464% of the value on formal entries. For fiscal year 2027, starting October 1, 2026, the minimum is $34.58 and the maximum is $670.86. On a $10,000 entry it's $34.64.
  • Harbor Maintenance Fee (HMF): 0.125% of the value, ocean shipments only. On a $10,000 entry it's $12.50.

Import duty calculation examples (October 2026)

Every example below was calculated with HTS Hero's tariff engine for an entry on October 6, 2026, with a customs value of $10,000, shipped by ocean, and no exemptions claimed.

A steel article from China

HTS 7326.90.86.88, other articles of iron or steel.

LineRateAmount
Base rate (General)2.9%$290.00
9903.82.02 Section 232 steel and aluminum50%$5,000.00
9903.88.03 Section 301 China, List 325%$2,500.00
9903.05.31 Section 301 forced labor, China12.5%Doesn't apply: Section 232 applies
Duty77.9%$7,790.00
MPF + HMF$47.14
Total$7,837.14

Section 301 China stacks on top of Section 232, but the forced-labor duty switches off because a Section 232 heading applies. If the importer could show the article contains no steel, aluminum or copper, the $5,000 Section 232 line would disappear and the 12.5% forced-labor duty would apply instead.

A cotton T-shirt from Vietnam

HTS 6109.10.00.12, men's cotton T-shirts.

LineRateAmount
Base rate (General)16.5%$1,650.00
9903.05.84 Section 301 forced labor, Vietnam12.5%$1,250.00
Duty29%$2,900.00
MPF + HMF$47.14
Total$2,947.14

From February 24 to July 23, 2026, the same shirt paid the 10% Section 122 surcharge instead of the 12.5% forced-labor duty: $2,650 in duty instead of $2,900. One date, a different answer (what changed on July 24).

A patented medicine from Germany, and from India

HTS 3004.90.92.60, medicaments in measured doses, on the Section 232 pharmaceutical list.

LineGermanyIndia
Base rate (General)FreeFree
Section 232 pharmaceuticals9903.04.62: 15% including base, $1,5009903.04.60: up to 100% including base, $10,000
Duty$1,500.00$10,000.00

Same product, same value, an $8,500 difference. The EU, Japan, South Korea, Switzerland and Liechtenstein pay a 15% all-in rate under their deals, the UK pays no additional duty, and most other countries pay up to 100% on patented drugs. A generic version of the drug, confirmed as such, would pay no Section 232 duty from either country. More in our post on the Section 232 pharmaceutical tariff.

An upholstered wooden seat from Japan

HTS 9401.61.40.11, upholstered seats with wooden frames.

LineRateAmount
Base rate (General)Free$0.00
9903.76.21 Section 232 wood, Japan15% including base$1,500.00
9903.05.49 Section 301 forced labor, JapanDoesn't apply: Section 232 applies
Duty15%$1,500.00

Common duty calculation mistakes

  • Leaving out the base rate. Several free calculators show only the additional tariffs.
  • Using last month's rules. A rate that was right in July may be wrong in October. The HTS was revised 20 times in 2026 through September.
  • Adding freight to the value. US duty is charged on the price of the goods. International shipping and insurance shown separately on the invoice stay out of the customs value.
  • Missing exemptions, or claiming ones that need proof you don't have.
  • Stacking everything. Adding every tariff that mentions your country overstates the duty when a Section 232 tariff switches others off.

The safest way to check a number is to see every line with the Chapter 99 heading behind it, so you can follow the math yourself. That's what the HTS Hero duty calculator shows for any HTS code, country and entry date.

FAQ

Frequently asked questions

How do you calculate import duty in the US?

Find the product's 10-digit HTS code, apply the base rate for its country of origin, add every Chapter 99 tariff that applies on the entry date after exemptions and stacking rules, and multiply by the customs value. Then add the Merchandise Processing Fee and, for ocean shipments, the Harbor Maintenance Fee. For example, $10,000 of Chinese steel articles under HTS 7326.90.86.88 owed $7,790 in duty on October 6, 2026.

Is US import duty calculated on the product cost or the shipping cost too?

On the customs value, which is usually the transaction value: the price actually paid or payable for the goods. Unlike many countries, the US leaves international freight and insurance out of customs value when they're identified separately from the price of the goods.

What is the MPF in 2026?

The Merchandise Processing Fee on formal entries is 0.3464% of the customs value. From October 1, 2026 (fiscal year 2027) the minimum is $34.58 and the maximum is $670.86. Before that, for fiscal year 2026, they were $33.58 and $651.50.

What is the Harbor Maintenance Fee?

The Harbor Maintenance Fee is 0.125% of the value of cargo loaded or unloaded at US ports, so it applies to ocean shipments only. Air and truck shipments don't pay it. On a $10,000 ocean shipment it's $12.50.

Is there a free import duty calculator?

Yes. HTS Hero's duty calculator is free and unlimited, with no sign-up. It stacks the base rate with every Chapter 99 tariff for your HTS code, country of origin and entry date, and shows the heading behind each line.

Sources

The official documents this article is based on

  1. Harmonized Tariff Schedule of the United States (USITC)
  2. 19 U.S.C. 1401a: Value (transaction value of imported merchandise)
  3. Customs User Fees To Be Adjusted for Inflation in Fiscal Year 2027 (Federal Register, July 31, 2026)
  4. Proclamation 11020: Adjusting Imports of Pharmaceuticals and Pharmaceutical Ingredients (Federal Register)
  5. USTR: Notice of Actions in the Section 301 forced-labor investigations (Federal Register, July 28, 2026)
Brendan McLaughlin
Written by

Brendan McLaughlin · Founder of HTS Hero

Brendan is the founder of HTS Hero and a self-proclaimed tariff nerd. He has spent more than a year building and maintaining HTS Hero's tariff calculator, which meant reading every government tariff update and all 4,000+ pages of the Harmonized Tariff Schedule, across many revisions. He writes about US tariffs regularly on LinkedIn.

Free tariff calculator

See every tariff on your import, line by line

Enter an HTS code and a country of origin. HTS Hero stacks the base rate with every Chapter 99 tariff that applies and shows you the math.

What you get

  • Section 232, Section 301 and every other program, stacked correctly
  • Exemptions and trade preferences that could apply
  • Compare the same product from every country