At 550 m (1,800 ft) above sea level, Sofia is the third highest capital in Europe (after the Andorran capital Andorra la Vella and the Spanish capital Madrid). It has a humid continental climate ("Dfb" in the Köppen climate classification).