The calculated distance (air line) between Majdanpek and Niš is approximately 76 miles respectively 123 kilometers.
By car or train, the actual journey to Niš is certainly longer, as only the direct route (as the crow flies) between Majdanpek and Niš has been calculated here.