| Attribute |
 Brazil × |  Costa Rica × |
| Geography | | |
| Area (km²) | 8,515,770 | 51,100 |
| Continent | South America | North America |
| Land area (km²) | 8,358,140 | 51,060 |
| Water area (km²) | 157,630 | 40 |
| Land boundaries (km) | 16,145 | 661 |
| Border countries | - Argentina
- Bolivia
- Colombia
- French Guiana
- Guyana
- Paraguay
- Peru
- Suriname
- Uruguay
- Venezuela
| |
| Coastline (km) | 7,491 | 1,290 |
| Mean elevation (m) | 320 | 746 |
| Lowest point (m) | 0 | 0 |
| Highest point (m) | 2,994 | 3,819 |
| People | | |
| Population | 211,715,973 | 5,097,988 |
| Official languages | | |
| Religion | Roman Catholic | Roman Catholic |
| Government | | |
| Long country name | Federative Republic of Brazil | Republic of Costa Rica |
| Short country name | Brazil | Costa Rica |
| Long local name | Republica Federativa do Brasil | Republica de Costa Rica |
| Short local name | Brasil | Costa Rica |
| Government type | Federal presidential republic | Presidential republic |
| Capital | Brasilia | San Jose |
| Economy | | |
| GDP (PPP) (USD) | 3,248,000,000,000 | 83,940,000,000 |
| GDP (OER) (USD) | 2,055,000,000,000 | 58,270,000,000 |
| GDP (real growth rate) (%) | 1 | 3.3 |
| GDP - per capita (PPP) (USD) | 15,600 | 16,900 |
| Gross national saving (% of GDP) | 15 | 15.1 |
| Labor force | 104,200,000 | 2,229,000 |
| Unemployment rate (%) | 12.8 | 8.1 |
| Population below poverty line (%) | 4.2 | 21.7 |
| Budget revenues (USD) | 733,700,000,000 | 8,357,000,000 |
| Budget expenditures (USD) | 756,300,000,000 | 11,920,000,000 |
| Military expenditures (% of GDP) | 1.48 | - |
| Taxes and other revenues (% of GDP) | 35.7 | 14.3 |
| Budget surplus or deficit (% of GDP) | -1.1 | -6.1 |
| Public debt (% of GDP) | 84 | 48.9 |
| Inflation rate (%) | 3.4 | 1.6 |
| Central bank discount rate (%) | 7 | 3.5 |
| Commercial bank prime lending rate (%) | 46.92 | 11.37 |
| Stock of narrow money (USD) | 110,300,000,000 | 5,356,000,000 |
| Stock of broad money (USD) | 110,300,000,000 | 5,356,000,000 |
| Stock of domestic credit (USD) | 2,206,000,000,000 | 41,040,000,000 |
| Market value of publicly traded shares (USD) | 642,500,000,000 | 2,015,000,000 |
| Current account balance (USD) | -9,762,000,000 | -1,692,000,000 |
| Exports (USD) | 217,200,000,000 | 10,810,000,000 |
| Imports (USD) | 153,200,000,000 | 15,150,000,000 |
| Reserves of foreign exchange and gold (USD) | 374,000,000,000 | 7,150,000,000 |
| External debt (USD) | 547,400,000,000 | 26,830,000,000 |
| National currency | reals | Costa Rican colones |
| National currency (code) | BRL | CRC |
| National currency (symbol) | R$ | ₡ |
| National currency rate to USD | 3.19 | 573.5 |