The Upper Peninsula contains , about 29 percent of the land area of the state (exclusive of territorial waters, which constitute about 40% of Michigan's total jurisdictional area). The maximum east–west distance in the Upper Peninsula is about , and the maximum north–south distance is about . It is bounded on the north by Lake Superior, on the east by St. Marys River, on the south by Lake Michigan and Lake Huron, and on the west by Wisconsin and (counting the water border on Lake Superior) by Minnesota. It has about of continuous shoreline with the Great Lakes. There are about 4,300 inland lakes, the largest of which is Lake Gogebic, and of streams.