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