The calculated distance (air line) between Banatski Karlovac and Pirot is approximately 152 miles respectively 245 kilometers.
By car or train, the actual journey to Pirot is certainly longer, as only the direct route (as the crow flies) between Banatski Karlovac and Pirot has been calculated here.
Air line (approximately)
245 kilometers
132 nautical miles