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