The calculated distance (air line) between Kežmarok and Zakopane is approximately 25 miles respectively 40 kilometers.
By car or train, the actual journey to Zakopane is certainly longer, as only the direct route (as the crow flies) between Kežmarok and Zakopane has been calculated here.