The calculated distance (air line) between Portoviejo and Machala is approximately 156 miles respectively 251 kilometers.
By car or train, the actual journey to Machala is certainly longer, as only the direct route (as the crow flies) between Portoviejo and Machala has been calculated here.
Air line (approximately)
251 kilometers
136 nautical miles