Geographically, California's diversity is breathtaking, and the state's coastline from north to south is no exception. Measuring 840 miles in length, the coast consists of the rugged cliffs of the Coast Ranges in the north and wide sandy beaches in the south. Along the coastline there are two major harbors, one in the north at San Francisco, the other in the south at San Diego. Near Humboldt and Monterey are smaller natural harbors.