Stanford University is located in Stanford, California, in the heart of Northern California's Silicon Valley. It lies about 35 miles south of San Francisco and 20 miles north of San Jose. The university's 8,180-acre campus is situated on the San Francisco Peninsula, adjacent to the city of Palo Alto, which it considers its home. The campus is near the Santa Cruz Mountains and the Pacific Ocean to the west, and San Francisco Bay to the east