The calculated distance (air line) between Moutier and Schaffhausen is approximately 66 miles respectively 106 kilometers.
By car or train, the actual journey to Schaffhausen is certainly longer, as only the direct route (as the crow flies) between Moutier and Schaffhausen has been calculated here.
Air line (approximately)
106 kilometers
57 nautical miles