Net trade in goods and services (BoP, current US$)
Real data: World Bank, World Development Indicators, indicator BN.GSR.GNFS.CD, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
The balance of international trade in goods and services is the difference between the exports and imports of goods and services. This indicator is expressed in current prices, meaning no adjustment has been made to account for price changes over time. This indicator is expressed in United States dollars.
The numbers in 2025
In 2025, 138 countries have a value. The highest is China (822.44 billion); the lowest is United States (-931.96 billion). The median country value is -163.16 million.
Top 10 countries, 2025
BoP, current US$
Highest, 2025
| # | Country | Value |
|---|---|---|
| 1 | China | 822.44 billion |
| 2 | Ireland | 243.59 billion |
| 3 | Singapore | 213.75 billion |
| 4 | Netherlands | 138.73 billion |
| 5 | United Arab Emirates | 123.05 billion |
| 6 | Germany | 122.34 billion |
| 7 | Korea, Rep. | 103.55 billion |
| 8 | Switzerland | 90.09 billion |
| 9 | Spain | 73.53 billion |
| 10 | Russian Federation | 64.54 billion |
Lowest, 2025
| # | Country | Value |
|---|---|---|
| 1 | United States | -931.96 billion |
| 2 | India | -103.60 billion |
| 3 | Ukraine | -55.76 billion |
| 4 | Philippines | -53.76 billion |
| 5 | United Kingdom | -52.25 billion |
| 6 | Egypt, Arab Rep. | -38.62 billion |
| 7 | Pakistan | -34.03 billion |
| 8 | Bangladesh | -28.48 billion |
| 9 | Japan | -26.84 billion |
| 10 | Algeria | -25.50 billion |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1960s | 7 |
| 1970s | 114 |
| 1980s | 131 |
| 1990s | 148 |
| 2000s | 184 |
| 2010s | 189 |
| 2020s | 184 |
First rows
net-trade-in-goods-and-services-bop-current-usd.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1979 | -205100000 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1980 | -176800000 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1981 | -337700000 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1982 | -212700000 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1983 | -263000000 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1984 | -579800000 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1985 | -407500000 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 1986 | -793800000 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| country | text | Country or economy, World Bank name |
| iso3 | text | ISO 3166-1 alpha-3 code |
| region | text | World Bank region |
| income_group | text | World Bank income group |
| year | number | Calendar year of the value |
| value | number | Net trade in goods and services (BoP, current US$), exactly as the World Bank API returns it (not rounded) |
Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.
Practice questions
answers computed from the file
Which country has the highest value in 2025?
China, with 822.44 billion.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2025)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2025)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2025
AND value = (SELECT MAX(value) FROM wb WHERE year = 2025);pandas (df = pd.read_csv("net-trade-in-goods-and-services-bop-current-usd.csv"))
y = df[df.year == 2025]
y[y.value == y.value.max()][["country", "value"]]File: net-trade-in-goods-and-services-bop-current-usd.csv
How many countries report a value for 2025?
138 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2025)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2025;pandas (df = pd.read_csv("net-trade-in-goods-and-services-bop-current-usd.csv"))
(df.year == 2025).sum()File: net-trade-in-goods-and-services-bop-current-usd.csv
What is the median across countries in 2025?
-163.16 million (median of the 138 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2025))SQL (table wb = the CSV)
-- SQLite has no MEDIAN(); this picks the middle value(s)
SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2025 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2025) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2025));pandas (df = pd.read_csv("net-trade-in-goods-and-services-bop-current-usd.csv"))
df[df.year == 2025]["value"].median()File: net-trade-in-goods-and-services-bop-current-usd.csv
Which country rose the most between 2015 and 2025?
China: from 357.87 billion to 822.44 billion, a rise of 464.57 billion (out of 136 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (net-trade-in-goods-and-services-bop-current-usd-wide.csv): add a column = [2025] - [2015], then sort it largest to smallest.SQL (table wb = the CSV)
SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
WHERE a.year = 2015 AND b.year = 2025 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("net-trade-in-goods-and-services-bop-current-usd.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2025] - w[2015]).dropna().nlargest(1)File: net-trade-in-goods-and-services-bop-current-usd.csv
Which year has the most countries reporting?
2014, with 189 countries. (Later years are still filling in as countries report.)
Excel (on the long CSV: E = year, F = value)
Make a pivot table: year in Rows, Count of value in Values, then sort by the count.SQL (table wb = the CSV)
SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;pandas (df = pd.read_csv("net-trade-in-goods-and-services-bop-current-usd.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: net-trade-in-goods-and-services-bop-current-usd.csv