The landlocked country shares national borders with Switzerland (a non-European Union member state, which it borders for 158 km, or 98 mi) and the principality of Liechtenstein (also a non-EU member state, of which it borders for 34 km or 21 mi) to the west, Germany (801 km or 497 mi) and the Czech Republic (402 km or 249 mi) and Slovakia (105 km or 65 mi) to the north, Hungary to the east (331 km or 205 mi), and Slovenia (299 km or 185 mi) and Italy (404 km or 251 mi) to the south (total: 2,534 km or 1,574 mi).