Slovakia is a landlocked country located in Eastern Europe. Comparatively, it is about twice the size of the state of New Hampshire with a total area of 48,845 sq km (18,859 sq mi). Slovakia shares boundaries with Poland (on the N ), Ukraine (on the E ), Hungary (on the S ), and Austria and the Czech Republic (on the W ), and has a total boundary length of 1,355 km (842 mi). Slovakia's capital city, Bratislava, is located on the southwestern border of the country.