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