Barcelona is situated the northeast coast, about five hundred kilometers east of the Spanish capital, Madrid.