World Flows

Trade between San Marino and Spain

In the 12 months to Jul 2026, $11.8 million of goods went from San Marino to Spain and $27.9 million from Spain to San Marino, by each exporter's figures to the IMF. That leaves Spain with a surplus of $16.1 million on goods traded between the two.

Both countries' figures, the 12 months to Jul 2026

Goods goingBy the exporterBy the importerDifferenceExporter's figure, year on year
From San Marino to Spain$11.8 million$12.5 million+6%+7%
From Spain to San Marino$27.9 million$29.6 million+6%−13%

The exporter values goods at its border; the importer adds freight and insurance, so its figure usually runs a few percent higher. Larger gaps come from goods routed through third countries and from timing and classification.

Month by month

San Marino to SpainSpain to San Marino

Goods exports each way as the exporting country reported them, billions of US dollars a month.

What goes each way, by product, 2024

From San Marino to Spain

Product2024ShareOn 2023
Machinery$8.3 million78%+4%
Miscellaneous edible preparations$641,0006%+24%
Chemical products$374,0004%+18%
Aluminium$349,0003%+86%
Copper$319,0003%+8%
Plastics$102,0001%−40%
Paper and paperboard$74,0001%−45%
Optical, medical and measuring instruments$68,0001%+123%
Toys, games and sports goods$47,000under 1%+30%
Pharmaceutical products$46,000under 1%−88%

From Spain to San Marino

Product2024ShareOn 2023
Animal feed$13.1 million43%−7%
Cocoa$2.1 million7%+102%
Organic chemicals$2.0 million7%+3%
Toys, games and sports goods$1.7 million5%−11%
Paper and paperboard$1.5 million5%0%
Iron and steel$1.2 million4%+27%
Machinery$1.2 million4%−43%
Glass and glassware$1.1 million4%−18%
Essential oils and resinoids$834,0003%−35%
Electrical equipment$659,0002%−63%

The ten largest HS chapters each way, from CEPII's BACI, which reconciles the two countries' declarations into one figure a flow. It is yearly, so its totals differ a little from the IMF's monthly figures above.

Questions

How much does San Marino export to Spain?
In the 12 months to Jul 2026, San Marino reported $11.8 million of goods exports to Spain, and Spain reported $12.5 million of imports from San Marino. By San Marino's figures that is +7% on the 12 months before.
How much does Spain export to San Marino?
In the 12 months to Jul 2026, Spain reported $27.9 million of goods exports to San Marino, and San Marino reported $29.6 million of imports from Spain. By Spain's figures that is −13% on the 12 months before.
What does San Marino export to Spain?
Mostly machinery ($8.3 million, 78%), miscellaneous edible preparations ($641,000, 6%), chemical products ($374,000, 4%) in 2024, by HS chapter, from CEPII's BACI.
What does Spain export to San Marino?
Mostly animal feed ($13.1 million, 43%), cocoa ($2.1 million, 7%), organic chemicals ($2.0 million, 7%) in 2024, by HS chapter, from CEPII's BACI.
Who has the trade surplus, San Marino or Spain?
Spain: $16.1 million in the 12 months to Jul 2026, by each exporter's figures.
Why do San Marino's and Spain's figures differ?
Every shipment is counted twice, once by each country. The exporter values it at its border, the importer adds freight and insurance; goods routed through a third country (a port or a trading hub) are often recorded against that country by one side; and the two count at different moments and classify some goods differently. Both figures are shown as reported.

Each country's trade with the world

Source: International Monetary Fund, International Trade in Goods (by partner country) (IMTS), Aug 2025 to Jul 2026. Figures in US dollars, as reported; the IMF estimates some from partners' figures. By product: CEPII, BACI (Gaulier and Zignago, 2010), version 202601.