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