The calculated distance (air line) between Shefar‘am and Hadera is approximately 30 miles respectively 47 kilometers.
By car or train, the actual journey to Hadera is certainly longer, as only the direct route (as the crow flies) between Shefar‘am and Hadera has been calculated here.