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