Iran's economy is a mixture of central planning, state ownership of oil and other large enterprises, village agriculture, and small-scale private trading and service ventures. In 2017, GDP was $427.7 billion ($1.631 trillion at PPP), or $20,000 at PPP per capita. Iran is ranked as an upper-middle income economy by the World Bank. In the early 21st century, the service sector contributed the largest percentage of the GDP, followed by industry (mining and manufacturing) and agriculture.