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