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