The calculated distance (air line) between Puerto San José and Petapa is approximately 44 miles respectively 70 kilometers.
By car or train, the actual journey to Petapa is certainly longer, as only the direct route (as the crow flies) between Puerto San José and Petapa has been calculated here.
Air line (approximately)
70 kilometers
38 nautical miles