Barcelona has a GDP of 1.6 million.
Barcelona ( [ bɑrsəˈloʊnə ] , [ bəɾsəˈlonə ] , [ barθeˈlona ] ) is the capital city of the autonomous community of Catalonia in the Kingdom of Spain , as well as the country 's second most populous municipality , with a population of 1.6 million within city limits . In 2008 it was the fourth most economically powerful city by GDP in the European Union and 35th in the world with GDP amounting to $ 177 billion . In 2012 Barcelona had a GDP of $ 170 billion ; it is leading Spain in both employment rate and GDP per capita change .