Carlsbad is an affluent seaside resort city occupying a 7-mile stretch of Pacific coastline in northern San Diego County, California. The city is 87 miles south of Los Angeles and 35 miles north of downtown San Diego and is part of the San Diego-Carlsbad, CA Metropolitan Statistical Area. It is bordered by Oceanside to the north, Vista and San Marcos to the east and Encinitas to the south. Referred to as "The Village by the Sea" by locals, Carlsbad is a tourist destination. The city's estimated 2014 population was 112,299.