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