Spain is the 17th largest export economy in the world and the 26th most complex economy according to the Economic Complexity Index (ECI). In 2016, Spain exported $275B and imported $299B, resulting in a negative trade balance of $23.5B. In 2016 the GDP of Spain was $1.23T and its GDP per capita was $36.3k.
The top exports of Spain are Cars ($35.5B), Vehicle Parts ($10B), Refined Petroleum ($7.89B), Packaged Medicaments ($7.45B) and Delivery Trucks ($5.82B), using the 1992 revision of the HS (Harmonized System) classification. Its top imports are Crude Petroleum ($18.7B), Cars ($18.3B), Vehicle Parts ($16.6B), Packaged Medicaments ($9.9B) and Petroleum Gas ($6.7B).
The top export destinations of Spain are France ($42.6B), Germany ($31.8B), Italy ($22.5B), the United Kingdom ($21.2B) and Portugal ($20.1B). The top import origins are Germany ($44.5B), France ($36.6B), Italy ($23.2B), China ($21.3B) and Portugal ($14.6B).