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