How far am I from the Slovak border?

Slovakia shares land borders with Ukraine, Hungary, Poland, Austria and the Czech Republic. Use your location to measure the straight-line distance from where you are to the nearest point of Slovakia, or see below how far major cities on both sides of the border are.

How far are you from Slovakia?

On a phone this uses GPS. The calculator opens with Slovakia already selected and measures from your exact spot.

Slovakia's neighbours

Slovakia is shown in green, and the 5 countries it shares a land border with in blue.

  • Slovakia
  • Land neighbours

Which countries border Slovakia? See every neighbour and the countries two borders away

How far major cities are from Slovakia

CityCountryTo Slovakia
BudapestHungary38 km (24 miles)
ViennaAustria38 km (24 miles)
BrnoCzech Republic55 km (34 miles)
KrakówPoland60 km (37 miles)
DebrecenHungary90 km (56 miles)
GrazAustria163 km (101 miles)
PragueCzech Republic240 km (149 miles)
WarsawPoland309 km (192 miles)
KyivUkraine593 km (368 miles)
KharkivUkraine994 km (618 miles)

How far Slovakia's cities are from its borders

CityNearest neighbourTo that border
BratislavaAustria3.6 km (2.2 miles)
PetržalkaAustria3.8 km (2.3 miles)
KošiceHungary18 km (11 miles)

Straight-line distance from each city centre to the nearest point of the other country, measured October 8, 2026.

Questions

How far am I from the Slovak border?

Tap "Use my location" on this page. On a phone it uses GPS, and the calculator measures the straight-line distance from where you are to the nearest point of Slovakia, in miles and kilometers.

Which countries border Slovakia?

Slovakia shares land borders with Ukraine, Hungary, Poland, Austria and the Czech Republic.

Is this the distance to a border crossing?

No. It is the straight-line distance to the nearest point on the border line itself. The nearest official crossing can be much farther away by road.

Does it measure across water?

Yes. It measures to the nearest point of Slovakia's territory. From most places that is the land border, but from somewhere across a sea or a lake it can be Slovakia's coast.

Which big city is closest to Slovakia?

Of the cities measured here, Budapest in Hungary is the closest: 38 km (24 miles) from Slovakia in a straight line.

Other borders