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