The calculated distance (air line) between Vista Alegre and Chepo is approximately 44 miles respectively 71 kilometers.
By car or train, the actual journey to Chepo is certainly longer, as only the direct route (as the crow flies) between Vista Alegre and Chepo has been calculated here.
Air line (approximately)
71 kilometers
38 nautical miles