The calculated distance (air line) between Masaya and Bacoor is approximately 31 miles respectively 50 kilometers.
By car or train, the actual journey to Bacoor is certainly longer, as only the direct route (as the crow flies) between Masaya and Bacoor has been calculated here.