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