Spain is the 15th largest export economy in the world and the 28th most complex economy according to the Economic Complexity Index (ECI). In 2016, Spain exported $270B and imported $300B, resulting in a negative trade balance of $30.6B. In 2016 the GDP of Spain was $1.24T and its GDP per capita was $36.3k.
The top exports of Spain are Cars ($35.2B), Vehicle Parts ($9.1B), Packaged Medicaments ($8.39B), Refined Petroleum ($7.55B) and Delivery Trucks ($5.9B), using the 1992 revision of the HS (Harmonized System) classification. Its top imports are Cars ($18.1B), Crude Petroleum ($17B), Vehicle Parts ($15.7B), Packaged Medicaments ($9.8B) and Petroleum Gas ($6.4B).
The top export destinations of Spain are France ($37.1B), Germany ($29.1B), Portugal ($22.1B), the United Kingdom ($20.8B) and Italy ($20.7B). The top import origins are Germany ($41.9B), France ($34.6B), China ($26B), Italy ($20.5B) and the United States ($13.8B).