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