Campinas is a city and county located in the interior of the state of São Paulo, Brazil. The county area is 797,6 km². Population is approximately 1,064,669 , with over 98% in the urban region. Its metropolitan area, defined in 2000, has some 19 cities and a population of 3,2 million people. Campinas is also the administrative center of the meso-region of the same name, with 3,641,766 inhabitants and 49 cities. It is the third largest city in the state, after São Paulo and Guarulhos.