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