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