Hanford is an important commercial and cultural center in the south central San Joaquin Valley and is the county seat of Kings County, California. It is the principal city of the Hanford-Corcoran, California Metropolitan Statistical Area (MSA Code 25260), which encompasses all of Kings County, including the cities of Hanford and Corcoran. The ZIP Code is 93230 (93232 for post office boxes). The city of Hanford is surrounded by communities that do not fall within the city limits but use the same zip code. These communities include Grangeville, Hardwick and Home Garden. Hanford is 28 miles (45 km) southeast of Fresno city and 18 miles (29 km) west of the city of Visalia.