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