Skip to content

Economy of Brazil vs Spain compared: GDP & Debt

Updated on by Georank

Brazil has a GDP of $2.28T compared to $1.91T for Spain, ranking 11/197 and 12/197 by economy size, respectively.

Brazil has $2.13T in government debt (93.3% of GDP), compared to $1.91T (100.4% of GDP) in Spain.

Brazil vs Spain GDP by year

Brazil
Spain
1x
Year GDP, current $
Brazil Spain
2025 $2,279,920,092,492 $1,906,453,309,986
2024 $2,185,821,610,689 $1,725,671,652,742
2023 $2,191,131,765,685 $1,619,481,980,720
2022 $1,951,923,942,083 $1,448,850,658,407
2021 $1,670,647,398,905 $1,461,244,901,853
2020 $1,476,107,231,310 $1,289,783,836,971
2019 $1,873,288,205,060 $1,403,496,387,686
2018 $1,916,933,898,011 $1,431,642,809,327
2017 $2,063,514,977,366 $1,321,754,088,819
2016 $1,795,693,482,853 $1,243,015,667,917
2015 $1,802,212,206,815 $1,206,164,777,553
2014 $2,456,043,727,199 $1,380,244,561,362
2013 $2,472,819,535,557 $1,362,186,923,158
2012 $2,465,227,802,807 $1,330,994,811,670
2011 $2,616,156,223,918 $1,487,568,659,241
2010 $2,208,837,745,101 $1,427,989,078,917
2009 $1,666,996,438,581 $1,496,587,590,848
2008 $1,695,855,083,498 $1,636,115,447,613
2007 $1,397,114,486,369 $1,476,746,276,855
2006 $1,107,626,541,435 $1,261,846,683,275
2005 $891,633,839,894 $1,154,667,551,776
2004 $669,289,424,806 $1,069,829,382,515
2003 $558,233,745,652 $907,963,217,058
2002 $509,795,273,807 $708,938,227,244
2001 $559,983,634,799 $627,798,682,379
2000 $655,448,231,984 $598,102,854,756
1999 $599,642,024,320 $634,394,904,387
1998 $863,710,759,256 $618,731,484,575
1997 $883,206,179,730 $589,739,772,727
1996 $850,426,432,992 $642,251,412,058
1995 $769,333,050,987 $614,170,002,669
1994 $525,369,467,296 $530,183,651,720
1993 $368,292,034,381 $524,700,572,624
1992 $328,191,909,882 $630,465,353,486
1991 $342,534,090,909 $576,753,902,322
1990 $384,959,818,182 $536,175,326,477
1989 $412,990,820,287 $414,460,794,097
1988 $307,881,930,752 $375,891,716,898
1987 $283,056,836,894 $318,520,253,335
1986 $256,480,852,471 $251,141,555,186
1985 $210,879,844,639 $180,664,322,896
1984 $188,339,974,087 $171,979,977,230
1983 $189,656,506,321 $170,829,074,246
1982 $271,314,113,768 $195,856,752,991
1981 $258,015,174,749 $202,663,023,968
1980 $237,393,489,893 $232,600,556,974
1979 $221,338,204,480 $214,448,666,336
1978 $200,278,646,124 $160,484,969,618
1977 $176,344,101,402 $132,354,665,936
1976 $153,168,949,208 $118,422,534,195
1975 $129,203,555,239 $114,695,060,870
1974 $109,794,519,728 $97,204,522,642
1973 $83,592,275,863 $78,583,355,226
1972 $58,434,858,375 $59,090,176,029
1971 $48,869,830,902 $46,586,119,760
1970 $42,327,664,794 $40,963,715,237
1969 $37,171,640,819 $37,090,689,288
1968 $33,930,457,425 $32,394,326,464
1967 $31,086,389,195 $32,570,905,397
1966 $28,283,323,733 $29,559,436,183
1965 $22,465,522,884 $25,479,619,607
1964 $20,963,733,695 $21,966,876,027
1963 $23,287,712,878 $19,631,714,760
1962 $19,231,747,852 $16,609,632,791
1961 $17,275,940,449 $14,238,126,760
1960 $17,030,465,539 $12,424,514,014

Data sources: World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08).

GeoRank.org/economy/brazil/spain | CC BY

GDP per capita in Brazil vs Spain by year

Brazil
GDP per capita

GDP per capita, PPP
Spain
GDP per capita

GDP per capita, PPP
1x
Year Current $
Brazil Spain
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2025 $10,713 - $38,627 -
2024 $10,311 $22,338 $35,327 $57,965
2023 $10,378 $21,176 $33,493 $55,682
2022 $9,281 $19,877 $30,319 $51,399
2021 $7,973 $18,076 $30,799 $44,252
2020 $7,074 $16,102 $27,234 $39,328
2019 $9,030 $16,070 $29,787 $44,043
2018 $9,301 $15,464 $30,602 $41,015
2017 $10,081 $14,559 $28,381 $39,825
2016 $8,836 $14,309 $26,756 $37,613
2015 $8,936 $14,821 $25,982 $35,229
2014 $12,275 $15,827 $29,708 $33,761
2013 $12,459 $15,722 $29,229 $32,614
2012 $12,522 $15,198 $28,456 $31,870
2011 $13,397 $15,212 $31,825 $32,016
2010 $11,403 $14,452 $30,659 $31,805
2009 $8,679 $13,391 $32,280 $32,218
2008 $8,908 $13,445 $35,603 $33,350
2007 $7,410 $12,673 $32,652 $32,536
2006 $5,934 $11,751 $28,422 $30,749
2005 $4,828 $11,081 $26,451 $27,630
2004 $3,664 $10,526 $24,925 $26,160
2003 $3,091 $9,802 $21,522 $25,057
2002 $2,856 $9,617 $17,111 $24,378
2001 $3,176 $9,304 $15,368 $22,952
2000 $3,767 $9,092 $14,743 $21,582
1999 $3,494 $8,635 $15,708 $19,938
1998 $5,106 $8,599 $15,382 $19,083
1997 $5,299 $8,602 $14,722 $17,903
1996 $5,179 $8,301 $16,101 $16,971
1995 $4,757 $8,097 $15,461 $16,276
1994 $3,299 $7,727 $13,406 $15,582
1993 $2,349 $7,260 $13,330 $14,973
1992 $2,127 $6,869 $16,101 $14,855
1991 $2,258 $6,867 $14,801 $14,461
1990 $2,581 $6,688 $13,795 $13,676
1989 $2,819 - $10,674 -
1988 $2,141 - $9,696 -
1987 $2,006 - $8,234 -
1986 $1,854 - $6,509 -
1985 $1,556 - $4,696 -
1984 $1,420 - $4,487 -
1983 $1,461 - $4,475 -
1982 $2,138 - $5,156 -
1981 $2,080 - $5,367 -
1980 $1,959 - $6,204 -
1979 $1,870 - $5,766 -
1978 $1,733 - $4,353 -
1977 $1,562 - $3,625 -
1976 $1,390 - $3,277 -
1975 $1,201 - $3,208 -
1974 $1,045 - $2,748 -
1973 $815 - $2,246 -
1972 $583 - $1,708 -
1971 $500 - $1,361 -
1970 $444 - $1,211 -
1969 $399 - $1,109 -
1968 $374 - $978 -
1967 $351 - $997 -
1966 $328 - $916 -
1965 $268 - $797 -
1964 $257.3 - $695 -
1963 $294.2 - $627 -
1962 $250.2 - $535 -
1961 $231.6 - $463 -
1960 $235.3 - $408 -

Data sources: World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08).

GeoRank.org/economy/brazil/spain | CC BY

Brazil's GDP per capita is $10,713, ranking 85/197, compared to $38,627 in Spain, ranking 31/197. Adjusted for purchasing power (GDP per capita PPP), Brazil ranks 88th at $22,338, while Spain ranks 34th at $57,965.

Economic indicators

Brazil Spain
Gross domestic product
$2.28T
2025
$1.91T
2025
GDP rank
11/197
2025
12/197
2025
GDP growth
2.29%
2024-2025
2.82%
2024-2025
GDP per capita
$10,713
2025
$38,627
2025
GDP per capita rank
85/197
2025
31/197
2025
GDP per capita, PPP
$22,338
2024
$57,965
2024
GDP per capita PPP rank
88/197
2024
34/197
2024
Government debt
$2.13T
2025
$1.91T
2025
Debt-to-GDP ratio
93.3%
2025
100.4%
2025
Government debt per person
$9,999
2025
$38,794
2025
Government debt per person rank
60/185
2025
20/185
2025
Average annual personal income after taxes
$6,555
2026
$24,910
2026
Market capitalization of domestic companies
$871B
2025
$1.3T
2025
Number of millionaires
386,000
2026
1,077,000
2026
Number of billionaires
70
2026
34
2026
Income share by richest 10%
39.3%
2024
24.5%
2023
Income share by poorest 10%
1.3%
2024
2.2%
2023
Government expenditure, % of GDP
47.4%
2025
44.7%
2025
Consumer prices inflation
5%
2024-2025
2.7%
2024-2025
Central bank interest rate
14.5%
2026
n/a
Unemployment rate
5.83%
2025
10.5%
2025
Population
213964342
49323658

Spending and national debt comparison by year

Brazil
Spending

Debt
Spain
Spending

Debt
1x
Year % of GDP
Brazil Spain
Government spending Government debt Government spending Government debt
2025 47.4% 93.3% 44.7% 100.4%
2024 45.5% 87% 45.5% 101.6%
2023 45.3% 84% 45.4% 105.1%
2022 43.4% 83.9% 46.3% 109.2%
2021 40.4% 88.9% 49.5% 115.6%
2020 46.2% 96% 51.4% 119.2%
2019 43% 87.1% 42% 97.6%
2018 44.2% 84.8% 41.5% 99.7%
2017 44.3% 82.7% 41% 101.1%
2016 45.5% 77.4% 42.1% 102%
2015 46.2% 71.7% 43.7% 102.4%
2014 41.4% 61.6% 45.1% 104.4%
2013 39.8% 59.6% 46.2% 100%
2012 39.3% 61.6% 49.2% 89.6%
2011 39.4% 60.6% 45.9% 69.5%
2010 39.5% 62.4% 45.8% 60.3%
2009 40.5% 64.7% 46.1% 53.1%
2008 39.9% 61.4% 41.3% 39.6%
2007 40.4% 63% 39.2% 35.7%
2006 42.6% 64.6% 38.4% 39%
2005 41.9% 67% 38.4% 42.4%
2004 39.7% 68% 38.8% 45.3%
2003 41.3% 71.5% 38.4% 47.7%
2002 44.5% 76.1% 38.6% 51.2%
2001 39.8% 67.3% 38.4% 54.1%
2000 34.5% 62.2% 39.1% 57.8%
1999 39.6% 44.5% 40% 60.9%
1998 40.9% 38.9% 41% 62.4%
1997 38.6% 31.8% 41.5% 64.3%
1996 38.2% 30.7% 42.9% 65.4%
1995 - 28% 44.1% 61.6%
1994 - 30% 44.8% 57%
1993 - 32.6% 46.3% 54.6%
1992 - 37.1% 43.9% 44.1%
1991 - 38.1% 42.6% 41.9%
1990 - 40.6% 41.1% 41.3%
1989 - 40.2% 32.1% 39.2%
1988 - 46.9% 28.6% 38.2%
1987 - 50.3% 31.1% 42.1%
1986 11.7% 49.4% 28.4% 36.5%
1985 11.1% 52.6% 27.6% 31.5%
1984 10% 55.8% 27% 18.3%
1983 9.7% 51.5% 26% 13.4%
1982 8.1% 32.8% 21.5% 12%
1981 7.8% 34.6% 18.1% 10.9%
1980 6.8% 39.7% 16.3% 10.2%
1979 9% 36.6% 14.3% 9.88%
1978 10.2% 37% 14.3% 9.93%
1977 10.4% 31% 12.8% 8.75%
1976 10.6% 31.8% 11.5% 8.21%
1975 10.7% 27.7% 11.4% 11.9%
1974 10.5% 25.7% 11.4% 13.6%
1973 11% 22.4% 9.88% 16.3%
1972 12.6% 22.5% 12.5% 17.6%
1971 11.7% 17.9% 14% 17.9%
1970 11.4% 17% 12.3% 19.2%
1969 11.2% 16.5% 12.3% 18.8%
1968 14.4% 15.8% 12.8% 18.3%
1967 13.5% 13.8% 12.5% 17.6%
1966 14.6% 19.6% 11.8% 17.7%
1965 14% 17.6% 14% 18.1%
1964 25.4% 22.2% 12.7% 19.5%
1963 22.8% 20.4% 12.4% 21%
1962 23.1% 23.7% 10.6% 24.4%
1961 12% 25.7% 9.97% 26.7%
1960 13.7% 22.3% 11% 29.4%

Data sources: International Monetary Fund (IMF) | Public Finances in Modern History (1960–2000, retrieved 2026-07-08); International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08).

GeoRank.org/economy/brazil/spain | CC BY

In 2025, Brazil's government spending was $1.08T, accounting for 47.4% of its GDP, while Spain spent $852B, or 44.7% of GDP.

Debt-to-GDP ratio is 93.3% in Brazil and 100.4% in Spain, ranking 29/185 and 25/185, respectively.

Government deficit by year

Deficit/surplus
Brazil

Spain
1x
Year Deficit/surplus, % of GDP
Brazil Spain
2025 -8.07% -2.5%
2024 -6.17% -3.22%
2023 -7.71% -3.34%
2022 -3.96% -4.59%
2021 -2.63% -6.66%
2020 -11.6% -10%
2019 -4.86% -3.04%
2018 -6.99% -2.58%
2017 -7.97% -3.1%
2016 -7.99% -4.26%
2015 -9.28% -5.26%
2014 -6.27% -6.07%
2013 -3.42% -7.49%
2012 -2.35% -11.5%
2011 -2.74% -9.69%
2010 -3.55% -9.49%
2009 -4.23% -11.2%
2008 -2.39% -4.56%
2007 -2.66% 1.88%
2006 -4.87% 2.12%
2005 -3.36% 1.23%
2004 -2.95% -0.1%
2003 -5.4% -0.37%
2002 -4.15% -0.32%
2001 -3.47% -0.45%
2000 -3.32% -1.16%
1999 -5.17% -1.24%
1998 -7.22% -2.63%
1997 -5.6% -3.86%
1996 -5.35% -5.87%
1995 - -6.79%
1994 - -6.31%
1993 - -6.89%
1992 - -4.26%
1991 - -4.58%
1990 - -3.9%
1989 - -3.24%
1988 - -2.95%
1987 - -3.52%
1986 -1.6% -5.18%
1985 -1.3% -6.04%
1984 -0.4% -5.25%
1983 0.1% -4.77%
1982 1.4% -5.76%
1981 1% -2.88%
1980 2.5% -2.55%
1979 0.4% -1.51%
1978 -0.1% -1.63%
1977 0.1% -0.24%
1976 0.1% 0.43%
1975 0% 0.26%
1974 0.6% 0.11%
1973 0.1% 1.09%
1972 -0.1% 0.24%
1971 -0.3% -0.96%
1970 -0.4% 0.09%
1969 -0.6% -0.06%
1968 -1.6% -0.55%
1967 -2.1% -0.32%
1966 -1.3% 0.07%
1965 -2% -0.04%
1964 -8.79% 0.18%
1963 -5.78% -0.54%
1962 -6.82% 1.27%
1961 -2.93% 1.9%
1960 -3.85% 0.69%
1959 -0.18% 0.54%
1958 -0.76% 0.23%
1957 -0.29% 1.13%
1956 -0.14% -0.05%
1955 -0.62% 0.6%
1954 -0.49% 0.7%
1953 -1.26% 1.02%
1952 0.64% 0.81%
1951 0.87% -0.24%
1950 -1.58% -0.44%
1949 -1.22% -0.35%
1948 0.002% -1.21%
1947 0.25% -1.09%
1946 -1.78% -2.24%
1945 -2.87% -4.56%
1944 -2.37% -5.44%
1943 -0.75% -7.73%
1942 -2.55% -2.48%
1941 -2.15% -4.34%
1940 -1.13% -3.54%
1939 -1.2% -
1938 -0.59% -
1937 -1.62% -
1936 -0.27% -
1935 -0.5% -0.49%
1934 -2.28% -1.17%
1933 -1.56% -0.72%
1932 -6.47% -0.3%
1931 -1.56% 0.1%
1930 -3.58% 0.3%
1929 -0.09% -0.07%
1928 0.57% -0.31%
1927 0.12% -0.54%
1926 -0.76% -0.65%
1925 -0.07% -1.19%
1924 -0.45% -1.76%
1923 -1.94% -1.89%
1922 -3.8% -2.26%
1921 -2.98% -3.33%
1920 -3.11% -2.4%
1919 -3.69% -1.82%
1918 -4.51% -1.8%
1917 -4.8% -1.49%
1916 -4.35% -1.15%
1915 -6.33% -2.97%
1914 -7.32% -1.04%
1913 -1.91% -0.09%
1912 -3.05% -0.33%
1911 -2.15% 0.19%
1910 -2.06% 0.09%
1909 -1.62% -0.29%
1908 -1.89% 0.59%
1907 0.38% 0.66%
1906 0.28% 0.91%
1905 0.96% 0.71%
1904 -0.62% 0.52%
1903 1.79% 0.28%
1902 1.59% 0.74%
1901 -2.46% 0.69%
1900 -5.57% 1.04%
1899 -2.13% 2.75%
1898 -14% 0.13%
1897 -2.38% -0.64%
1896 -0.79% 0.46%
1895 -1.33% 0.83%
1894 -4.11% -0.08%
1893 -1.77% 0.87%
1892 -2.6% -0.67%
1891 0.51% -0.41%
1890 -3.02% -0.4%
1889 -3.79% -0.38%
1888 0.63% -0.97%
1887 -0.76% -0.73%
1886 -3.8% -0.08%
1885 -5.71% -0.78%
1884 -3.89% -0.23%
1883 -3.33% -0.38%
1882 -1.58% 0.38%
1881 -1.9% 0.08%
1880 -4.84% -0.02%
1879 - -0.52%
1878 - -0.08%
1877 - 0.11%
1876 - 0.1%
1875 - -1.42%
1874 - -0.1%
1873 - 2.22%
1872 - -2.27%
1871 - -2.64%
1870 - -3.42%
1869 - -2.64%
1868 - -1.46%
1867 - -0.79%
1866 - -0.83%
1865 - -1.84%
1864 - -2.48%
1863 - -1.55%
1862 - -1.76%
1861 - -1.77%
1860 - -0.94%
1859 - 0.39%
1858 - -0.44%
1857 - -0.41%
1856 - -0.46%
1855 - -0.76%
1854 - -0.32%
1853 - -0.02%
1852 - -0.11%
1851 - -0.25%
1850 - 0.31%

Data sources: International Monetary Fund (IMF) | Public Finances in Modern History (1850–2000, retrieved 2026-07-08); International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08).

GeoRank.org/economy/brazil/spain | CC BY

In 2025, Brazil's government deficit, the difference between spending and revenue, was $184B, equivalent to 8.07% of GDP. This compares to Spain's deficit of $47.6B, or 2.5% of GDP.

Over the past 66 years, Brazil recorded a fiscal deficit in 47 of those years, while Spain ran a deficit in 52 years. On average, Brazil posted an annual deficit equal to 3.32% of GDP, compared to deficit of 2.94% of GDP for Spain.

Inflation comparison by year

Inflation
Brazil

Spain
1x
Year Consumer prices inflation
Brazil Spain
2025 5% 2.7%
2024 4.4% 2.75%
2023 4.6% 3.53%
2022 9.3% 8.39%
2021 8.3% 3.09%
2020 3.2% -0.32%
2019 3.7% 0.7%
2018 3.7% 1.67%
2017 3.4% 1.96%
2016 8.7% -0.2%
2015 9% -0.5%
2014 6.3% -0.15%
2013 6.2% 1.41%
2012 5.4% 2.45%
2011 6.6% 3.2%
2010 5% 1.8%
2009 4.9% -0.29%
2008 5.7% 4.08%
2007 3.6% 2.79%
2006 4.2% 3.52%
2005 6.9% 3.37%
2004 6.6% 3.04%
2003 14.7% 3.04%
2002 8.4% 3.07%
2001 6.8% 3.59%
2000 7% 3.43%
1999 4.9% 2.31%
1998 3.2% 1.83%
1997 6.9% 1.97%

Data sources: International Monetary Fund (IMF) | World Economic Outlook (1997–2025, retrieved 2026-07-08); World Bank | Economy & Growth (1997–2025, retrieved 2026-07-08).

GeoRank.org/economy/brazil/spain | CC BY

Over the past 29 years, Brazil has recorded an average annual inflation rate of 6.09%, compared with 2.35% in Spain. In 2025, inflation was 5% in Brazil and 2.7% in Spain.

Top exports between countries

Brazil
Export category Export value
Raw materials & minerals $4.11B
Raw agricultural goods $2.5B
Processed food, beverages & tobacco $939M
Machinery & equipment $354M
Wood & paper products $235M
Chemicals & pharma $218M
Animal & marine products $218M
Metals $157M
Textiles & consumer goods $47.2M
Precious metals & jewellery $7.29M
Spain
Export category Export value
Chemicals & pharma $1.14B
Machinery & equipment $951M
Raw materials & minerals $487M
Business & finance services $480M
IT & IP services $393M
Transport & tourism services $311M
Metals $214M
Processed food, beverages & tobacco $199M
Raw agricultural goods $123M
Miscellaneous $92.8M

Balance of trade

Brazil Spain
Current account balance
-$66.7B
2025
$56B
2025
Current account balance ranking
188/190
2025
12/190
2025
Current account balance, % of GDP
-2.93%
2025
+2.94%
2025
Goods imports
$291B
2025
$499B
2025
Goods exports
$351B
2025
$443B
2025
Service imports
$105B
2025
$127B
2025
Service exports
$54.4B
2025
$256B
2025
Imports of goods and services, % of GDP
17.5%
2025
32.8%
2025
Exports of goods and services, % of GDP
17.8%
2025
36.6%
2025

Economic freedom indices

The indices of economic freedom below are issued by the Heritage Foundation. Higher scores indicate stronger economic health.

Brazil Spain
Economic freedom 52.4 66.8
Economic freedom ranking 148/197 59/197
Property rights 49.2 88
Government integrity 37.2 64.2
Judicial effectiveness 55.6 74.3
Tax burden 70.6 58.2
Government spending 39.8 37.3
Fiscal health 28 57.3
Business freedom 65.7 82.6
Labor freedom 57 61.7
Monetary freedom 76 78.2
Trade freedom 69 79.4
Investment freedom 40 60
Financial freedom 40 60

Economic freedom comparison by year

Brazil
Spain
1x
Year Economic freedom index
Brazil Spain
2026 52.4 66.8
2025 55.1 66.3
2024 53.2 63.3
2023 53.5 65
2022 53.3 68.2
2021 53.4 69.9
2020 53.7 66.9
2019 51.9 65.7
2018 51.4 65.1
2017 52.9 63.6
2016 56.5 68.5
2015 56.6 67.6
2014 56.9 67.2
2013 57.7 68
2012 57.9 69.1
2011 56.3 70.2
2010 55.6 69.6
2009 56.7 70.1
2008 56.2 69.1
2007 56.2 69.2
2006 60.9 68.2
2005 61.7 67
2004 62 68.9
2003 63.4 68.8
2002 61.5 68.8
2001 61.9 68.1
2000 61.1 65.9
1999 61.3 65.1
1998 52.3 62.6
1997 52.6 59.6
1996 48.1 59.6
1995 51.4 62.8

Data sources: The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-07-08).

GeoRank.org/economy/brazil/spain | CC BY

The Economic Freedom Index for Brazil is 52.4, ranking 148/197, compared to 66.8 for Spain, ranking 59/197. The chart above displays a comparison of annual changes in economic freedom indexes.

Other economic metrics

Brazil Spain
Services, % of GDP
59.7%
2025
68.4%
2025
Industry, % of GDP
20.1%
2025
19.6%
2025
Agriculture, forestry, and fishing, % of GDP
6.09%
2025
2.68%
2025
GNI, Atlas method
$2.25T
2025
$1.83T
2025
GNI per capita, PPP
$22,670
2025
$59,830
2025
Total reserves including gold
$359B
2025
$129B
2025
Total reserves ranking
13/177
2025
23/177
2025
Net foreign direct investment
-$47.5B
2025
$18.3B
2025
Net inflows of foreign direct investment
$74.1B
2024
$42.8B
2024
Net outflows of foreign direct investment
$26.3B
2024
$71.5B
2024
Servicing debt to the IMF, % of GNI
5.4%
2024
n/a
Poverty at national poverty lines
4.2%
2020
20.2%
2022
Gross capital formation, % of GDP
17.1%
2025
21.4%
2025

GDP per capita map

1x

Data sources: World Bank | Economy & Growth (1985–2025, retrieved 2026-07-08); U.S. Census Bureau (1985–2025, retrieved 2026-07-08).

GeoRank.org/economy/brazil/spain | CC BY

Compare countries by 7 more topics

Help us show the world through your eyes

Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.

Data sources:

  1. World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08)
  2. International Monetary Fund (IMF) | Public Finances in Modern History (1850–2000, retrieved 2026-07-08)
  3. International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08)
  4. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-07-08)
  5. U.S. Census Bureau (1985–2025, retrieved 2026-07-08)
  6. TradeMap (2023–2025, retrieved 2026-07-08)
  7. United Nations | World Population Prospects (2026, retrieved 2026-07-08)
  8. LivingCost (2026, retrieved 2026-07-08)
  9. Central Intelligence Agency (CIA) (2020, retrieved 2026-07-08)

Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.

The current account balance is the sum of net trade in goods and services, net earnings from cross-border investments, and net transfer payments. It reflects a country's economic transactions with the rest of the world and is a fundamental component of the balance of payments. A surplus indicates that a country exports more than it imports, while a deficit shows the opposite.

Gross National Income (GNI) measures a country's total income. It encompasses income earned by residents, businesses, and foreign sources, defined as employee compensation and investment profits. GNI adds product taxes not included elsewhere and subtracts subsidies. It accounts for income from residents working abroad but excludes earnings from foreigners within the country.

A negative value for Net Foreign Direct Investment indicates a country is a net receiver of investments, as foreign inflows exceed outflows after Balance of Payments adjustments. A positive value indicates a net provider, with outflows exceeding inflows. Inflows are credits (increasing foreign claims on domestic assets), while outflows are debits (increasing domestic assets abroad).

Foreign direct investment (FDI, net inflows) shows how much capital foreign investors bring into a country after accounting for any funds that flow back in the opposite direction. It represents the net value of overseas companies establishing, expanding, or financing businesses in the reporting country. A positive number means more capital entered the country than was withdrawn, while a negative number means foreign investors pulled out more than they invested.

Foreign direct investment (FDI, net outflows) shows how much capital residents of a country invest abroad after accounting for any funds that flow back in the opposite direction. It represents the net value of domestic companies establishing, expanding, or financing businesses in other countries. A positive number means more capital was invested abroad than withdrawn, while a negative number means residents pulled back more than they invested.

Principal and interest payments to the IMF in currency, goods, or services on long-term debt expressed as a share of GNI.

Formerly gross domestic investment, gross capital formation measures the share of a country’s economic output invested in fixed assets, including buildings, machinery, and infrastructure. It indicates how much of the economy is devoted to building productive capacity.