 Classes are offered for students from the 1st grade to adulthood in various subjects ranging from math, keyboarding, and reading to language courses.According to the United States Census Bureau, the city has a total area of , all of it land.At the 2010 census Shafter had a population of 16,988.