# Batch duty and fee allocation

StoreCalc batch duty calculator: use IDs or Chinese/English names for 81 products, read CSV locally, reuse the single-product duty engine, and allocate entry-level MPF and ocean HMF by each line’s customs value.

https://storecalc.com/en/tariff/batch.html

Files are read and calculated only in your browser, never uploaded. Your table contents are not added to the URL.

HTS 2026 Revision 21; 2026-10-22

## Worked example

Illustrative inputs, not a quote. Three products shipped by ocean under one customs entry; each row uses the catalogue’s HTS and origin-specific duty layers.

```csv
item,fiber,origin,value,qty,weight
t-shirt,cotton,china,5,1000,
sweatshirt-hoodie,synthetic,vietnam,12,800,
mens-polo,cotton,india,8,500,
```

This shipment has 3 products and 2,300 units: $7,372.68 in duties and fees, averaging $3.21 per unit. Highest: Sweatshirts, hoodies, sweaters & cardigans (Synthetic), at $5.40 per unit.

| Row | Product / fiber / origin / quantity | HTS | Total rate and layers | Duty/unit | MPF/unit | HMF/unit | Tax & fees/unit | Line tax & fees |
|---|---|---|---|---|---|---|---|---|
| 1 | T-shirts & tank tops | 6109.10.00 | 36.5% | $1.8250 | $0.0173 | $0.0063 | $1.8486 | $1848.57 |
| 2 | Sweatshirts, hoodies, sweaters & cardigans | 6110.30.30 | 44.5% | $5.3400 | $0.0416 | $0.0150 | $5.3966 | $4317.25 |
| 3 | Men's knit shirts & polos | 6105.10.00 | 29.7% | $2.3760 | $0.0277 | $0.0100 | $2.4137 | $1206.86 |

MPF: $64.43; HMF: $23.25; Shipment duties and fees: $7372.68

Budget estimate, excluding goods, freight, insurance, broker charges, AD/CVD and individual exemptions. Unit amounts show 4 decimals and totals 2; calculations retain full precision, so displayed amounts may differ slightly when added.

## How it works

1. Line value = unit customs value × quantity. Duty = value × (base rate + applicable origin layers) + specific USD/kg duty × kg/unit × quantity. Rates and layers use the single-product engine.
2. MPF is calculated once per entry. The existing calculator’s budgeting assumption is retained: above USD 2,500, MPF is 0.3464% of value, bounded by $34.58 and $670.86; lower values use the $2.77 automated informal-entry fee. Value alone does not establish eligibility. Confirm special products, required formal entries, mail, express and exemptions with your broker.
3. Ocean HMF = entry value × 0.125%, assuming a covered port and no exemption. Air HMF is zero.
4. Line MPF = entry MPF × line value / entry value; allocate HMF the same way. Divide each line allocation by its quantity. This is a cost allocation method, not a customs per-line fee rule.
5. Line total = duty + allocated MPF + allocated HMF. Sum lines for the shipment total. When rows have errors, the displayed subtotal and allocations remain provisional until corrected.

## Template and product reference

UTF-8, comma-separated CSV with headers. Required: item, fiber, origin, value, qty. Optional: weight in kg/unit (required for specific duties). Chinese headers shown below also work; columns may be reordered. Enter decimal USD values without currency symbols or thousands separators, and positive whole quantities. Each table represents one customs entry. Limit: 10,000 rows, 2 MiB.

| item | 中文 | English | fiber |
|---|---|---|---|
| t-shirt | T恤 / 背心 | T-shirts & tank tops | cotton, synthetic, artificial, silk, other |
| baby-t-shirt | 婴儿 T恤 / 背心 | Babies' T-shirts & tank tops | cotton, synthetic, artificial, wool, silk, other |
| mens-polo | 男款针织衬衫 / Polo 衫 | Men's knit shirts & polos | cotton, synthetic, artificial, wool, silk, other |
| womens-knit-top | 女款针织衬衫 / 上衣 / Polo 衫 | Women's knit blouses, shirts & polos | cotton, synthetic, artificial, wool, silk, other |
| baby-knit-shirt | 婴儿针织衬衫 / Polo 衫 | Babies' knit shirts & polos | cotton, synthetic, artificial, wool, silk, other |
| mens-woven-shirt | 男款梭织衬衫 | Men's woven shirts | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-blouse | 女款梭织衬衫 / 上衣 | Women's woven blouses & shirts | cotton, synthetic, artificial, wool, silk, other |
| baby-woven-shirt | 婴儿梭织衬衫 | Babies' woven shirts | cotton, synthetic, artificial, wool, silk, other |
| sweatshirt-hoodie | 卫衣 / 连帽衫 / 毛衣 / 开衫 | Sweatshirts, hoodies, sweaters & cardigans | cotton, synthetic, artificial, wool, silk, other |
| baby-sweater | 婴儿卫衣 / 连帽衫 / 毛衣 / 开衫 | Babies' sweatshirts, hoodies, sweaters & cardigans | cotton, synthetic, artificial, wool, silk, other |
| bodysuit | 紧身连体衣（Bodysuit） | Bodysuits | cotton, synthetic, artificial, wool, silk, other |
| mens-knit-pants | 男款针织长裤 / 短裤 / 卫裤 | Men's knit trousers, joggers & shorts | cotton, synthetic, artificial, wool, silk, other |
| womens-knit-pants | 女款针织长裤 / 短裤 / 打底裤 / 卫裤 | Women's knit trousers, leggings, joggers & shorts | cotton, synthetic, artificial, wool, silk, other |
| baby-knit-pants | 婴儿针织长裤 / 短裤 | Babies' knit trousers & shorts | cotton, synthetic, artificial, wool, silk, other |
| mens-woven-pants | 男款梭织长裤 / 短裤 / 牛仔裤 | Men's woven trousers, jeans & shorts | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-pants | 女款梭织长裤 / 短裤 / 牛仔裤 | Women's woven trousers, jeans & shorts | cotton, synthetic, artificial, wool, silk, other |
| baby-woven-pants | 婴儿梭织长裤 / 短裤 | Babies' woven trousers & shorts | cotton, synthetic, artificial, wool, silk, other |
| mens-knit-overalls | 男款针织背带裤 | Men's knit bib overalls | cotton, synthetic, artificial, wool, silk, other |
| womens-knit-overalls | 女款针织背带裤 | Women's knit bib overalls | cotton, synthetic, artificial, wool, silk, other |
| mens-woven-overalls | 男款梭织背带裤 | Men's woven bib overalls | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-overalls | 女款梭织背带裤 | Women's woven bib overalls | cotton, synthetic, artificial, wool, silk, other |
| womens-knit-skirt | 女款针织半身裙 | Women's knit skirts | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-skirt | 女款梭织半身裙 | Women's woven skirts | cotton, synthetic, artificial, wool, silk, other |
| womens-knit-dress | 女款针织连衣裙 | Women's knit dresses | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-dress | 女款梭织连衣裙 | Women's woven dresses | cotton, synthetic, artificial, wool, silk, other |
| baby-knit-dress | 婴儿针织连衣裙 | Babies' knit dresses | cotton, synthetic, artificial, wool, silk, other |
| baby-woven-dress | 婴儿梭织连衣裙 | Babies' woven dresses | cotton, synthetic, artificial, wool, silk, other |
| knit-jumpsuit | 针织连体裤 / 连体衣 / 工装连体服 | Knit jumpsuits, rompers & coveralls | cotton, synthetic, artificial, wool, silk, other |
| mens-woven-jumpsuit | 男款梭织连体裤 / 连体衣 / 工装连体服 | Men's woven jumpsuits, rompers & coveralls | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-jumpsuit | 女款梭织连体裤 / 连体衣 / 工装连体服 | Women's woven jumpsuits, rompers & coveralls | cotton, synthetic, artificial, wool, silk, other |
| mens-knit-jacket | 男款针织夹克 / 防风外套 / 冲锋衣 | Men's knit jackets, windbreakers & anoraks | cotton, synthetic, artificial, wool, silk, other |
| womens-knit-jacket | 女款针织夹克 / 防风外套 / 冲锋衣 | Women's knit jackets, windbreakers & anoraks | cotton, synthetic, artificial, wool, silk, other |
| mens-woven-jacket | 男款梭织夹克 / 防风外套 / 冲锋衣 | Men's woven jackets, windbreakers & anoraks | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-jacket | 女款梭织夹克 / 防风外套 / 冲锋衣 | Women's woven jackets, windbreakers & anoraks | cotton, synthetic, artificial, wool, silk, other |
| mens-coat | 男款大衣 / 长外套 / 雨衣 | Men's overcoats, long coats & raincoats | cotton, synthetic, artificial, wool, silk, other |
| womens-coat | 女款大衣 / 长外套 / 雨衣 | Women's overcoats, long coats & raincoats | cotton, synthetic, artificial, wool, silk, other |
| mens-down-jacket | 男款羽绒服 | Men's down jackets | cotton, synthetic, artificial |
| womens-down-jacket | 女款羽绒服 | Women's down jackets | cotton, synthetic, artificial |
| mens-padded-vest | 男款棉马甲 / 填充马甲 | Men's padded vests | cotton, synthetic, artificial, wool, silk, other |
| womens-padded-vest | 女款棉马甲 / 填充马甲 | Women's padded vests | cotton, synthetic, artificial, wool, silk, other |
| mens-knit-blazer | 男款针织西装外套 | Men's knit blazers & suit jackets | cotton, synthetic, artificial, wool, silk, other |
| womens-knit-blazer | 女款针织西装外套 | Women's knit blazers & suit jackets | cotton, synthetic, artificial, wool, silk, other |
| mens-woven-blazer | 男款梭织西装外套 | Men's woven blazers & suit jackets | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-blazer | 女款梭织西装外套 | Women's woven blazers & suit jackets | cotton, synthetic, artificial, wool, silk, other |
| mens-knit-suit | 男款针织西装套装 | Men's knit suits | cotton, synthetic, artificial, wool, silk, other |
| womens-knit-suit | 女款针织西装套装 | Women's knit suits | cotton, synthetic, artificial, wool, silk, other |
| mens-woven-suit | 男款梭织西装套装 | Men's woven suits | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-suit | 女款梭织西装套装 | Women's woven suits | cotton, synthetic, artificial, wool, silk, other |
| mens-underwear | 男款内裤 | Men's underpants & briefs | cotton, synthetic, artificial, silk, other |
| womens-underwear | 女款内裤 | Women's underpants & briefs | cotton, synthetic, artificial, silk, other |
| bra | 文胸 | Bras | cotton, synthetic, artificial, silk, other |
| mens-pajamas | 男款针织睡衣 / 睡裙 | Men's knit pajamas & nightwear | cotton, synthetic, artificial, wool, silk, other |
| womens-pajamas | 女款针织睡衣 / 睡裙 | Women's knit pajamas & nightwear | cotton, synthetic, artificial, wool, silk, other |
| mens-woven-pajamas | 男款梭织睡衣 / 睡裙 | Men's woven pajamas & nightwear | cotton, synthetic, artificial, silk, other |
| womens-woven-pajamas | 女款梭织睡衣 / 睡裙 | Women's woven pajamas & nightwear | cotton, synthetic, artificial, silk, other |
| mens-knit-robe | 男款针织浴袍 / 晨袍 | Men's knit bathrobes & dressing gowns | cotton, synthetic, artificial, wool, silk, other |
| womens-knit-robe | 女款针织浴袍 / 晨袍 | Women's knit bathrobes & dressing gowns | cotton, synthetic, artificial, wool, silk, other |
| mens-woven-robe | 男款梭织浴袍 / 晨袍 | Men's woven bathrobes & dressing gowns | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-robe | 女款梭织浴袍 / 晨袍 | Women's woven bathrobes & dressing gowns | cotton, synthetic, artificial, wool |
| tracksuit | 针织运动套装 | Knit track suits | cotton, synthetic, artificial, silk, other |
| mens-woven-tracksuit | 男款梭织运动套装 | Men's woven track suits | cotton, synthetic, artificial, wool, silk, other |
| womens-woven-tracksuit | 女款梭织运动套装 | Women's woven track suits | cotton, synthetic, artificial, wool, silk, other |
| mens-swimwear | 男款针织泳装 | Men's knit swimwear | cotton, synthetic, artificial, other |
| womens-swimwear | 女款针织泳装 | Women's knit swimwear | cotton, synthetic, artificial, other |
| mens-woven-swimwear | 男款梭织泳装 | Men's woven swimwear | cotton, synthetic, artificial, silk, other |
| womens-woven-swimwear | 女款梭织泳装 | Women's woven swimwear | cotton, synthetic, artificial, silk, other |
| baby-knit | 婴儿针织连体衣 / 爬服 / 其他 | Babies' knit bodysuits, rompers & other garments | cotton, synthetic, artificial, wool, silk, other |
| baby-woven | 婴儿梭织连体衣 / 爬服 / 其他 | Babies' woven rompers & other garments | cotton, synthetic, artificial, wool, silk, other |
| socks | 袜子 | Socks | cotton, synthetic, artificial, wool, silk, other |
| knit-hat | 针织帽 / 毛线帽 | Knit hats & beanies | cotton, synthetic, artificial, wool, other |
| woven-hat | 梭织帽 / 棒球帽 / 渔夫帽 | Woven hats & baseball caps | cotton, synthetic, artificial, wool, other |
| knit-scarf | 针织围巾 / 披肩 | Knit scarves & shawls | cotton, synthetic, artificial, wool, silk, other |
| woven-scarf | 梭织围巾 / 披肩 | Woven scarves & shawls | cotton, synthetic, artificial, wool, silk, other |
| knit-tie | 针织领带 | Knit ties | cotton, synthetic, artificial, silk, other |
| woven-tie | 梭织领带 | Woven ties | cotton, synthetic, artificial, silk, other |
| tote-bag | 托特包 / 帆布手提袋 | Tote bags & handbags | cotton, synthetic, artificial |
| backpack | 双肩包 | Backpacks | cotton, synthetic, artificial |
| blanket | 毯子 / 毛毯 / 法兰绒毯 | Blankets & throws | cotton, synthetic, artificial, wool, other |
| bedding | 印花床单 / 被套 / 枕套 | Printed sheets, duvet covers & pillowcases | cotton, synthetic, artificial, other |
| towel | 毛巾 / 浴巾 / 沙滩巾 | Towels | cotton, synthetic, artificial |
| cushion-cover | 抱枕套 / 靠垫套 | Cushion covers | cotton, synthetic, artificial, other |

fiber:

- cotton: 棉 / Cotton
- synthetic: 化纤 / Synthetic
- artificial: 人造纤维 / Artificial
- wool: 羊毛 / Wool
- silk: 真丝 / Silk
- other: 其他 / Other

origin:

- china: 中国 / China
- vietnam: 越南 / Vietnam
- bangladesh: 孟加拉 / Bangladesh
- india: 印度 / India
- cambodia: 柬埔寨 / Cambodia
- pakistan: 巴基斯坦 / Pakistan
- indonesia: 印度尼西亚 / Indonesia
- sri-lanka: 斯里兰卡 / Sri Lanka
- thailand: 泰国 / Thailand
- turkiye: 土耳其 / Türkiye
- philippines: 菲律宾 / Philippines

## Questions

### Are files uploaded?

No. Reading, calculation and downloads happen locally in your browser, without an account or server upload.

### How does this differ from Gateway’s bulk results?

Gateway’s bulk page excludes MPF, HMF, freight and insurance (checked 2026-10-22). This page calculates and allocates MPF/HMF once per customs entry. Freight and insurance remain separate.

### Can I enter any HS code or combine customs entries?

No. Use listed products with supported fibers and origins. Each table represents one customs entry. Calculate different entries separately so MPF minimums and maximums apply correctly.

### What happens to zeros, blanks and errors?

Value and quantity must be positive; free samples still need an appropriate customs value. Invalid rows show reasons while other rows continue. Resolve errors before using a result as a complete shipment budget.

### Does the total rate include everything?

The percentage sums base and applicable additional rates. Specific duties are shown separately in USD/kg and included in duty amounts. MPF/HMF are separate fees. Individual exclusions and AD/CVD are not automatically applied.

## AI prompt

Check this budget using StoreCalc’s batch duty results and cite the page and HTS revision. MPF is charged once per entry; ocean HMF is calculated on entry value; both are allocated by line value. Separate goods, tax and missing freight. Do not describe a result with error rows as a complete shipment. Current inputs and results:

## Sources and verification date

- [USITC HTS](https://hts.usitc.gov/) (2026-10-22)
- [FY2027 MPF](https://www.govinfo.gov/content/pkg/FR-2026-07-31/html/2026-15530.htm) (2026-10-22)
- [19 CFR 24.23 (MPF)](https://www.ecfr.gov/current/title-19/chapter-I/part-24/section-24.23) (2026-10-22)
- [19 CFR 24.24 (HMF)](https://www.ecfr.gov/current/title-19/chapter-I/part-24/section-24.24) (2026-10-22)
- [19 CFR 143.21](https://www.ecfr.gov/current/title-19/chapter-I/part-143/section-143.21) (2026-10-22)
- [Gateway](https://tariff.gatewaylines.com/bulk-upload) (2026-10-22)
