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