The calculated distance (air line) between San Luis Potosí and Cortazar is approximately 115 miles respectively 185 kilometers.
By car or train, the actual journey to Cortazar is certainly longer, as only the direct route (as the crow flies) between San Luis Potosí and Cortazar has been calculated here.
Air line (approximately)
185 kilometers
100 nautical miles