Carlsbad is centered at the intersection of U.S. Routes 62/180 and 285, and is the principal city of the Carlsbad-Artesia Micropolitan Statistical Area, which has a total population of 55,435. Located in the southeastern part of New Mexico, Carlsbad straddles the Pecos River and sits at the eastern edge of the Guadalupe Mountains. Carlsbad is a hub for potash mining, petroleum production, and tourism. Carlsbad Caverns National Park is located 20 miles (32 km) southwest of the city, and Guadalupe Mountains National Park lies 54 miles (87 km) southwest across the Texas border. The Lincoln National Forest is to the northwest of town.