Sedalia, Missouri is a city located about 30 miles (48 km) south of the Missouri River in Pettis County. As of the 2010 census, the city had a total population of 21,387. As the county seat of Pettis County, it is the principal city of the Sedalia Micropolitan Statistical Area, which consists of Pettis County. Sedalia is also the location of the Missouri State Fair and the Scott Joplin Ragtime Festival. U.S. Routes 50 and 65 intersect in the city.