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