Compton is located in Sacramento city, United States at the 33.8959, -118.2201 coordinates. Distance from Compton to other cities. are listed below, click on the city name to find distance between. Distance from Compton to Los Angeles 18 km, to San Diego 164 km, to San Jose 507 km. The green marker indicates the location of Compton.