Skip to content

Economy of Brazil vs San Marino compared: GDP & Debt

Updated on by Georank

Brazil has a GDP of $2.28T compared to $2.03B for San Marino, ranking 11/197 and 180/197 by economy size, respectively.

Brazil has $2.13T in government debt (93.3% of GDP), compared to $1.39B (60.6% of GDP) in San Marino.

Brazil vs San Marino GDP by year

Brazil
San Marino
1x
Year GDP, current $
Brazil San Marino
2025 $2,279,920,092,492 -
2024 $2,185,821,610,689 -
2023 $2,191,131,765,685 $2,027,243,194
2022 $1,951,923,942,083 $1,831,701,023
2021 $1,670,647,398,905 $1,855,395,712
2020 $1,476,107,231,310 $1,544,713,785
2019 $1,873,288,205,060 $1,616,231,696
2018 $1,916,933,898,011 $1,655,354,329
2017 $2,063,514,977,366 $1,528,621,193
2016 $1,795,693,482,853 $1,468,342,400
2015 $1,802,212,206,815 $1,419,400,396
2014 $2,456,043,727,199 $1,673,910,988
2013 $2,472,819,535,557 $1,678,741,202
2012 $2,465,227,802,807 $1,604,701,051
2011 $2,616,156,223,918 $1,813,717,695
2010 $2,208,837,745,101 $1,881,191,950
2009 $1,666,996,438,581 $2,064,277,984
2008 $1,695,855,083,498 $2,403,214,436
2007 $1,397,114,486,369 $2,188,653,429
2006 $1,107,626,541,435 $1,909,765,811
2005 $891,633,839,894 $1,786,513,631
2004 $669,289,424,806 $1,715,341,295
2003 $558,233,745,652 $1,462,590,387
2002 $509,795,273,807 $1,148,872,076
2001 $559,983,634,799 $1,059,529,731
2000 $655,448,231,984 $1,007,661,291
1999 $599,642,024,320 $1,109,473,282
1998 $863,710,759,256 $1,048,316,226
1997 $883,206,179,730 $976,606,911
1996 $850,426,432,992 -
1995 $769,333,050,987 -
1994 $525,369,467,296 -
1993 $368,292,034,381 -
1992 $328,191,909,882 -
1991 $342,534,090,909 -
1990 $384,959,818,182 -
1989 $412,990,820,287 -
1988 $307,881,930,752 -
1987 $283,056,836,894 -
1986 $256,480,852,471 -
1985 $210,879,844,639 -
1984 $188,339,974,087 -
1983 $189,656,506,321 -
1982 $271,314,113,768 -
1981 $258,015,174,749 -
1980 $237,393,489,893 -
1979 $221,338,204,480 -
1978 $200,278,646,124 -
1977 $176,344,101,402 -
1976 $153,168,949,208 -
1975 $129,203,555,239 -
1974 $109,794,519,728 -
1973 $83,592,275,863 -
1972 $58,434,858,375 -
1971 $48,869,830,902 -
1970 $42,327,664,794 -
1969 $37,171,640,819 -
1968 $33,930,457,425 -
1967 $31,086,389,195 -
1966 $28,283,323,733 -
1965 $22,465,522,884 -
1964 $20,963,733,695 -
1963 $23,287,712,878 -
1962 $19,231,747,852 -
1961 $17,275,940,449 -
1960 $17,030,465,539 -

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

GeoRank.org/economy/brazil/san-marino | CC BY

GDP per capita in Brazil vs San Marino by year

Brazil
GDP per capita

GDP per capita, PPP
San Marino
GDP per capita

GDP per capita, PPP
1x
Year Current $
Brazil San Marino
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2025 $10,713 - - -
2024 $10,311 $22,338 - -
2023 $10,378 $21,176 $59,871 $78,745
2022 $9,281 $19,877 $54,265 $75,941
2021 $7,973 $18,076 $54,169 $64,745
2020 $7,074 $16,102 $44,427 $55,207
2019 $9,030 $16,070 $46,627 $57,444
2018 $9,301 $15,464 $47,951 $54,461
2017 $10,081 $14,559 $45,192 $52,463
2016 $8,836 $14,309 $44,359 $53,033
2015 $8,936 $14,821 $43,147 $52,247
2014 $12,275 $15,827 $51,260 $52,909
2013 $12,459 $15,722 $50,808 $50,770
2012 $12,522 $15,198 $47,946 $51,274
2011 $13,397 $15,212 $55,601 $56,240
2010 $11,403 $14,452 $56,543 $58,926
2009 $8,679 $13,391 $62,429 $61,970
2008 $8,908 $13,445 $75,902 $71,724
2007 $7,410 $12,673 $70,124 $71,744
2006 $5,934 $11,751 $63,271 $67,434
2005 $4,828 $11,081 $59,878 $63,739
2004 $3,664 $10,526 $58,232 $61,114
2003 $3,091 $9,802 $52,530 $60,224
2002 $2,856 $9,617 $41,791 $57,584
2001 $3,176 $9,304 $39,035 $57,252
2000 $3,767 $9,092 $37,601 $53,713
1999 $3,494 $8,635 $41,932 $52,064
1998 $5,106 $8,599 $40,127 $47,679
1997 $5,299 $8,602 $37,853 $44,426
1996 $5,179 $8,301 - -
1995 $4,757 $8,097 - -
1994 $3,299 $7,727 - -
1993 $2,349 $7,260 - -
1992 $2,127 $6,869 - -
1991 $2,258 $6,867 - -
1990 $2,581 $6,688 - -
1989 $2,819 - - -
1988 $2,141 - - -
1987 $2,006 - - -
1986 $1,854 - - -
1985 $1,556 - - -
1984 $1,420 - - -
1983 $1,461 - - -
1982 $2,138 - - -
1981 $2,080 - - -
1980 $1,959 - - -
1979 $1,870 - - -
1978 $1,733 - - -
1977 $1,562 - - -
1976 $1,390 - - -
1975 $1,201 - - -
1974 $1,045 - - -
1973 $815 - - -
1972 $583 - - -
1971 $500 - - -
1970 $444 - - -
1969 $399 - - -
1968 $374 - - -
1967 $351 - - -
1966 $328 - - -
1965 $268 - - -
1964 $257.3 - - -
1963 $294.2 - - -
1962 $250.2 - - -
1961 $231.6 - - -
1960 $235.3 - - -

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

GeoRank.org/economy/brazil/san-marino | CC BY

Brazil's GDP per capita is $10,713, ranking 85/197, compared to $59,871 in San Marino, ranking 20/197. Adjusted for purchasing power (GDP per capita PPP), Brazil ranks 88th at $22,338, while San Marino ranks 17th at $78,745.

Economic indicators

Brazil San Marino
Gross domestic product
$2.28T
2025
$2.03B
2023
GDP rank
11/197
2025
180/197
2023
GDP growth
2.29%
2024-2025
0.4%
2022-2023
GDP per capita
$10,713
2025
$59,871
2023
GDP per capita rank
85/197
2025
20/197
2023
GDP per capita, PPP
$22,338
2024
$78,745
2023
GDP per capita PPP rank
88/197
2024
17/197
2023
Government debt
$2.13T
2025
$1.39B
2023
Debt-to-GDP ratio
93.3%
2025
60.6%
2025
Government debt per person
$9,999
2025
$40,914
2023
Government debt per person rank
60/185
2025
17/185
2023
Average annual personal income after taxes
$6,555
2026
$46,440
2026
Market capitalization of domestic companies
$871B
2025
n/a
Number of millionaires
386,000
2026
n/a
Number of billionaires
70
2026
n/a
Income share by richest 10%
39.3%
2024
n/a
Income share by poorest 10%
1.3%
2024
n/a
Government expenditure, % of GDP
47.4%
2025
22%
2025
Consumer prices inflation
5%
2024-2025
2.3%
2024-2025
Central bank interest rate
14.5%
2026
n/a
Unemployment rate
5.83%
2025
4.92%
2022
Population
213964342
34159

Spending and national debt comparison by year

Brazil
Spending

Debt
San Marino
Spending

Debt
1x
Year % of GDP
Brazil San Marino
Government spending Government debt Government spending Government debt
2025 47.4% 93.3% 22% 60.6%
2024 45.5% 87% 20.9% 62.9%
2023 45.3% 84% 21.7% 68.3%
2022 43.4% 83.9% 21.7% 70.6%
2021 40.4% 88.9% 37.1% 77.2%
2020 46.2% 96% 59.2% 69.8%
2019 43% 87.1% 22.4% 56.2%
2018 44.2% 84.8% 24.5% 56.7%
2017 44.3% 82.7% 25.6% 56.6%
2016 45.5% 77.4% 23.4% 21.4%
2015 46.2% 71.7% 26.3% 19.3%
2014 41.4% 61.6% 23.7% 21%
2013 39.8% 59.6% 30.2% 23.2%
2012 39.3% 61.6% 30.6% 17.2%
2011 39.4% 60.6% 25.4% 16.6%
2010 39.5% 62.4% 24.4% 20%
2009 40.5% 64.7% 24.8% 20.1%
2008 39.9% 61.4% 22% 15.5%
2007 40.4% 63% 20.7% 12.6%
2006 42.6% 64.6% 19.7% 14.2%
2005 41.9% 67% 19.3% 14.5%
2004 39.7% 68% 19% 16.9%
2003 41.3% 71.5% - 16.1%
2002 44.5% 76.1% - 17.2%
2001 39.8% 67.3% - 11.6%
2000 34.5% 62.2% - -
1999 39.6% 44.5% - -
1998 40.9% 38.9% - -
1997 38.6% 31.8% - -
1996 38.2% 30.7% - -
1995 - 28% - -
1994 - 30% - -
1993 - 32.6% - -
1992 - 37.1% - -
1991 - 38.1% - -
1990 - 40.6% - -
1989 - 40.2% - -
1988 - 46.9% - -
1987 - 50.3% - -
1986 11.7% 49.4% - -
1985 11.1% 52.6% - -
1984 10% 55.8% - -
1983 9.7% 51.5% - -
1982 8.1% 32.8% - -
1981 7.8% 34.6% - -
1980 6.8% 39.7% - -
1979 9% 36.6% - -
1978 10.2% 37% - -
1977 10.4% 31% - -
1976 10.6% 31.8% - -
1975 10.7% 27.7% - -
1974 10.5% 25.7% - -
1973 11% 22.4% - -
1972 12.6% 22.5% - -
1971 11.7% 17.9% - -
1970 11.4% 17% - -
1969 11.2% 16.5% - -
1968 14.4% 15.8% - -
1967 13.5% 13.8% - -
1966 14.6% 19.6% - -
1965 14% 17.6% - -
1964 25.4% 22.2% - -
1963 22.8% 20.4% - -
1962 23.1% 23.7% - -
1961 12% 25.7% - -
1960 13.7% 22.3% - -

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

GeoRank.org/economy/brazil/san-marino | CC BY

In 2025, Brazil's government spending was $1.08T, accounting for 47.4% of its GDP, while San Marino spent $439M, or 22% of GDP.

Debt-to-GDP ratio is 93.3% in Brazil and 60.6% in San Marino, ranking 29/185 and 75/185, respectively.

Government deficit by year

Deficit/surplus
Brazil

San Marino
1x
Year Deficit/surplus, % of GDP
Brazil San Marino
2025 -8.07% -1%
2024 -6.17% 0.39%
2023 -7.71% -0.72%
2022 -3.96% 0.42%
2021 -2.63% -16.4%
2020 -11.6% -37.6%
2019 -4.86% -0.11%
2018 -6.99% -1.56%
2017 -7.97% -3.49%
2016 -7.99% -0.19%
2015 -9.28% -3.32%
2014 -6.27% 1.06%
2013 -3.42% -7.74%
2012 -2.35% -7.08%
2011 -2.74% -4.05%
2010 -3.55% -2.24%
2009 -4.23% -2.46%
2008 -2.39% 0.18%
2007 -2.66% 1.83%
2006 -4.87% 1.51%
2005 -3.36% 3.58%
2004 -2.95% 2.44%
2003 -5.4% -
2002 -4.15% -
2001 -3.47% -
2000 -3.32% -
1999 -5.17% -
1998 -7.22% -
1997 -5.6% -
1996 -5.35% -
1995 - -
1994 - -
1993 - -
1992 - -
1991 - -
1990 - -
1989 - -
1988 - -
1987 - -
1986 -1.6% -
1985 -1.3% -
1984 -0.4% -
1983 0.1% -
1982 1.4% -
1981 1% -
1980 2.5% -
1979 0.4% -
1978 -0.1% -
1977 0.1% -
1976 0.1% -
1975 0% -
1974 0.6% -
1973 0.1% -
1972 -0.1% -
1971 -0.3% -
1970 -0.4% -
1969 -0.6% -
1968 -1.6% -
1967 -2.1% -
1966 -1.3% -
1965 -2% -
1964 -8.79% -
1963 -5.78% -
1962 -6.82% -
1961 -2.93% -
1960 -3.85% -
1959 -0.18% -
1958 -0.76% -
1957 -0.29% -
1956 -0.14% -
1955 -0.62% -
1954 -0.49% -
1953 -1.26% -
1952 0.64% -
1951 0.87% -
1950 -1.58% -
1949 -1.22% -
1948 0.002% -
1947 0.25% -
1946 -1.78% -
1945 -2.87% -
1944 -2.37% -
1943 -0.75% -
1942 -2.55% -
1941 -2.15% -
1940 -1.13% -
1939 -1.2% -
1938 -0.59% -
1937 -1.62% -
1936 -0.27% -
1935 -0.5% -
1934 -2.28% -
1933 -1.56% -
1932 -6.47% -
1931 -1.56% -
1930 -3.58% -
1929 -0.09% -
1928 0.57% -
1927 0.12% -
1926 -0.76% -
1925 -0.07% -
1924 -0.45% -
1923 -1.94% -
1922 -3.8% -
1921 -2.98% -
1920 -3.11% -
1919 -3.69% -
1918 -4.51% -
1917 -4.8% -
1916 -4.35% -
1915 -6.33% -
1914 -7.32% -
1913 -1.91% -
1912 -3.05% -
1911 -2.15% -
1910 -2.06% -
1909 -1.62% -
1908 -1.89% -
1907 0.38% -
1906 0.28% -
1905 0.96% -
1904 -0.62% -
1903 1.79% -
1902 1.59% -
1901 -2.46% -
1900 -5.57% -
1899 -2.13% -
1898 -14% -
1897 -2.38% -
1896 -0.79% -
1895 -1.33% -
1894 -4.11% -
1893 -1.77% -
1892 -2.6% -
1891 0.51% -
1890 -3.02% -
1889 -3.79% -
1888 0.63% -
1887 -0.76% -
1886 -3.8% -
1885 -5.71% -
1884 -3.89% -
1883 -3.33% -
1882 -1.58% -
1881 -1.9% -
1880 -4.84% -

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

GeoRank.org/economy/brazil/san-marino | CC BY

In 2023, Brazil's government deficit, the difference between spending and revenue, was $169B, equivalent to 7.71% of GDP. This compares to San Marino's deficit of $14.7M, or 0.72% of GDP.

Over the past 20 years, Brazil recorded a fiscal deficit in 20 of those years, while San Marino ran a deficit in 13 years. On average, Brazil posted an annual deficit equal to 5.09% of GDP, compared to deficit of 3.8% of GDP for San Marino.

Inflation comparison by year

Inflation
Brazil

San Marino
1x
Year Consumer prices inflation
Brazil San Marino
2025 5% 2.3%
2024 4.4% 1.2%
2023 4.6% 5.9%
2022 9.3% 5.3%
2021 8.3% 1.6%
2020 3.2% -0.1%
2019 3.7% 0.5%
2018 3.7% 1.2%
2017 3.4% 1%
2016 8.7% 0.6%
2015 9% 0.1%
2014 6.3% 1.1%
2013 6.2% 1.6%
2012 5.4% 2.8%
2011 6.6% 2.2%
2010 5% 2.4%
2009 4.9% 2.4%
2008 5.7% 4.1%
2007 3.6% 2.5%
2006 4.2% 2.1%
2005 6.9% 1.7%
2004 6.6% 1.4%
2003 14.7% 1.3%
2002 8.4% -
2001 6.8% -
2000 7% -
1999 4.9% -
1998 3.2% -
1997 6.9% -

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

GeoRank.org/economy/brazil/san-marino | CC BY

Over the past 23 years, Brazil has recorded an average annual inflation rate of 6.06%, compared with 1.97% in San Marino. In 2025, inflation was 5% in Brazil and 2.3% in San Marino.

Balance of trade

Brazil San Marino
Current account balance
-$66.7B
2025
$446M
2023
Current account balance ranking
188/190
2025
60/190
2023
Current account balance, % of GDP
-2.93%
2025
+22%
2023
Goods imports
$291B
2025
$2.25B
2023
Goods exports
$351B
2025
$2.53B
2023
Service imports
$105B
2025
$894M
2023
Service exports
$54.4B
2025
$1.25B
2023
Imports of goods and services, % of GDP
17.5%
2025
155%
2023
Exports of goods and services, % of GDP
17.8%
2025
186%
2023

Economic freedom indices

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

Brazil San Marino
Economic freedom 52.4 76
Economic freedom ranking 148/197 16/197
Property rights 49.2 n/a
Government integrity 37.2 n/a
Judicial effectiveness 55.6 n/a
Tax burden 70.6 n/a
Government spending 39.8 n/a
Fiscal health 28 n/a
Business freedom 65.7 n/a
Labor freedom 57 n/a
Monetary freedom 76 n/a
Trade freedom 69 n/a
Investment freedom 40 n/a
Financial freedom 40 n/a

Other economic metrics

Brazil San Marino
Services, % of GDP
59.7%
2025
56.9%
2023
Industry, % of GDP
20.1%
2025
35.8%
2023
Agriculture, forestry, and fishing, % of GDP
6.09%
2025
0.02%
2023
GNI, Atlas method
$2.25T
2025
$1.83B
2023
GNI per capita, PPP
$22,670
2025
$71,920
2023
Total reserves including gold
$359B
2025
$861M
2025
Total reserves ranking
13/177
2025
144/177
2025
Net foreign direct investment
-$47.5B
2025
$52.7M
2023
Net inflows of foreign direct investment
$74.1B
2024
-$18.1M
2023
Net outflows of foreign direct investment
$26.3B
2024
$0
2024
Servicing debt to the IMF, % of GNI
5.4%
2024
n/a
Poverty at national poverty lines
4.2%
2020
n/a
Gross capital formation, % of GDP
17.1%
2025
16.6%
2023

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/san-marino | 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 (1880–2000, retrieved 2026-07-08)
  3. International Monetary Fund (IMF) | Fiscal Monitor (2000–2025, retrieved 2026-07-08)
  4. U.S. Census Bureau (1985–2025, retrieved 2026-07-08)
  5. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-07-08)
  6. United Nations | World Population Prospects (2026, retrieved 2026-07-08)
  7. LivingCost (2026, retrieved 2026-07-08)
  8. 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.