Since 1986, compulsory education in China comprises primary and junior secondary school, which together last for nine years.In 2010, about 82.5 percent of students continued their education at a three-year senior secondary school. The Gaokao, China's national university entrance exam, is a prerequisite for entrance into most higher education institutions. In 2010, 27 percent of secondary school graduates are enrolled in higher education. Vocational education is available to students at the secondary and tertiary level.
In February 2006, the government pledged to provide completely free nine-year education, including textbooks and fees. Annual education investment went from less than US$50 billion in 2003 to more than US$250 billion in 2011. However, there remains an inequality in education spending. In 2010, the annual education expenditure per secondary school student in Beijing totaled ¥20,023, while in Guizhou, one of the poorest provinces in China, only totaled ¥3,204. Free compulsory education in China consists of primary school and junior secondary school between the ages of 6 and 15. In 2011, around 81.4% of Chinese have received secondary education. By 2007, there were 396,567 primary schools, 94,116 secondary schools, and 2,236 higher education institutions in China.
As of 2010, 94% of the population over age 15 are literate, compared to only 20% in 1950. 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