The calculated distance (air line) between Córdoba and Leganés is approximately 177 miles respectively 284 kilometers.
By car or train, the actual journey to Leganés is certainly longer, as only the direct route (as the crow flies) between Córdoba and Leganés has been calculated here.