With an area of 238,400 square kilometers, Romania is the twelfth largest country in Europe. Situated in the northeastern portion of the Balkan Peninsula, the country is halfway between the equator and the North Pole and equidistant from the westernmost part of Europe the Atlantic Coast and the most easterly the Ural Mountains. Romania has 3,195 kilometers of border. Republic of Moldova lies to the east, Bulgaria lies to the south, Serbia to the southwest, and Hungary to the west. In the southeast, 245 kilometers of Black Sea coastline provide an important outlet to the Mediterranean Sea and the Atlantic Ocean.