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