The calculated distance (air line) between Newmarket and Northampton is approximately 54 miles respectively 88 kilometers.
By car or train, the actual journey to Northampton is certainly longer, as only the direct route (as the crow flies) between Newmarket and Northampton has been calculated here.
Air line (approximately)
88 kilometers
47 nautical miles