 It borders Hungary to the northeast, Serbia to the east, Bosnia and Herzegovina and Montenegro to the southeast, and Slovenia to the northwest.It lies mostly between latitudes 42° and 47° N and longitudes 13° and 20° E. Part of the territory in the extreme south surrounding Dubrovnik is a practical exclave connected to the rest of the mainland by territorial waters, but separated on land by a short coastline strip belonging to Bosnia and Herzegovina around Neum.The territory covers , consisting of of land and of water.