| Attribute |
 Japan × |  San Marino × |
| Geography | | |
| Area (km²) | 377,915 | 61 |
| Continent | Asia | Europe |
| Land area (km²) | 364,485 | 61 |
| Water area (km²) | 13,430 | 0 |
| Land boundaries (km) | 0 | 37 |
| Border countries | - | |
| Coastline (km) | 29,751 | 0 |
| Mean elevation (m) | 438 | - |
| Lowest point (m) | -4 | 55 |
| Highest point (m) | 3,776 | 739 |
| People | | |
| Population | 125,507,472 | 34,232 |
| Official languages | Array of values | Array of values |
| Religion | Shintoism | Roman Catholic |
| Government | | |
| Long country name | - | Republic of San Marino |
| Short country name | Japan | San Marino |
| Long local name | Nihon-koku/Nippon-koku | Repubblica di San Marino |
| Short local name | Nihon/Nippon | San Marino |
| Government type | Parliamentary constitutional monarchy | Parliamentary republic |
| Capital | Tokyo | San Marino |
| Economy | | |
| GDP (PPP) (USD) | 5,443,000,000,000 | 2,064,000,000 |
| GDP (OER) (USD) | 4,873,000,000,000 | 1,643,000,000 |
| GDP (real growth rate) (%) | 1.7 | 1.9 |
| GDP - per capita (PPP) (USD) | 42,900 | 59,000 |
| Gross national saving (% of GDP) | 28 | - |
| Labor force | 65,010,000 | 21,960 |
| Unemployment rate (%) | 2.9 | 8.1 |
| Population below poverty line (%) | 16.1 | - |
| Budget revenues (USD) | 1,714,000,000,000 | 667,700,000 |
| Budget expenditures (USD) | 1,885,000,000,000 | 715,300,000 |
| Military expenditures (% of GDP) | 0.92 | - |
| Taxes and other revenues (% of GDP) | 35.2 | 40.6 |
| Budget surplus or deficit (% of GDP) | -3.5 | -2.9 |
| Public debt (% of GDP) | 237.6 | 24.1 |
| Inflation rate (%) | 0.5 | 1 |
| Central bank discount rate (%) | 0.3 | - |
| Commercial bank prime lending rate (%) | 1.48 | 5.92 |
| Stock of narrow money (USD) | 6,317,000,000,000 | 1,326,000,000 |
| Stock of broad money (USD) | 6,317,000,000,000 | 4,584,000,000 |
| Stock of domestic credit (USD) | 13,070,000,000,000 | 8,822,000,000 |
| Market value of publicly traded shares (USD) | 4,895,000,000,000 | - |
| Current account balance (USD) | 196,100,000,000 | 0 |
| Exports (USD) | 688,900,000,000 | 3,827,000,000 |
| Imports (USD) | 644,700,000,000 | 2,551,000,000 |
| Reserves of foreign exchange and gold (USD) | 1,264,000,000,000 | 392,000,000 |
| External debt (USD) | 3,240,000,000,000 | - |
| National currency | yen | euros |
| National currency (code) | JPY | EUR |
| National currency (symbol) | ¥ | € |
| National currency rate to USD | 111.1 | 0.885 |