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
| City | Country | To Slovakia |
|---|---|---|
| Budapest | Hungary | 38 km (24 miles) |
| Vienna | Austria | 38 km (24 miles) |
| Brno | Czech Republic | 55 km (34 miles) |
| Kraków | Poland | 60 km (37 miles) |
| Debrecen | Hungary | 90 km (56 miles) |
| Graz | Austria | 163 km (101 miles) |
| Prague | Czech Republic | 240 km (149 miles) |
| Warsaw | Poland | 309 km (192 miles) |
| Kyiv | Ukraine | 593 km (368 miles) |
| Kharkiv | Ukraine | 994 km (618 miles) |
How far Slovakia's cities are from its borders
| City | Nearest neighbour | To that border |
|---|---|---|
| Bratislava | Austria | 3.6 km (2.2 miles) |
| Petržalka | Austria | 3.8 km (2.3 miles) |
| Košice | Hungary | 18 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.