The calculated distance (air line) between Puntarenas and San Felipe is approximately 50 miles respectively 81 kilometers.
By car or train, the actual journey to San Felipe is certainly longer, as only the direct route (as the crow flies) between Puntarenas and San Felipe has been calculated here.
Air line (approximately)
81 kilometers
43 nautical miles