The calculated distance (air line) between La Libertad and Petapa is approximately 161 miles respectively 259 kilometers.
By car or train, the actual journey to Petapa is certainly longer, as only the direct route (as the crow flies) between La Libertad and Petapa has been calculated here.
Air line (approximately)
259 kilometers
140 nautical miles