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