The calculated distance (air line) between Frankfurt am Main and Rheinfelden is approximately 182 miles respectively 292 kilometers.
By car or train, the actual journey to Rheinfelden is certainly longer, as only the direct route (as the crow flies) between Frankfurt am Main and Rheinfelden has been calculated here.
Air line (approximately)
292 kilometers
158 nautical miles