Sorocaba (Portuguese pronunciation: [so̞ɾo̞ˈkabɐ]) is a municipality in the state of São Paulo, Brazil. Sorocaba is the eighth-largest city in the state of São Paulo. Outside the Greater São Paulo region, it ranks behind only Campinas, São José dos Campos and Ribeirão Preto. It is part of the Metropolitan Region of Sorocaba. The population is 687,357 (2020 est.) in an area of 450.38 km2.Over the past twelve years the city has been undergoing extensive urbanization projects, improving streets and avenues, as well as infrastructure for the traffic which the city receives every day.
It is the eighth and fourth municipality in the consumer market in the state outside the Greater São Paulo metropolitan area, with a potential annual per capita consumption estimated at $2,400 for the urban population and $917 for rural areas (7200 people) and twenty-ninth-largest city in Brazil with potential for consumption.