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