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