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 644,919 (2015 est.) in an area of 450.38 km2.