DataJockey
TradeChord · All countries

Step 1 of 25: The United States in world trade

Source: World Bank WITS · release 2026-11 · reported goods trade, current US$

I · The world

2002–2023

The United States in world trade

A walkthrough of the United States' reported goods trade, from its place among the world's traders down to a single partner and product.

In 2023, the United States reported $2.02T of exports and $3.17T of imports.

Scroll, or use ↓ and ↑, to move through the story.

I · The world

Routes

Its 12 largest routes carry 69% of its trade

The map unfolds into a compass: each partner keeps its true direction from the United States, but distances are compressed so close neighbours no longer pile up. Circles are sized by trade.

Teal arcs carry the United States' exports out; orange arcs bring imports in. Each arc's width, and the dots flowing along it, scale with its 2023 value.

The other 31% is with smaller partners and the rest of the world, which are not drawn.

I · The world

Rank

#2 of 34 reporters by exports

The exports of all 34 reporters in this release replay from 2002 to 2023. The United States slipped from #1 to #2.

In 2023, the United States accounted for 10.6% of their combined exports.

2023 Scroll to move through the years, or

II · The country

Scale

Exports grew 2.9× since 2002

Exports went from $693.1B in 2002 to $2.02T in 2023; imports grew 2.6×, from $1.20T to $3.17T. Exports peaked in 2022 at $2.06T.

The sharpest fall in exports came in 2009 (−19%); the strongest rise in 2021 (+23%).

II · The country

Balance

A $1.15T trade deficit in 2023

Exports minus imports, year by year. The United States ran a surplus in 0 of the 22 years shown; bars above the line are surpluses, below it deficits.

II · The country

Openness

Goods trade equals 19% of GDP

Exports were 7% of GDP in 2023, against 6% in 2002; imports 11%. That is $6K of exports per person.

Among the 30 reporters, the United States ranks #30 by goods trade relative to GDP. Hubs that re-export can exceed 100%, because trade is counted gross while GDP counts value added.

GDP and population: World Bank, World Development Indicators (CC BY 4.0).

III · What it trades

What it sells

Machinery & electronics is 21% of exports

Each tile is a product group, sized by its 2023 export value. The three largest, machinery & electronics, miscellaneous manufactures and fuels, are shaded.

III · What it trades

How the mix changed

Machinery & electronics: 35% of exports in 2002, 21% in 2023

Each column is one year of exports, split by product group. The tiles fold into 2023 and history unrolls to the left.

Exports are more diversified than in 2002: the three largest groups made up 62% then and 54% now.

III · What it trades

What it buys

Machinery & electronics lead imports at 29%

The same group tops both sides of the ledger: the United States buys and sells machinery & electronics at scale.

III · What it trades

Net position

A net exporter in 3 of 16 product groups

Exports minus imports for each group in 2023. Teal bars to the right are groups the United States sells more of than it buys; orange bars to the left, the reverse.

Largest net export: fuels (+$56.6B); largest net import: machinery & electronics (−$489.9B).

III · What it trades

Net position over time

A net exporter of 3 groups in 2023, 2 in 2002

Each panel is one product group: the teal line is exports, the orange line imports, and the fill shows which was larger each year.

Fuels turned to surplus, plastics & rubber turned to deficit and minerals & ores turned to surplus over the period.

IV · Who with

Who it trades with

Mexico is the largest named partner

The ten largest partners by combined trade in 2023. The top five take 48% of the United States' exports.

IV · Who with

The network

The United States at the centre of its trade

The teal arc is the United States' exports; each orange arc is what the United States imports from that partner. Grey ribbons join the two: their width at the United States' end is exports, at the partner's end imports.

IV · Who with

The network over time

The network, rebuilt year by year

The same partners, replayed from 2002 to 2023: arcs swell and shrink with each year's trade.

The largest of them was Canada in 2002 and Mexico by 2023.

2023 Scroll to move through the years, or

IV · Who with

What shifted

China gained the most export share

Share of the United States' exports going to each partner, 2002 against 2023. China rose from 3.1% to 7.3%; Canada fell from 22.6% to 17.5%.

IV · Who with

Surplus and deficit by partner

A surplus with 1 of 8 major partners

One panel per partner, 2002–2023: exports in teal, imports in orange, and the fill shows which was larger.

The widest gap in 2023 is with China (−$300.2B); the United Kingdom switched sides over the period.

V · Closest ties

Biggest relationship

The United States and Mexico

The largest relationship with both flows reported. In 2023, exports to Mexico were $323.2B and imports $480.1B.

V · Closest ties

Two ledgers

The United States and Mexico keep different books

In 2023, the United States reported $323.2B of exports to Mexico; Mexico reported $255.9B of imports from the United States, 21% less. Across 22 years, Mexico's figure averaged 10% below the United States'.

Solid lines are what the United States reports; dashed lines are the partner’s record of the same goods. The two rarely match: imports are usually valued including freight and insurance, and timing, re-exports and partner attribution differ.

V · Closest ties

What partners report · 2023

Partners account for 28% of the exports the United States leaves unattributed

For each partner that reports its own trade, the dark bar is what the United States says it exported there and the light bar what the partner says it bought.

Spain, Poland and Türkiye are not named in the United States' own data, yet together these partners record $96.2B of purchases from it, against $347.4B of exports the United States assigns to no named partner.

In all, these partners record $1.65T of purchases from the United States, against $1.63T that the United States assigns to them; much of the difference likely sits in the $347.4B it reports without a named destination.

Imports are usually valued including freight and insurance, so partner figures run somewhat higher even when the trade is the same.

V · Closest ties

Mexico · 2023

What moves between them

Exports to the right, imports to the left. In 2023, machinery & electronics led both directions: $96.9B of exports and $167.0B of imports.

VI · Finest grain

Flows · 2023

From product to partner

Exports pour out of the United States on the left, split into product groups in the middle, and reach partners on the right. Grey streams are the smaller groups and partners combined.

The widest single stream, highlighted, is machinery & electronics to Mexico: $96.9B.

VI · Finest grain

Flows · 2023

And back again

The same streams for imports, read from partner to the United States.

The widest is machinery & electronics from China: $212.7B.

VI · Finest grain

The single largest flow

Machinery & electronics from China

$212.7B in 2023, 6.7% of all the United States' imports.

This is the finest grain in the release: one partner, one product group, one year.

VI · Finest grain

Routes over time

2002–2023: the routes redrawn

Back to the map, replayed year by year: routes thicken, thin and change direction as trade shifts.

The route to Mexico grew the most, from $223.8B of two-way trade to $803.3B.

2023 Scroll to move through the years, or

VII · Snapshot

2023 · on one page

United States in 2023

The United States' trade at a glance: the headline numbers, its routes, and its largest products and partners.

Download it as an image to share.