About

Overview In 2022, Spain was the number 15 economy in the world in terms of GDP (current US$), the number 20 in total exports, the number 15 in total imports, the number 40 economy in terms of GDP per capita (current US$) and the number 33 most complex economy according to the Economic Complexity Index (ECI) .

Exports The top exports of Spain are Cars ($33.6B), Refined Petroleum ($17.2B), Packaged Medicaments ($12.7B), Motor vehicles; parts and accessories (8701 to 8705) ($10.6B), and Vaccines, blood, antisera, toxins and cultures ($7.57B), exporting mostly to France ($65.2B), Germany ($39.2B), Portugal ($34.9B), Italy ($32.1B), and United Kingdom ($22.6B).

In 2022, Spain was the world's biggest exporter of Pig Meat ($5.92B), Pure Olive Oil ($4.43B), Citrus ($3.65B), Prepared Pigments ($1.21B), and Cucumbers ($969M)

Imports The top imports of Spain are Crude Petroleum ($42.6B), Petroleum Gas ($24.6B), Cars ($18.2B), Packaged Medicaments ($13.2B), and Motor vehicles; parts and accessories (8701 to 8705) ($12.8B), importing mostly from Germany ($49.7B), China ($47B), France ($46.4B), Italy ($32.8B), and United States ($29.6B).

In 2022, Spain was the world's biggest importer of Tar ($201M), Electric Locomotives ($190M), Fat and Oil Residues ($180M), Other Locomotives ($152M), and Olive Oil ($114M)

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

Latest Trends

September, 2024

Historical Data

Yearly Trade

Flow
Color
Depth
Top Export (2022)Cars$33.6B
Top Destination (2022)France$65.2B

In 2022, Spain exported a total of $394B, making it the number 20 exporter in the world. During the last five reported years the exports of Spain have changed by $83.8B from $310B in 2017 to $394B in 2022.

The most recent exports are led by Cars ($33.6B), Refined Petroleum ($17.2B), Packaged Medicaments ($12.7B), Motor vehicles; parts and accessories (8701 to 8705) ($10.6B), and Vaccines, blood, antisera, toxins and cultures ($7.57B). The most common destination for the exports of Spain are France ($65.2B), Germany ($39.2B), Portugal ($34.9B), Italy ($32.1B), and United Kingdom ($22.6B).

Explore Visualizations

Exports (2022)
[Click to Select a Product]

Destinations (2022)
[Click to Select a Country]

Market Growth

Flow
View
Growth
Fastest Growing Export Markets (2021 - 2022)
France$6.17B (+ 10.5%)
Portugal$4.26B (+ 13.9%)
United States$2.96B (+ 16.5%)
Fastest Growing Import Markets (2021 - 2022)
United States$12.2B (+ 70.5%)
China$8.67B (+ 22.6%)
France$4.79B (+ 11.5%)

Total Export Growth by Market (2021 - 2022)

Potential Exports

Potential Exports

Type
Flow
Depth
View
Sort By

Subscribe today to OEC pro and access the latest data

Sign Up

Service Trade

Service Trade

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).

Service Exports (2020)

Service Imports (2020)

Economic Complexity

Overview

Economic Complexity (Trade)0.81Rank 33 of 133
Economic Complexity (Technology)1.23Rank 9 of 96
Economic Complexity (Research)1.73Rank 14 of 135

Comparison Map

Color

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 Guipúzcoa (0.33), Álava (0.33), and Vizcaya (0.23).

The principal exporters of Spain were Barcelona (€78.6B), Madrid (€51.6B), and Valencia (€21.9B).

The same year,  the principal importers of Spain were Madrid (€98.5B), Barcelona (€86.2B), and Valencia (€23.5B).

Explore Subnational Data

Subscribe today to OEC pro and access the latest data

Sign Up

Most Specialized Products by RCA Index

Spain has a high level of specialization in N/A. 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

The highest complexity exports of Spain according to the product complexity index (PCI) are N/A. PCI measures the knowledge intensity of a product by considering the knowledge intensity of its exporters.

Export Opportunities by Relatedness

The top export opportunities for Spain according to the relatedness index, were Water (0.55), Yeast (0.55), Wheat Flours (0.54), Frozen Fruits and Nuts (0.54), and Raw Sugar (0.54). Relatedness measures the distance between a country's current exports and each product. The barchart show only products that Spain is not specialized in.

Product Space

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

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.

Relatedness Space (2022)

Diversification Frontier

Filter
Depth

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.

Diversification Frontier

Economic Complexity Ranking

Methodology
Scale

During the last 20 years Spain's⁩ ⁨economy has become relatively less complex, moving from the ⁩⁨21st to the 33rd⁩ 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

ECI (Trade) Ranking by Country

Have questions, comments, or concerns?
Send us an e-mail: support@oec.world
Follow @OECtoday on
Created, Designed, and Developed by:
In collaboration with