Germany is located in western Europe, bordering the North Sea between France and Poland. Germany is slightly smaller than the state of Montana, with a total area of 357,021 km sq (137,847 mi sq). Germany shares boundaries with Denmark and the Baltic Sea (north), Poland and the Czech Republic (east), Austria (southeast), Switzerland (south), France (southwest), Luxembourg, Belgium, and the Netherlands (west), and the North Sea (northwest). Germany's boundary length totals 6,010 km (3,734 mi), of which 2,389 km (1,484 mi) is coastline. Germany's capital city, Berlin, is located in the northeastern part of the country.