0
Comparison · latest available · data as of 26 October 2026 · printed 27 Oct 2026
NationsTree / Compare / Andorra vs San Marino

Andorra vs San Marino

Side-by-side comparison of Andorra and San Marino from official statistics: size, economy, people, trade, natural resources, health, infrastructure and military, with world ranks, years and sources.

Andorra

Europe & Central Asia · nation age 748 years

NationsTree Index69.039th of 196
Tree height1.7 m 
vs
15:9
indicators where each ranks higher

San Marino

Europe & Central Asia · nation age 783 years

NationsTree Index69.737th of 196
Tree height1.1 m 
Open in the comparison tool Data as of 26 October 2026

In short

San Marino scores 69.7 in the NationsTree Index (37th in the world) and Andorra scores 69.0 (39th), a gap of 0.7 points. Their trees are 1.7 m and 1.1 m tall; tree height grows with real GDP and is adjusted by the index.

Andorra has 2.4 times the population of San Marino. Andorra is 7.6 times larger than San Marino by land area. Andorra has an economy 2.5 times the size of San Marino (GDP at purchasing power parity). Population: Andorra 82,904 and San Marino 34,109 (2025).

GDP per person at purchasing power parity is $79,567 in Andorra and $78,810 in San Marino (2025, international dollars). People in San Marino live on average 1.6 years longer (85.8 vs 84.2 years).

Of 24 indicators reported by both countries, Andorra ranks higher in the world on 15 and San Marino on 9. Andorra is clearly stronger in tourism, economy and environment & energy. San Marino is clearly stronger in main industries, natural resources and science & innovation.

As a nation, San Marino is the older of the two (statehood since 1243, 783 years), compared with Andorra (since 1278). Over the last five years San Marino improved faster (direction score 94 vs 81 out of 100).

Where they differ most

The indicators with the biggest gap in world position between Andorra and San Marino.

Over time

How the two countries moved against each other, from the yearly data.

NationsTree IndexAndorraSan Marino
4050607080 2002 2006 2010 2014 2018 2022 2025

San Marino overtook Andorra in the NationsTree Index in 2025, the latest year with data.

San Marino overtook Andorra in GDP per person (PPP) in 2020 and has stayed ahead since.

San Marino overtook Andorra in life expectancy in 2015 and has stayed ahead since.

Andorra has been ahead of San Marino in GDP (PPP) in every year since 1997.

Andorra has been ahead of San Marino in population in every year since 1990.

Strength by category

Average world percentile of the indicators in each category (0–100, direction taken into account). i

All indicators

Latest available value for each country with its year and world rank. Green: the better world position of the two, red: the weaker one.

Indicator Andorra San Marino
Land & people
Surface area i km² 468189th/216 · 2024 61210th/216 · 2024
Land area i km² 468188th/216 · 2024 61208th/216 · 2024
Population i people 82,904197th/217 · 2025 34,109213th/217 · 2025
Population growth i % 1.17%92nd/217 · 2025 0.39%149th/217 · 2025
Population density i people/km² 175.169th/216 · 2024 555.220th/216 · 2024
Urban population i % 88.9%36th/217 · 2025 97.2%14th/217 · 2025
Population aged 0–14 i % 11.6%213th/217 · 2025 11.9%210th/217 · 2025
Population aged 65+ i % 16.6%59th/217 · 2025 23.1%12th/217 · 2025
Economy
GDP i USD $4.50 bn172nd/210 · 2025 $2.03 bn188th/210 · 2023
GDP (PPP) i intl. USD $6.60 bn170th/199 · 2025 $2.67 bn182nd/199 · 2023
Real GDP (PPP, constant 2021 prices) i intl. USD 2021 $5.64 bn170th/199 · 2025 $2.40 bn182nd/199 · 2023
GDP per person i USD $54,29231st/210 · 2025 $59,87125th/210 · 2023
GDP per person (PPP) i intl. USD $79,56718th/199 · 2025 $78,81021st/199 · 2023
GNI per person (Atlas) i USD $53,23027th/201 · 2025 $53,91026th/201 · 2023
GDP growth i % 3.9%82nd/210 · 2025 0.4%190th/210 · 2023
Inflation i % — 2.3%68th/180 · 2025
Central government debt i % of GDP 40.0%17th/55 · 2024 99.9%48th/55 · 2023
General government gross debt i % of GDP 30.3%35th/189 · 2025 59.8%114th/189 · 2025
Government budget balance i % of GDP 3.6%12th/192 · 2025 0.6%31st/192 · 2025
Main industries
Agriculture, forestry, fishing i % of GDP 0.5%183rd/197 · 2025 0.0%197th/197 · 2023
Industry incl. construction i % of GDP 12.8%171st/200 · 2025 35.8%27th/200 · 2023
Manufacturing i % of GDP 3.1%170th/192 · 2024 31.8%4th/192 · 2023
Services i % of GDP 77.8%12th/200 · 2025 56.9%110th/200 · 2023
Trade
Exports of goods & services i USD — $3.77 bn139th/182 · 2023
Imports of goods & services i USD — $3.14 bn151st/182 · 2023
Exports i % of GDP — 186.0%3rd/183 · 2023
Imports i % of GDP — 155.0%3rd/183 · 2023
Trade openness i % of GDP — 341.0%3rd/183 · 2023
Fuel exports i % of merchandise exports 0.0%144th/170 · 2025 —
Manufactures exports i % of merchandise exports 91.5%2nd/171 · 2025 —
Food exports i % of merchandise exports 1.3%160th/171 · 2025 —
Ores & metals exports i % of merchandise exports 2.6%95th/171 · 2025 —
High-tech exports i % of manufactured exports 21.4%31st/168 · 2023 —
Current account balance i % of GDP 20.0%6th/191 · 2025 17.1%9th/191 · 2025
Foreign direct investment, inflows i % of GDP 6.0%35th/196 · 2025 -0.9%185th/196 · 2023
Natural resources
Natural resource rents i % of GDP 0.0%187th/209 · 2021 0.0%187th/209 · 2020
Mineral rents i % of GDP 0.00%91st/209 · 2021 0.00%91st/209 · 2020
Forest rents i % of GDP 0.00%183rd/209 · 2021 0.00%183rd/209 · 2020
Arable land i % of land area 0.3%203rd/206 · 2024 20.5%54th/206 · 2024
Renewable freshwater per person i m³ 3,96071st/183 · 2022 —
Tourism
International tourist arrivals i arrivals 5.2 m36th/194 · 2020 1.9 m72nd/194 · 2019
Tourism receipts i USD $1.91 bn51st/175 · 2019 —
Tourism receipts i % of exports 81.8%4th/168 · 2019 —
Society & health
Life expectancy i years 84.28th/217 · 2024 85.82nd/217 · 2024
Under-5 mortality i per 1,000 births 2.510th/196 · 2024 1.31st/196 · 2024
Physicians i per 1,000 people 5.0710th/174 · 2023 4.6314th/174 · 2023
Hospital beds i per 1,000 people 2.62008 3.42014
DPT immunization i % of children 12–23 months 98%20th/193 · 2024 88%117th/193 · 2024
Completed lower secondary, 25+ i % of adults 83.2%66th/153 · 2022 87.7%57th/153 · 2022
Secondary enrolment i % gross 101.9%53rd/173 · 2024 60.4%146th/173 · 2024
Old-age dependency ratio i % of working-age population 23.1%64th/217 · 2025 35.6%15th/217 · 2025
Health spending i % of GDP 7.7%69th/193 · 2023 6.6%94th/193 · 2023
Adult literacy i % — 99.9%4th/98 · 2022
Tertiary enrolment i % gross 67.7%53rd/150 · 2024 57.5%65th/150 · 2024
Human Development Index i index 0–1 0.91332nd/193 · 2023 0.91529th/193 · 2023
Infrastructure & digital
Access to electricity i % of population 100.0%1st/215 · 2024 100.0%1st/215 · 2024
Safely managed drinking water i % of population 90.6%60th/150 · 2024 100.0%11th/150 · 2024
Safely managed sanitation i % of population 100.0%1st/144 · 2024 90.2%36th/144 · 2024
Internet users i % of population 94.4%29th/186 · 2024 97.4%14th/186 · 2024
Mobile subscriptions i per 100 people 15628th/210 · 2024 12089th/210 · 2022
Fixed broadband i per 100 people 52.44th/208 · 2024 35.841st/208 · 2022
Environment & energy
Renewable energy i % of final energy use 18.7%113th/212 · 2022 —
Air pollution (PM2.5) i µg/m³ 8.940th/200 · 2023 12.764th/200 · 2023
Forest area i % of land area 38.9%82nd/214 · 2024 16.3%142nd/214 · 2024
Institutions & safety
Government effectiveness i score 0–100 80.623rd/205 · 2025 70.146th/205 · 2025
Control of corruption i score 0–100 71.828th/207 · 2025 71.828th/207 · 2025
Rule of law i score 0–100 84.615th/207 · 2025 82.421st/207 · 2025
Political stability i score 0–100 93.01st/207 · 2025 90.67th/207 · 2025
Regulatory quality i score 0–100 70.140th/205 · 2025 70.140th/205 · 2025
Voice & accountability i score 0–100 72.354th/205 · 2025 80.522nd/205 · 2025
Homicide rate i per 100,000 2.681st/145 · 2020 3.62002
Science & innovation
R&D spending i % of GDP 0.16%91st/110 · 2022 —
Patent applications by residents i applications 1126th/137 · 2024 1299th/137 · 2024
Scientific articles i articles 11184th/197 · 2023 20173rd/197 · 2023

Questions and answers

Which has more people, Andorra or San Marino?

Andorra has the larger population: 82,904 (2025) compared with 34,109 for San Marino (2025). Source: World Bank, SP.POP.TOTL.

Which is bigger by area, Andorra or San Marino?

Andorra is larger: 468 km² (2024) compared with 61 km² for San Marino (2024). Source: World Bank, AG.SRF.TOTL.K2.

Which economy is larger, Andorra or San Marino?

Andorra has the larger economy at purchasing power parity: $6.60 bn intl. (2025) compared with $2.67 bn intl. for San Marino (2023). Source: World Bank, NY.GDP.MKTP.PP.CD.

Which is richer per person, Andorra or San Marino?

Andorra has the higher GDP per person (PPP): $79,567 intl. (2025) compared with $78,810 intl. for San Marino (2023). Source: World Bank, NY.GDP.PCAP.PP.CD.

Where do people live longer, in Andorra or San Marino?

San Marino has the higher life expectancy at birth: 85.8 years (2024) compared with 84.2 years for Andorra (2024). Source: World Bank, SP.DYN.LE00.IN.

Which ranks higher in the NationsTree Index, Andorra or San Marino?

San Marino: 69.7 points (37th in the world); Andorra: 69.0 points (39th). The index combines foundations, economic strength, quality of life, problems and 5-year direction from public statistics.

More comparisons

Andorra compared with

San Marino compared with

Sources

World Bank World Development Indicators and Worldwide Governance Indicators, compiling UN agencies, the IMF, WHO, SIPRI and national statistical offices; every row links to its world ranking with the source series. See Sources & licences and Methodology.

Cite as: NationsTree (2026). Andorra vs San Marino — country comparison. https://nationstree.org/compare/andorra-vs-san-marino. Data as of 26 October 2026.

Cite as: NationsTree (2026). Andorra vs San Marino — country comparison. https://nationstree.org/compare/andorra-vs-san-marino. Data as of 26 October 2026.
Comparison0 / 5
Compare