Canada consists of all of the North American continent north of the United States except Alaska and the small French islands of St. Pierre and Miquelon. Its total land area of 9,976,140 sq km (3,851,809 sq mi) makes it the second-largest country in the world (slightly larger than China and the United States), extending 5,187 km (3,223 mi) E – W from Cape Spear, Newfoundland, to Mt. St. Elias in the Yukon Territory and 4,627 km (2,875 mi) N – S from Cape Columbia on Ellesmere Island to Pelee Island in Lake Erie. Canada is bounded on the N by the Arctic Ocean, on the E by Kennedy Channel, Nares Strait, Baffin Bay, Davis Strait, and the Atlantic Ocean, on the S by the United States, and on the W by the Pacific Ocean and the US state of Alaska. The coastal waters of Canada also include the Hudson Strait and Hudson Bay. The country's total land boundary length is 8,893 km (5,526 mi). Its total coastline length is 243,791 km (151,485 mi). Canada's capital city, Ottawa, is located in the southeastern part of the country.