It has 2,106 km of boundaries, shared with Austria to the west, Serbia, Croatia and Slovenia to the south and southwest, Romania to the southeast, Ukraine to the northeast, and Slovakia to the north.
Ima 2,106 km granica, dijeli ih s Austrijom na zapadu, Srbijom, Hrvatskom i Slovenijom na jugu i jugozapadu, Rumunjskom na jugoistoku, Ukrajinom na sjeveroistoku i Slovačkom na sjeveru.