DataBrighten

    Time required to enforce a contract (days)

    2,389 × 6rows × columns: 189 countries, 2003 to 2016

    Real data: World Bank, Jobs, indicator IC.LGL.DURS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows2,389country-year values
    Countries189with at least one value
    Years2003 – 201614 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Time required to enforce a contract is the number of calendar days from the filing of the lawsuit in court until the final determination and, in appropriate cases, payment.

    Limits and exceptions (World Bank note)

    The Doing Business methodology has limitations that should be considered when interpreting the data. First, the data collected refer to businesses in the economy's largest city and may not represent regulations in other locations of the economy. To address this limitation, subnational indicators are being collected for selected economies. These subnational studies point to significant differences in the speed of reform and the ease of doing business across cities in the same economy. Second, the data often focus on a specific business form - generally a limited liability company of a specified size - and may not represent regulation for other types of businesses such as sole proprietorships. Third, transactions described in a standardized business case refer to a specific set of issues and may not represent the full set of issues a business encounters. Fourth, the time measures involve an element of judgment by the expert respondents. When sources indicate different estimates, the Doing Business time indicators represent the median values of several responses given under the assumptions of the standardized case. Fifth, the methodology assumes that a business has full information on

    The numbers in 2016

    In 2016, 189 countries have a value. The highest is Guinea-Bissau (1,785); the lowest is Singapore (164). The median country value is 570. The World Bank's World aggregate for 2016 is 647.8.

    Top 10 countries, 2016

    days

    Source: World Bank, IC.LGL.DURS, retrieved 19 November 2026. Computed from time-required-to-enforce-a-contract-days.csv.

    Highest, 2016

    #CountryValue
    1Guinea-Bissau1,785
    2Suriname1,715
    3Afghanistan1,642
    4Greece1,580
    5India1,445
    6Bangladesh1,442
    7Guatemala1,402
    8Barbados1,340
    9Trinidad and Tobago1,340
    10Sri Lanka1,318

    Lowest, 2016

    #CountryValue
    1Singapore164
    2New Zealand216
    3Uzbekistan225
    4Bhutan225
    5South Sudan228
    6Rwanda230
    7Belarus275
    8Azerbaijan277
    9Georgia285
    10Korea, Rep.290
    How many countries report, by decade
    DecadeMost countries in one year
    2000s171
    2010s189

    World aggregate by year

    As published by the World Bank (in the regions file, not the country file).

    YearWorld
    2016647.8
    2015646.7
    2014646.8
    2013643
    2012633.1
    2011627
    2010620.2
    2009621.5
    2008628.4
    2007624.3
    2006627
    2005632.3

    By region, 2016

    World Bank regionValue
    South Asia1,102
    Latin America & Caribbean 761.2
    North America665
    Sub-Saharan Africa 661.7
    Middle East, North Africa, Afghanistan & Pakistan656.7
    Europe & Central Asia546.4
    East Asia & Pacific534.4

    First rows

    time-required-to-enforce-a-contract-days.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20041642
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20051642
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20061642
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20071642
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20081642
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20091642
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20101642
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20111642

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberTime required to enforce a contract (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 2016?

    Guinea-Bissau, with 1,785.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2016)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2016)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2016
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2016);

    pandas (df = pd.read_csv("time-required-to-enforce-a-contract-days.csv"))

    y = df[df.year == 2016]
    y[y.value == y.value.max()][["country", "value"]]

    File: time-required-to-enforce-a-contract-days.csv

    How many countries report a value for 2016?

    189 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2016)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2016;

    pandas (df = pd.read_csv("time-required-to-enforce-a-contract-days.csv"))

    (df.year == 2016).sum()

    File: time-required-to-enforce-a-contract-days.csv

    What is the median across countries in 2016?

    570 (median of the 189 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2016))

    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 = 2016 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2016) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2016));

    pandas (df = pd.read_csv("time-required-to-enforce-a-contract-days.csv"))

    df[df.year == 2016]["value"].median()

    File: time-required-to-enforce-a-contract-days.csv

    Which country rose the most between 2006 and 2016?

    Greece: from 819 to 1,580, a rise of 761 (out of 166 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (time-required-to-enforce-a-contract-days-wide.csv): add a column = [2016] - [2006], 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 = 2006 AND b.year = 2016 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("time-required-to-enforce-a-contract-days.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2016] - w[2006]).dropna().nlargest(1)

    File: time-required-to-enforce-a-contract-days.csv

    Which year has the most countries reporting?

    2016, with 189 countries.

    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("time-required-to-enforce-a-contract-days.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: time-required-to-enforce-a-contract-days.csv