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