As per International Monetary Fund (IMF) 2019 estimates, the GDP (nominal) of Spain is USD 1,397,870 million. This GDP (nominal) is around 1.60% of Entire World’s GDP. Currently (2019), the world rank of Spain is 13 in terms of GDP Nominal.
However, as per 2018 estimates by World Bank, the GDP (Nominal) of Spain is USD 1,426,189 million. As per World Bank Estimates, the global rank of Spain is 14.

Spain GDP [PPP]

On the other hand, as per 2019 estimates by International Monetary Fund, the GDP (PPP) of Spain is USD 1,940,539 Million. This is 1.37% of World. Spain on this basis has a global rank of 15.