As specified in the designating legislation for the Territory of Wyoming, Wyoming's borders are lines of latitude 41°N and 45°N, and longitude 104°3'W and 111°3'W (27 and 34 west of the Washington Meridian)—a geodesic quadrangle. Wyoming is one of only three states (the others being Colorado and Utah) to have borders defined by only "straight" lines. Due to surveying inaccuracies during the 19th century, Wyoming's legal border deviates from the true latitude and longitude lines by up to half of a mile (0.8 km) in some spots, especially in the mountainous region along the 45th parallel. Wyoming is bordered on the north by Montana, on the east by South Dakota and Nebraska, on the south by Colorado, on the southwest by Utah, and on the west by Idaho. It is the tenth largest state in the United States in total area, containing and is made up of 23 counties. From the north border to the south border it is ; and from the east to the west border is at its south end and at the north end.
