Overview In 2020, Spain was the number 14 economy in the world in terms of GDP (current US$), the number 17 in total exports, the number 15 in total imports, the number 42 economy in terms of GDP per capita (current US$) and the number 34 most complex economy according to the Economic Complexity Index (ECI).

Exports The top exports of Spain are Cars ($32B), Packaged Medicaments ($11.6B), Motor vehicles; parts and accessories (8701 to 8705) ($9.14B), Refined Petroleum ($7.77B), and Pig Meat ($6.46B), exporting mostly to France ($47.6B), Germany ($34B), Portugal ($23.8B), Italy ($22.8B), and United Kingdom ($18.9B).

In 2020, Spain was the world's biggest exporter of Pig Meat ($6.46B), Citrus ($4.16B), Pure Olive Oil ($3.26B), Prepared Pigments ($979M), and Melons ($889M)

Imports The top imports of Spain are Crude Petroleum ($15.8B), Cars ($13.9B), Motor vehicles; parts and accessories (8701 to 8705) ($11B), Packaged Medicaments ($10.7B), and Petroleum Gas ($5.5B), importing mostly from Germany ($41.2B), France ($33.9B), China ($30.3B), Italy ($22B), and Netherlands ($15.5B).

In 2020, Spain was the world's biggest importer of Molluscs ($1.31B), Tar ($57.1M), Olive Oil ($49.8M), and Hemp Fibers ($6.82M)

Location Spain borders Andorra, France, Morocco, Portugal, and Gibraltar by land and Algeria and Italy by sea.

December, 2022

Historical Data

#permalink to section

Top Export (2020): Cars, $32B

Top Destination (2020): France, $41.2B

In 2020, Spain exported a total of $298B, making it the number 17 exporter in the world. During the last five reported years the exports of Spain have changed by $22.6B from $276B in 2015 to $298B in 2020.

The most recent exports are led by Cars ($32B), Packaged Medicaments ($11.6B), Motor vehicles; parts and accessories (8701 to 8705) ($9.14B), Refined Petroleum ($7.77B), and Pig Meat ($6.46B). The most common destination for the exports of Spain are France ($47.6B), Germany ($34B), Portugal ($23.8B), Italy ($22.8B), and United Kingdom ($18.9B).

Explore Visualizations


Fastest Growing Export Markets (2019 - 2020)

Fastest Growing Import Markets (2019 - 2020)

Spain Exports Services (2020): $74.9B

Spain Imports Services (2020): $54.6B

In 2020, Spain exported $74.9B worth of services. The top services exported by Spain in 2020 were Miscellaneous business, professional, and technical services ($25.8B), Personal travel ($17.3B), Transportation ($16.2B), Financial services ($3.9B), and Royalties and license fees ($2.93B).

The top services imported by Spain in 2020 were Miscellaneous business, professional, and technical services ($19.1B), Transportation ($10.4B), Travel ($8.65B), Royalties and license fees ($5.11B), and Financial services ($3.33B).

Economic Complexity

#permalink to section

Comparison Map

#permalink to section

This section shows exports, imports and economic complexity data at the subnational level for Spain. Click any of the Provincie in the geomap to visit the specific subnational profile.

The top territories of Spain according to its Economic Complexity Index are Alava (0.39), Guipúzcoa (0.38), and Vizcaya (0.28).

In 2020, the principal exporters of Spain were Barcelona (€50.1B), Madrid (€28.4B), and Valencia (€16.1B).

The same year,  the principal importers  of Spain were Madrid (€62B), Barcelona (€61B), and Valencia (€16.7B).

Explore Subnational Data

Most Specialized Products by RCA Index

#permalink to section

Spain has a high level of specialization in Worked Slate (28.6), Pure Olive Oil (23.6), Lettuce (16.6), Cucumbers (15.2), and Citrus (14.4). Specialization is measured using RCA, an index that takes the ratio between Spain observed and expected exports in each product.

Most Complex Products by PCI

#permalink to section

The highest complexity exports of Spain according to the product complexity index (PCI) are Self-Propelled Rail Transport (1.78), Interchangeable Tool Parts (1.69), Metal Lathes (1.68), Hot-Rolled Stainless Steel Bars (1.68), and Lubricating Products (1.66). PCI measures the knowledge intensity of a product by considering the knowledge intensity of its exporters.

Export Opportunities by Relatedness

#permalink to section

The top export opportunities for Spain according to the relatedness index, are Knit Men's Shirts (0.52), Wheat Flours (0.52), Raw Tobacco (0.51), Non-Knit Women's Undergarments (0.51), and Equine and Bovine Hides (0.51). Relatedness measures the distance between a country's current exports and each product. The barchart show only products that Spain is not specialized in.

The product space is a network connecting products that are likely to be co-exported. The product space can be used to predict future exports, since countries are more likely to start exporting products that are related to current exports. Relatedness measures the distance between a product, and all of the products a country currently specializes in.

Relatedness Space

#permalink to section

This network shows the products most related to the production structure of Spain. These are products that tend to be co-exported with the products that Spain exports. Higher relatedness values ​​indicate greater knowledge, which predicts a greater probability of exporting that product in the future.

Diversification Frontier

#permalink to section

The Complexity-Relatedness diagram compares the risk vs strategic value of a country's potential export oppotunities. Relatedness is predictive of the probability that a country increases its exports in a product. Complexity, is associated with higher levels of income, economic growth, less income inequality, and lower greenhouse emissions.

Economic Complexity Ranking

#permalink to section

During the last 20 years Spain's⁩ ⁨economy has become relatively less complex, moving from the ⁩⁨19th to the 34th⁩ position in the ECI rank.

These economic complexity rankings use 6 digit exports classified according to the HS96 classification. We consider only countries with population of at least 1 million and exports of at least $1 billion, and products with world trade over $500 million. To explore different rankings and vary these parameters visit the custom rankings section.

Explore Rankings