In 1986, China set the long-term goal of providing compulsory nine-year basic education to every child. As of 2007, there were 396,567 primary schools, 94,116 secondary schools, and 2,236 higher education institutions in China. In February 2006, the government advanced its basic education goal by pledging to provide completely free nine-year education, including textbooks and fees. Free compulsory education in China consists of elementary school and middle school, which lasts for 9 years (ages 6–15); almost all children in urban areas continue with three years of high school.
As of 2007, 93.3% of the population over age 15 are literate, compared to only 20% in 1950. In 2000, China's literacy rate among 15-to-24-year-olds was 98.9% (99.2% for males and 98.5% for females). In March 2007, the Chinese government declared education a national "strategic priority"; the central budget for national scholarships was tripled between 2007 and 2009, and 223.5 billion yuan (US$28.65 billion) of extra state funding was allocated between 2007 and 2012 to improve compulsory education in rural areas.
In 2009, Chinese students from Shanghai achieved the world's best results in mathematics, science and literacy, as tested by the Programme for International Student Assessment (PISA), a worldwide evaluation of 15-year-old school pupils' scholastic performance