Lead time to export, median case (days)
Real data: World Bank, World Development Indicators, indicator LP.EXP.DURS.MD, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Lead time to export is the median time (the value for 50 percent of shipments) from shipment point to port of loading. Data are from the Logistics Performance Index survey. Respondents provided separate values for the best case (10 percent of shipments) and the median case (50 percent of shipments). The data are exponentiated averages of the logarithm of single value responses and of midpoint values of range responses for the median case.
Limits and exceptions (World Bank note)
The Logistics Performance Index is an interactive benchmarking tool created to help countries identify the challenges and opportunities they face in their performance on trade logistics and what they can do to improve their performance. Feedback from operators is supplemented with quantitative data on the performance of key components of the logistics chain in the country of work. Thus, the LPI consists of both qualitative and quantitative measures. In addition, despite being the most comprehensive data source for country logistics and trade facilitation, the LPI has two important limitations. First, the experience of international freight forwarders might not represent the broader logistics environment in poor countries, which often rely on traditional operators. And the international and traditional operators might differ in their interactions with government agencies - and in their service levels. Second, for landlocked countries and small-island states, the LPI might reflect access problems outside the country assessed, such as transit difficulties. The low rating of a landlocked country might not adequately reflect its trade facilitation efforts, which depend on the workings
The numbers in 2018
In 2018, 94 countries have a value. The highest is Ethiopia (60); at the bottom, 15 countries tie at 1 (e.g. Australia, Brunei Darussalam, Ghana). The median country value is 2.5. The World Bank's World aggregate for 2018 is 4.39.
Top 10 countries, 2018
days
Highest, 2018
| # | Country | Value |
|---|---|---|
| 1 | Ethiopia | 60 |
| 2 | Gabon | 25 |
| 3 | Burundi | 18 |
| 4 | Congo, Rep. | 18 |
| 5 | Uzbekistan | 16 |
| 6 | Venezuela, RB | 15 |
| 7 | Benin | 14 |
| 8 | Albania | 10 |
| 9 | Kazakhstan | 10 |
| 10 | Qatar | 10 |
Lowest, 2018
Ties are listed A to Z.
| # | Country | Value |
|---|---|---|
| 1 | Sweden | 1 |
| 2 | Slovenia | 1 |
| 3 | Senegal | 1 |
| 4 | Poland | 1 |
| 5 | Philippines | 1 |
| 6 | Norway | 1 |
| 7 | North Macedonia | 1 |
| 8 | Nepal | 1 |
| 9 | Mauritius | 1 |
| 10 | Malta | 1 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 2000s | 102 |
| 2010s | 118 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2018 | 4.39 |
| 2016 | 4.13 |
| 2014 | 2.64 |
| 2012 | 4.17 |
| 2010 | 3.78 |
| 2007 | 4.05 |
By region, 2018
| World Bank region | Value |
|---|---|
| Sub-Saharan Africa | 9.32 |
| Latin America & Caribbean | 4.45 |
| South Asia | 3.5 |
| Europe & Central Asia | 3.2 |
| Middle East, North Africa, Afghanistan & Pakistan | 3.2 |
| North America | 3 |
| East Asia & Pacific | 1.93 |
First rows
lead-time-to-export-median-case-days.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 8.1 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2010 | 2 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2012 | 5 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2010 | 1.73 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2012 | 11 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2014 | 1 |
| Albania | ALB | Europe & Central Asia | Upper middle income | 2018 | 10 |
| Algeria | DZA | Middle East, North Africa, Afghanistan & Pakistan | Upper middle income | 2010 | 4.58 |
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 | Lead time to export, median case (days), 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 2018?
Ethiopia, with 60.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2018)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2018)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2018
AND value = (SELECT MAX(value) FROM wb WHERE year = 2018);pandas (df = pd.read_csv("lead-time-to-export-median-case-days.csv"))
y = df[df.year == 2018]
y[y.value == y.value.max()][["country", "value"]]File: lead-time-to-export-median-case-days.csv
How many countries report a value for 2018?
94 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2018)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2018;pandas (df = pd.read_csv("lead-time-to-export-median-case-days.csv"))
(df.year == 2018).sum()File: lead-time-to-export-median-case-days.csv
What is the median across countries in 2018?
2.5 (median of the 94 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2018))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 = 2018 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2018) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2018));pandas (df = pd.read_csv("lead-time-to-export-median-case-days.csv"))
df[df.year == 2018]["value"].median()File: lead-time-to-export-median-case-days.csv
Which country rose the most between 2010 and 2018?
Ethiopia: from 5 to 60, a rise of 55 (out of 71 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (lead-time-to-export-median-case-days-wide.csv): add a column = [2018] - [2010], 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 = 2010 AND b.year = 2018 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("lead-time-to-export-median-case-days.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2018] - w[2010]).dropna().nlargest(1)File: lead-time-to-export-median-case-days.csv
Which year has the most countries reporting?
2016, with 118 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("lead-time-to-export-median-case-days.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: lead-time-to-export-median-case-days.csv