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