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 97,814 square miles (253,340 km 2) and is made up of 23 counties.